[patch] consolidate libbb's pwd helpers [was: Re: warnings in libbb.h]

Tito farmatito at tiscali.it
Sun Sep 18 08:32:44 UTC 2005


On Saturday 17 September 2005 23:54, Bernhard Fischer wrote:

> Oh, and applets/applets.c::parse_config_file() says:
> /* We can't use get_ug_id here since it would exit()
>  * if a uid or gid was not found.  Oh well... */
> { /* hand-crafted bb_xgetpwnam(name,0) */
> 
> Do you think that providing a second arg to the x functions would be
> worthwhile which indicate if exiting is desired or not?
Hi,
If i remeber correctly this point was discussed on the list
some time ago for other xfuncs.
I proposed something similar to make them more flexible,
but the proposal was rejected with the argument that adding
one more arg to all of them would rather increase
overall code size.

Ciao,
Tito
> 
> Tested. Please apply,
> Bernhard
> 



More information about the busybox mailing list