From: tim Date: Mon, 18 Jan 2010 01:05:39 +0000 (+0000) Subject: - (tim) [configure.ac] Use the C99-conforming functions snprintf() and X-Git-Url: http://andersk.mit.edu/gitweb/openssh.git/commitdiff_plain/9b9be9983e36b6dccbbc63ef7e972dc8c8c11184 - (tim) [configure.ac] Use the C99-conforming functions snprintf() and vsnprintf() named _xsnprintf() and _xvsnprintf() on SVR5 systems. --- diff --git a/ChangeLog b/ChangeLog index 9759182d..aed4bba4 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 eadf1021..db9403cc 100644 --- a/configure.ac +++ b/configure.ac @@ -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)