
15 Nov
2013
15 Nov
'13
8:09 a.m.
Dear Wolfgang Denk,
Le 14/11/2013 18:25, Wolfgang Denk a écrit :
Dear Pierre Aubert,
In message 1384434720-11214-2-git-send-email-p.aubert@staubli.com you wrote:
The room for the '=' and the sep char was reserved twice.
Are you sure? Keep in mind that the termination of the list is a _double_ NUL byte. IIRC this is what we do here.
Yes, I'm sure. The termination of the list (last NULL after the last separator) is added at line 666
666 size = totlen + 1;
In the actual code, the lenght is two large of 2 char for each exported variable.
Best regards
Best regards,
Wolfgang Denk