On 11/25/2013 06:35:17 AM, Ashwini Sharma wrote:
Hi Rob, list,
Attached is an implementation for groupdel.
This is aliased to delgroup, for a requirement at my end.
Also lib/password.c is modified to along with.
Applied, but let me just say:
} else if (!strcmp(toys.which->name, "groupadd") ||
- !strcmp(toys.which->name, "addgroup")){
+ !strcmp(toys.which->name, "addgroup") ||
+ !strcmp(toys.which->name, "delgroup") ||
+ !strcmp(toys.which->name, "groupdel")){
Ick. (Not a _new_ ick, but still.)
Someday, I need to do a proper cleanup of the passwd infrastructure.
Until then, lib/password.c is basically an extension of lib/pending.c...
Thanks,
Rob
_______________________________________________
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net