[krbdev.mit.edu #2982] CVS Commit
Ken Raeburn via RT
rt-comment at krbdev.mit.edu
Fri Mar 25 21:00:52 EST 2005
This patch tightens up our determination of whether we can use
getpw{nam,uid}_r, and using the set flags, creates macros providing a
consistent API, and if possible thread safety.
* configure.in: Don't check for getpwnam_r and getpwuid_r with AC_CHECK_FUNCS;
use AC_CHECK_FUNC, and only set shell variables. Run stricter tests on return
types and numbers of arguments, and only define the C macros if these
parameters can actually be determined.
* k5-platform.h (k5_getpwnam_r, k5_getpwuid_r): New macros.
To generate a diff of this commit:
cvs diff -r1.495 -r1.496 krb5/src/include/ChangeLog
cvs diff -r1.56 -r1.57 krb5/src/include/configure.in
cvs diff -r1.12 -r1.13 krb5/src/include/k5-platform.h
More information about the krb5-bugs
mailing list