Kill _XOPEN_EXTENDED_SOURCE -- causes problems on some OSes

This commit is contained in:
Todd C. Miller
1999-08-26 21:24:50 +00:00
parent 2e4dcff8f0
commit 359b5be92d
4 changed files with 239 additions and 256 deletions

10
CHANGES
View File

@@ -1072,9 +1072,9 @@ Sudo 1.5.9 released.
to anything real. Instead, we just use a max password size of 256
everywhere.
337) Block many signals during startup and restore signal mask before exec'ing
the program. We don't want the user to be able to simply kill us and
avoid logging.
337) Block all signals during startup (for non-POSIX signals we only block
some of them) and restore signal mask before exec'ing the program.
We don't want the user to be able to simply kill us and avoid logging.
338) Rewrote timestamp handling. For the default case, a directory is used
instead of a file. For the tty-based case, the timestamp is just a
@@ -1086,8 +1086,8 @@ Sudo 1.5.9 released.
339) The meaning of -k has changed to mean "invalidate the timestamp".
There is a new -K option to really remove the timestamp file/dir.
340) New modular authentication API. This fixes the nest of #ifdefs that
was the old auth code.
340) New modular authentication API. This fixes the rat's nest of
#ifdefs that was the old auth code.
341) New logging functions. log_error() now takes a variable number of
args ala printf() and log_auth() reacts to the return value of validate().

View File

@@ -72,13 +72,6 @@
#undef _POSIX_SOURCE
#endif
/* Define if needed to get X/Open extended functionality.
System headers sometimes define this.
We just want to avoid a redefinition error message. */
#ifndef _XOPEN_SOURCE_EXTENDED
#undef _XOPEN_SOURCE_EXTENDED
#endif
/* Define to `int' if <sys/types.h> doesn't define. */
#undef uid_t

473
configure vendored

File diff suppressed because it is too large Load Diff

View File

@@ -1340,11 +1340,6 @@ case "$host" in
;;
esac
dnl
dnl We define this to get a crypt() prototype on some systems
dnl
AC_DEFINE(_XOPEN_SOURCE_EXTENDED)
dnl
dnl Check for shadow password routines if we have not already done so.
dnl We check for SVR4-style first and then SecureWare-style.