[BusyBox] Small path init and chX

Vladimir N. Oleynik dzo at simtreas.ru
Thu Feb 1 13:50:48 UTC 2001


Erik Andersen wrote:
 
> On Sun Jan 28, 2001 at 06:33:08PM +0300, Vladimir N. Oleynik wrote:
> > Path in attach remove fflush(stderr) and update
> > algorithm in chown_chmod_chgrp to new my_getpw*()
> > (my==Eric) :)
> 
> Thanks!
> 
> I have applied all your fixes to init.  I also like the fix to to
> remove all the chown_chmod_chgrp strcmp calls -- very nice.  I left
> the 'if (gid == -1)' tests in chown_chmod_chgrp, since they were
> correct.  The problem was that my_*() functions were not supposed to
> exit when an error happens (you also saw this problem where ls exited
> instead of printing uid and gid numbers).

Muddle away :))

See patch in attach.


--w
vodz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: to_Eric_patch.gz
Type: application/x-gzip
Size: 1418 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20010201/668d9ab0/attachment.bin 


More information about the busybox mailing list