?????: [RFC] bb_getgrouplist implementation V2

Tito farmatito at tiscali.it
Wed Sep 17 22:05:55 UTC 2008


On Wednesday 17 September 2008 21:54:27 walter harms wrote:
> 
> Tito schrieb:
> > On Wednesday 17 September 2008 18:03:43 Vladimir Dronnikov wrote:
> >> Even better! Just like we've finally drifted to getmntent() in fsck.
> >>
> >> --
> >> Vladimir
> > 
> > I fear there is no getgrent in libpwdgrp.
> > That's why I avoided using it.
> > Vladimir can you add an example on how
> > to use parse_config in this case?
> > I would like also to know which of the two 
> > implementations gid_t* or llist_t* is
> > better in your opinion.
> > 
> 
> 
> It is in libpwdgrp but with "#if 0".
> getgrent() is posix, so no reason to avoid it.
> 
> Tito, do you have a system that does not support getgrent ?

No, but i set the config to use bb's internal libgrppwd, to make sure
my changes will compile when it is used.

Ciao,
Tito
 
> re,
>  wh
> 





More information about the busybox mailing list