From 641ebf1f86b4f254cab71f9496e8915940248004 Mon Sep 17 00:00:00 2001 From: Tim Rice Date: Sun, 17 Jan 2010 17:05:39 -0800 Subject: - (tim) [configure.ac] Use the C99-conforming functions snprintf() and vsnprintf() named _xsnprintf() and _xvsnprintf() on SVR5 systems. --- ChangeLog | 2 ++ configure.ac | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9759182dc..aed4bba47 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 20100117 - (tim) [configure.ac] OpenServer 5 needs BROKEN_GETADDRINFO too. + - (tim) [configure.ac] Use the C99-conforming functions snprintf() and + vsnprintf() named _xsnprintf() and _xvsnprintf() on SVR5 systems. 20100116 - (dtucker) [openbsd-compat/pwcache.c] Pull in includes.h and thus defines.h diff --git a/configure.ac b/configure.ac index 2ea3ed706..aa74fc30f 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -# $Id: configure.ac,v 1.437 2010/01/17 20:48:22 tim Exp $ +# $Id: configure.ac,v 1.438 2010/01/18 01:05:39 tim Exp $ # # Copyright (c) 1999-2004 Damien Miller # @@ -15,7 +15,7 @@ # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org) -AC_REVISION($Revision: 1.437 $) +AC_REVISION($Revision: 1.438 $) AC_CONFIG_SRCDIR([ssh.c]) AC_CONFIG_HEADER(config.h) @@ -744,6 +744,7 @@ mips-sony-bsd|mips-sony-newsos4) ;; # UnixWare 7.x, OpenUNIX 8 *-*-sysv5*) + CPPFLAGS="$CPPFLAGS -Dvsnprintf=_xvsnprintf -Dsnprintf=_xsnprintf" AC_DEFINE(UNIXWARE_LONG_PASSWORDS, 1, [Support passwords > 8 chars]) AC_DEFINE(USE_PIPES) AC_DEFINE(SETEUID_BREAKS_SETUID) -- cgit v1.2.3