about summary refs log tree commit diff
path: root/src/passwd/getpw_r.c
Commit message (Collapse)AuthorAgeFilesLines
* fix crashes in refactored passwd/group codeRich Felker2015-02-231-2/+2
| | | | | | | the wrong condition was used in determining the presence of a result that needs space/copying for the _r functions. a zero return value does not necessarily mean success; it can also be a non-error negative result: no such user/group.
* refactor passwd file access codeJosiah Worcester2015-02-101-25/+11
| | | | | this allows getpwnam and getpwuid to share code with the _r versions in preparation for alternate backend support.
* more close-on-exec fixes, mostly using new "e" flag to fopenRich Felker2012-09-291-1/+1
|
* make passwd/group functions safe against cancellation in stdioRich Felker2012-02-011-1/+10
| | | | these changes are a prerequisite to making stdio cancellable.
* initial check-in, version 0.5.0 v0.5.0Rich Felker2011-02-121-0/+46