Adding shared memory implementation
Mikael Lund Jepsen, ICCC
mlj at iccc.dk
Fri Jan 16 12:22:28 UTC 2009
Joakim Tjernlund wrote:
>> + /* skip opening slash */
>> + if (*name == '/')
>> + ++name;
>>
>
> I think skipping all leading '/' is better:
> for (; *name == '/'; ++name);
>
I took the newlib code verbatim to keep the number of different
implementations down,
but if we are making changes I think we should adopt the glibc code in
this case:
/* Construct the filename. */
while (name[0] == '/')
++name;
Thanks,
Mikael
> Jocke
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/uclibc/attachments/20090116/62df9e00/attachment.htm
More information about the uClibc
mailing list