Reini Urban wrote:
Log:
Remove uuid_length from public Packfile attributes.
"But anyone who cares about the length of the UUID can just go grab the
string and then get it's length." (c) jonathan
Veto:
That would disallow 0 as uuid_data. Using it as NULL-terminated is
just optional.
header->uuid_size is an important atribute for uuid_type = 1, in the
reader and in the writer.
For the record - uuid is STRING, not cstring. So, if you'll create it as
'\0' it will have length 1 and will be stored and fetched properly.
Test for this behaviour added in r38079.
--
Bacek
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev