On Monday 15 September 2008 07:42, Vladimir Dronnikov wrote:
> >
> > Looks like a bug:
> >
> > +                       char *s = ptr + strlen(ptr) + 1;
> > +                       s = ptr + strlen(ptr) + 1;
> 
> 
> Nope. The intention is to skip two strings: module name itself and the path
> to the module, as they definitely do not match the alias.

but first expression result is stored into s, and then...
...destroyed by another (same) expression evaluated
and stored into s again! Look carefully again.

--
vda
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to