[Toybox] add groups implementation to id.c

Rob Landley rob at landley.net
Sat May 18 20:34:11 PDT 2013


On 05/17/2013 08:13:12 AM, Ivo van Poorten wrote:
> > It's reasonably straightforward to add via loopfiles(). See
> > toys/posix/wc.c for example.
> 
> I did it slightly different because the arguments are not files (see
> attached patch). Perhaps this could move to lib.c as loopstrings() or
> something in the future, although I'm not sure if it's worth it.

Looks good to me. (And you're right, loopfiles() is wrong.)

Applied, with minor fixup for a whitespace conflict (I wordwrapped a  
line),

Thanks,

Rob


More information about the Toybox mailing list