summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-02-25 23:20:40 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-02-25 23:20:40 +0000
commit63941f9631b8316d57d54e0ef7484c66bb1c1b7d (patch)
tree6a0dc4cf3d580552e75731cb617f2b88d5a05840
parent416d87409493f6d2367db40a04c19c950f271613 (diff)
- (bal) Fixed bsd-snprinf.c so it now honors 'BROKEN_SNPRINTF' again.
-rw-r--r--ChangeLog5
-rw-r--r--openbsd-compat/bsd-snprintf.c7
2 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index bf847fa48..14374aaff 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
120010226
2 - (bal) Fixed bsd-snprinf.c so it now honors 'BROKEN_SNPRINTF' again.
3
120010225 420010225
2 - (djm) Use %{_libexecdir} rather than hardcoded path in RPM specfile 5 - (djm) Use %{_libexecdir} rather than hardcoded path in RPM specfile
3 Patch from Adrian Ho <lexfiend@usa.net> 6 Patch from Adrian Ho <lexfiend@usa.net>
@@ -4126,4 +4129,4 @@
4126 - Wrote replacements for strlcpy and mkdtemp 4129 - Wrote replacements for strlcpy and mkdtemp
4127 - Released 1.0pre1 4130 - Released 1.0pre1
4128 4131
4129$Id: ChangeLog,v 1.821 2001/02/25 02:02:43 mouring Exp $ 4132$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 @@
51 51
52#include "includes.h" 52#include "includes.h"
53 53
54RCSID("$Id: bsd-snprintf.c,v 1.4 2001/02/13 14:05:59 mouring Exp $"); 54RCSID("$Id: bsd-snprintf.c,v 1.5 2001/02/25 23:20:41 mouring Exp $");
55
56#if defined(BROKEN_SNPRINTF) /* For those with broken snprintf() */
57# undef HAVE_SNPRINTF
58# undef HAVE_VSNPRINTF
59#endif
55 60
56#if !defined(HAVE_SNPRINTF) || !defined(HAVE_VSNPRINTF) 61#if !defined(HAVE_SNPRINTF) || !defined(HAVE_VSNPRINTF)
57 62