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

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Thu Sep 18 12:11:39 UTC 2008


On Thu, Sep 18, 2008 at 12:05:55AM +0200, Tito wrote:

>> > 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.

uClibc is about to add a possibility not to provide non-reentrant
variants if a reentrant exists, so i suggest you use the _r



More information about the busybox mailing list