Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   lukem
Date:           Tue Oct  5 04:45:54 UTC 2004

Modified Files:
        src/include: pwd.h
        src/lib/libc/gen: getpwent.3 getpwent.c
        src/lib/libc/include: namespace.h

Log Message:
Overhaul the use of nsdispatch(3) by public APIs so that the back-end
methods use va_list in a manner that is directly related to the public API.
This makes it much easier to write dynamic nsswitch backends for getpwent(3).
Per my proposal on tech-userlevel.

Implement getpwgid_r() and getpwnam_r() APIs per the POSIX 1003.1, 2004 Ed.
These aren't fully reentrant or threadsafe yet, because the compat stuff
currently uses non-reentrant data sources (getnetgrent(3), getpwent(3)),
and there is probably some locking to be improved in the backends.
This will be fixed in the near future.
We also need to add _SC_GETPW_R_SIZE_MAX to sysconf(3).

Fix the compat `+' prototype override so getpwnam(3) and getpwuid(3) DTRT.

Improve the description of pw_class and pw_gecos.


To generate a diff of this commit:
cvs rdiff -r1.33 -r1.34 src/include/pwd.h
cvs rdiff -r1.23 -r1.24 src/lib/libc/gen/getpwent.3
cvs rdiff -r1.56 -r1.57 src/lib/libc/gen/getpwent.c
cvs rdiff -r1.94 -r1.95 src/lib/libc/include/namespace.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index