DragonFly-2.3.0.658.g61ec5 master include grp.h pwd.h lib/libc/gen getgrent.3 getgrent.c sys/sys types.h
Peter Avalos
pavalos at crater.dragonflybsd.org
Tue Apr 7 00:14:31 PDT 2009
commit 61ec5fb1a640125853bf14d3f8d850f39713d7da
Author: Peter Avalos <pavalos at theshell.com>
Date: Sun Mar 22 11:47:29 2009 -1000
Fix some namespace issues with grp.h and pwd.h.
* [1] endpwent, getpwent, setgrent, and setpwent are XSI extensions.
* Change setgrent's prototype to match SuS.
* SuS requires that gid_t be defined in grp.h and pwd.h, and uid_t be in
pwd.h.
[1] Obtained-from: FreeBSD
Summary of changes:
include/grp.h | 15 ++++++++++-----
include/pwd.h | 20 ++++++++++++++++----
lib/libc/gen/getgrent.3 | 14 +++-----------
lib/libc/gen/getgrent.c | 4 +---
sys/sys/types.h | 6 ++++++
5 files changed, 36 insertions(+), 23 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/61ec5fb1a640125853bf14d3f8d850f39713d7da
--
DragonFly BSD source repository
More information about the Commits
mailing list