[GRASS-dev] Maximum safe map name size?
Glynn Clements
glynn at gclements.plus.com
Fri Jul 2 12:00:43 EDT 2010
Hamish wrote:
> as you found, on top of that, grass 6 titles (cats+hist) are
> going to be limited to RECORD_LEN chars. an update of the meta-
> data backend remains a major TODO for grass 7.
FWIW, I've re-written this in r42695.
The fields of "struct History" are now dynamically allocated, rather
than fixed-size arrays, so RECORD_LEN and MAXEDLINES no longer exist.
Also, set/get functions are provided, eliminating the need to access
the structure fields directly.
Code which simply truncated strings to RECORD_LEN now stores the
complete string. Code which breaks long strings into multiple lines
has been preserved.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list