> > > 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
I like my version better :) but either way will do. Jocke _______________________________________________ uClibc mailing list [email protected] http://lists.busybox.net/mailman/listinfo/uclibc
