refactor passwd file access code
authorJosiah Worcester <josiahw@gmail.com>
Wed, 11 Feb 2015 00:32:55 +0000 (18:32 -0600)
committerRich Felker <dalias@aerifal.cx>
Wed, 11 Feb 2015 03:57:02 +0000 (22:57 -0500)
commit700e08993c3f6a808773d56424aa7e633da13e2e
tree752558943d55b652eb61469e818ac1dceaad6238
parent74e334dcd177b585c64ddafa732a3dc9e3f6b5ec
refactor passwd file access code

this allows getpwnam and getpwuid to share code with the _r versions
in preparation for alternate backend support.
src/passwd/fgetpwent.c
src/passwd/getpw_a.c [new file with mode: 0644]
src/passwd/getpw_r.c
src/passwd/getpwent.c
src/passwd/getpwent_a.c
src/passwd/pwf.h