History log of /seL4-refos-master/libs/libmuslc/src/passwd/getpwent_a.c
Revision Date Author Comments
# 0afef1aa 22-Feb-2015 Rich Felker <dalias@aerifal.cx>

fix spurious errors in refactored passwd/group code

errno was treated as the error status when the return value of getline
was negative, but this condition can simply indicate EOF and is not
necessarily an error.

the spurious errors caused by this bug masked the bug which was fixed
in commit fc5a96c9c8aa186effad7520d5df6b616bbfd29d.


# 700e0899 10-Feb-2015 Josiah Worcester <josiahw@gmail.com>

refactor passwd file access code

this allows getpwnam and getpwuid to share code with the _r versions
in preparation for alternate backend support.


# 648c3b4e 18-Jul-2013 Rich Felker <dalias@aerifal.cx>

change uid_t, gid_t, and id_t to unsigned types

this change is both to fix one of the remaining type (and thus C++
ABI) mismatches with glibc/LSB and to allow use of the full range of
uid and gid values, if so desired.

passwd/group access functions were not prepared to deal with unsigned
values, so they too have been fixed with this commit.


# 4948a24d 01-Feb-2012 Rich Felker <dalias@aerifal.cx>

make passwd/group functions safe against cancellation in stdio

these changes are a prerequisite to making stdio cancellable.


# 0b44a031 11-Feb-2011 Rich Felker <dalias@aerifal.cx>

initial check-in, version 0.5.0