From 4e66efa10ee4ea4dc5fcb22e48050ee7fd032187 Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Fri, 6 Jul 2007 08:23:13 +0000 Subject: Relevant BUGIDs: Purpose of commit: bugfix, release Commit summary: --------------- 2007-07-06 Thorsten Kukuk * release version 0.99.8.0 * configure.in: Check for audit_log_acct_message instead of audit_log_user_message. * libpam/pam_audit.c: Use audit_log_acct_message. Based on patch from Mark J Cox . * libpam/Makefile.am: Bump version number of libpam. * modules/pam_umask/pam_umask.c (set_umask): mode_t is 32bit, not 64bit. * xtests/tst-pam_limits1.c: Fix printf arguments. * po/*.po: Merge po files with latest code changes. --- modules/pam_umask/pam_umask.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/pam_umask') diff --git a/modules/pam_umask/pam_umask.c b/modules/pam_umask/pam_umask.c index fdeb3c51..eb88c1ac 100644 --- a/modules/pam_umask/pam_umask.c +++ b/modules/pam_umask/pam_umask.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2006 Thorsten Kukuk + * Copyright (c) 2005, 2006, 2007 Thorsten Kukuk * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -181,7 +181,7 @@ set_umask (const char *value) mask = strtoul (value, &endptr, 8) & 0777; if (((mask == 0) && (value_orig == endptr)) || - ((mask == ULONG_MAX) && (errno == ERANGE))) + ((mask == UINT_MAX) && (errno == ERANGE))) return; umask (mask); return; -- cgit v1.2.3