- (dtucker) [acconfig.h configure.ac defines.h] Bug #820: don't use

updwtmpx() on IRIX since it seems to clobber utmp.  ok djm@
This commit is contained in:
Darren Tucker 2004-04-06 21:31:12 +10:00
parent ccea020574
commit 8db9a0ffd8
4 changed files with 16 additions and 4 deletions

View File

@ -1,3 +1,7 @@
20040406
- (dtucker) [acconfig.h configure.ac defines.h] Bug #820: don't use
updwtmpx() on IRIX since it seems to clobber utmp. ok djm@
20040330
- (dtucker) [configure.ac] Bug #811: Use "!" for LOCKED_PASSWD_PREFIX on
Linuxes, since that's what many use. ok djm@
@ -930,4 +934,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
$Id: ChangeLog,v 1.3299 2004/03/31 05:17:54 djm Exp $
$Id: ChangeLog,v 1.3300 2004/04/06 11:31:12 dtucker Exp $

View File

@ -1,4 +1,4 @@
/* $Id: acconfig.h,v 1.173 2004/02/06 05:24:31 dtucker Exp $ */
/* $Id: acconfig.h,v 1.174 2004/04/06 11:31:13 dtucker Exp $ */
/*
* Copyright (c) 1999-2003 Damien Miller. All rights reserved.
@ -347,6 +347,9 @@
/* getaddrinfo is broken (if present) */
#undef BROKEN_GETADDRINFO
/* updwtmpx is broken (if present) */
#undef BROKEN_UPDWTMPX
/* Workaround more Linux IPv6 quirks */
#undef DONT_TRY_OTHER_AF

View File

@ -1,4 +1,4 @@
# $Id: configure.ac,v 1.207 2004/03/30 04:03:46 dtucker Exp $
# $Id: configure.ac,v 1.208 2004/04/06 11:31:13 dtucker Exp $
#
# Copyright (c) 1999-2004 Damien Miller
#
@ -235,6 +235,7 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16))
AC_DEFINE(SETEUID_BREAKS_SETUID)
AC_DEFINE(BROKEN_SETREUID)
AC_DEFINE(BROKEN_SETREGID)
AC_DEFINE(BROKEN_UPDWTMPX)
AC_DEFINE(WITH_ABBREV_NO_TTY)
AC_DEFINE(LOCKED_PASSWD_STRING, "*LK*")
;;

View File

@ -25,7 +25,7 @@
#ifndef _DEFINES_H
#define _DEFINES_H
/* $Id: defines.h,v 1.111 2004/03/04 11:59:37 dtucker Exp $ */
/* $Id: defines.h,v 1.112 2004/04/06 11:31:13 dtucker Exp $ */
/* Constants */
@ -507,6 +507,10 @@ struct winsize {
# undef HAVE_GAI_STRERROR
#endif
#if defined(BROKEN_UPDWTMPX) && defined(HAVE_UPDWTMPX)
# undef HAVE_UPDWTMPX
#endif
#if !defined(HAVE_MEMMOVE) && defined(HAVE_BCOPY)
# define memmove(s1, s2, n) bcopy((s2), (s1), (n))
#endif /* !defined(HAVE_MEMMOVE) && defined(HAVE_BCOPY) */