From: Ben Lindstrom Date: Sun, 25 Feb 2001 23:20:40 +0000 (+0000) Subject: - (bal) Fixed bsd-snprinf.c so it now honors 'BROKEN_SNPRINTF' again. X-Git-Tag: V_2_5_1_P2~28 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=63941f9631b8316d57d54e0ef7484c66bb1c1b7d;p=thirdparty%2Fopenssh-portable.git - (bal) Fixed bsd-snprinf.c so it now honors 'BROKEN_SNPRINTF' again. --- diff --git a/ChangeLog b/ChangeLog index bf847fa48..14374aaff 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +20010226 + - (bal) Fixed bsd-snprinf.c so it now honors 'BROKEN_SNPRINTF' again. + 20010225 - (djm) Use %{_libexecdir} rather than hardcoded path in RPM specfile Patch from Adrian Ho @@ -4126,4 +4129,4 @@ - Wrote replacements for strlcpy and mkdtemp - Released 1.0pre1 -$Id: ChangeLog,v 1.821 2001/02/25 02:02:43 mouring Exp $ +$Id: ChangeLog,v 1.822 2001/02/25 23:20:40 mouring Exp $ diff --git a/openbsd-compat/bsd-snprintf.c b/openbsd-compat/bsd-snprintf.c index d02e5ae50..1c72ea61d 100644 --- a/openbsd-compat/bsd-snprintf.c +++ b/openbsd-compat/bsd-snprintf.c @@ -51,7 +51,12 @@ #include "includes.h" -RCSID("$Id: bsd-snprintf.c,v 1.4 2001/02/13 14:05:59 mouring Exp $"); +RCSID("$Id: bsd-snprintf.c,v 1.5 2001/02/25 23:20:41 mouring Exp $"); + +#if defined(BROKEN_SNPRINTF) /* For those with broken snprintf() */ +# undef HAVE_SNPRINTF +# undef HAVE_VSNPRINTF +#endif #if !defined(HAVE_SNPRINTF) || !defined(HAVE_VSNPRINTF)