[BusyBox] bug#1118: Not put system includes in USE_SYSTEM_PWD_GRP mode

Erik Andersen andersen at lineo.com
Mon Mar 5 17:59:44 UTC 2001


On Fri Mar 02, 2001 at 05:13:41PM +0300, Vladimir N. Oleynik wrote:
> Package: busybox
> Version: 0.50pre
> Severity: normal
> 
> Always usage  #include "pwd_grp/pwd.h" in all mode.
> Patch to correct in attach.

Hi vodz,

Inside pwd_grp/pwd.h and pwd_grp/grp.h it already checks USE_SYSTEM_PWD_GRP and
does the right thing.  However, your bug report did make me look and it turned
out that it was _always_ using the system pwd and grp functions due to the fact
that libpwd.a was being linked first.  

I have now fixed the Makefile so that USE_SYSTEM_PWD_GRP works properly and I
have used strace to verify that it is working as expected both when
USE_SYSTEM_PWD_GRP is set to true and to false.

So with that done, I am closing this bug,

 -Erik

--
Erik B. Andersen   email:  andersen at lineo.com
--This message was written using 73% post-consumer electrons--





More information about the busybox mailing list