Module Name: src
Committed By: joerg
Date: Fri Mar 19 18:16:14 UTC 2010
Modified Files:
src/dist/openpam/include/security: pam_appl.h
Log Message:
Apply r432 from openpam repository:
pam_end() already contains a NULL check, and it is not unreasonable to
call it with a NULL pamh in a cleanup / error-handling situation. Remove
OPENPAM_NONNULL, which may cause gcc to optimize away the NULL check.
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 src/dist/openpam/include/security/pam_appl.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/dist/openpam/include/security/pam_appl.h
diff -u src/dist/openpam/include/security/pam_appl.h:1.1.1.2 src/dist/openpam/include/security/pam_appl.h:1.2
--- src/dist/openpam/include/security/pam_appl.h:1.1.1.2 Sun Jan 27 00:54:59 2008
+++ src/dist/openpam/include/security/pam_appl.h Fri Mar 19 18:16:14 2010
@@ -32,7 +32,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: pam_appl.h,v 1.1.1.2 2008/01/27 00:54:59 christos Exp $
+ * $Id: pam_appl.h,v 1.2 2010/03/19 18:16:14 joerg Exp $
*/
#ifndef SECURITY_PAM_APPL_H_INCLUDED
@@ -72,8 +72,7 @@
int
pam_end(pam_handle_t *_pamh,
- int _status)
- OPENPAM_NONNULL((1));
+ int _status);
int
pam_get_data(const pam_handle_t *_pamh,