Module Name: krb5 Committed By: raeburn Date: Sat Mar 26 02:00:48 UTC 2005 Modified Files: krb5/src/include/ChangeLog krb5/src/include/configure.in krb5/src/include/k5-platform.h Added Files: Removed Files: Log Message ticket: 2982 status: open 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