summaryrefslogtreecommitdiff
path: root/loginutils/addgroup.c
AgeCommit message (Collapse)Author
2006-01-25just whitespaceTim Riker
2004-09-14Patch from tito to add argument checking.Glenn L McGrath
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2003-06-20last_patch89 from vodz:Eric Andersen
Manuel, I rewrite bb_getopt_ulflags() function for more universal usage. My version support now: - options with arguments (optional arg as GNU extension also) - complementaly and/or incomplementaly and/or incongruously and/or list options - long_opt (all applets may have long option, add supporting is trivial) This realisation full compatibile from your version. Code size grow 480 bytes, but only coreutils/* over compensate this size after using new function. Last patch reduced over 800 bytes and not full applied to all. "mkdir" and "mv" applets have long_opt now for demonstrate trivial addition support long_opt with usage new bb_getopt_ulflags(). Complementaly and/or incomplementaly and/or incongruously and/or list options logic is not trivial, but new "cut" and "grep" applets using this logic for examples with full demostrating. New "grep" applet reduced over 300 bytes. Mark, Also. I removed bug from "grep" applet. $ echo a b | busybox grep -e a b a b a b But right is printing one only. --w vodz
2003-03-19Major coreutils update.Manuel Novoa III
2003-01-09Fix addgroup so it actually worksEric Andersen
-Erik
2002-12-13use const group_fileTim Riker
2002-12-12Teach addgroup to add user names to groupsEric Andersen
2002-11-14Patch from Marcel Hamer to fix addgroup argument parsingEric Andersen
2002-08-06Fix silly typo. addgroup was using /etc/shadow for /etc/gshadow.Manuel Novoa III
2002-07-21Fixed two compiler warningsRobert Griebl
2002-07-03Scrub pwd.h and grp.h handling so we don't have to play anyEric Andersen
silly games. -Erik
2002-06-23Port over the last of the tinylogin appletsEric Andersen
-Erik
2002-06-04Bigger patch for (partial) tinylogin integrationRobert Griebl
- Made a new dir loginutils - Moved all applets from pwd_grp to loginutils - Added new applets su.c login.c to loginutils - Made a new dir libpwdgrp - Moved everything from pwd_grp/libpwd_grp there - Added shadow.c to libpwdgrp - Removed dir pwd_grp - Added usage strings for login and su to usage.h - Changed main Makefile to reflect the dir rearrangements [Parts of this patch may overlap with my other two patches]