summaryrefslogtreecommitdiffstats
path: root/pw/strtounum.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix err pointer not initialized to NULL resultingBaptiste Daroussin2015-08-211-0/+1
| | | | Reported by: "O. Hartmann" <ohartman@zedat.fu-berlin.de>
* Rewrite parsing subcommands arguments of pw(8)Baptiste Daroussin2015-08-021-1/+1
| | | | | | | | | | | | | Now each subcommands checks its arguments in a dedicated functions. This helps improving input validation, code readability/maintainability While here: - Add a -y option to pw userdel/usermod so it can maintain NIS servers if nispasswd is not defined in pw.conf(5) - Allow pw -r <rootdir> to remove directory with userdel -r - Fix bug when renaming a user which was not renaming the user name it groups it is a member of. - Only parse pw.conf(5) when needed.
* Improve strtounumBaptiste Daroussin2015-07-301-22/+19
| | | | | | | | | Fix many style bugs Better variable naming Use C99 'restrict' were apropriate Fix potential errno race Submitted by: bde
* Actually set the proper licenseBaptiste Daroussin2015-07-291-12/+13
| | | | Reported by: trasz
* Actually add the new codeBaptiste Daroussin2015-07-291-0/+73