Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-3]: src/usr.bin/su Pull up revision 1.8 (requested by lukem in ti...
details: https://anonhg.NetBSD.org/src/rev/cb8237f09b0d
branches: netbsd-3
changeset: 576503:cb8237f09b0d
user: tron <tron%NetBSD.org@localhost>
date: Wed Jul 06 21:51:21 2005 +0000
description:
Pull up revision 1.8 (requested by lukem in ticket #530):
Put declaration of pwbuf[] back before any code, so this compiles with
older versions of gcc again.
diffstat:
usr.bin/su/su_pam.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (32 lines):
diff -r 3b8b5a999b83 -r cb8237f09b0d usr.bin/su/su_pam.c
--- a/usr.bin/su/su_pam.c Wed Jul 06 21:50:22 2005 +0000
+++ b/usr.bin/su/su_pam.c Wed Jul 06 21:51:21 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: su_pam.c,v 1.5.2.2 2005/07/06 21:50:22 tron Exp $ */
+/* $NetBSD: su_pam.c,v 1.5.2.3 2005/07/06 21:51:21 tron Exp $ */
/*
* Copyright (c) 1988 The Regents of the University of California.
@@ -40,7 +40,7 @@
#if 0
static char sccsid[] = "@(#)su.c 8.3 (Berkeley) 4/2/94";*/
#else
-__RCSID("$NetBSD: su_pam.c,v 1.5.2.2 2005/07/06 21:50:22 tron Exp $");
+__RCSID("$NetBSD: su_pam.c,v 1.5.2.3 2005/07/06 21:51:21 tron Exp $");
#endif
#endif /* not lint */
@@ -101,11 +101,12 @@
const void *newuser;
login_cap_t *lc;
pam_handle_t *pamh = NULL;
+ char pwbuf[1024];
#ifdef PAM_DEBUG
extern int _openpam_debug;
+
_openpam_debug = 1;
#endif
- char pwbuf[1024];
asme = asthem = fastlogin = 0;
gohome = 1;
Home |
Main Index |
Thread Index |
Old Index