[SCM] The rsync repository. - branch master updated
Rsync CVS commit messages
rsync-cvs at lists.samba.org
Mon Aug 1 00:34:03 MDT 2011
The branch, master has been updated
via 64fa23a Tweak includes to fix non-defined NULL on some systems.
from 0a77ade Fix Minix build errors. Fixes bug 8313.
;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 64fa23add924af850546fca2575f7a1e76565af9
Author: Wayne Davison <wayned at samba.org>
Date: Sun Jul 31 23:31:17 2011 -0700
Tweak includes to fix non-defined NULL on some systems.
-----------------------------------------------------------------------
Summary of changes:
lib/snprintf.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/lib/snprintf.c b/lib/snprintf.c
index dd72f3e..c17868f 100644
--- a/lib/snprintf.c
+++ b/lib/snprintf.c
@@ -37,7 +37,7 @@
* which showed it, so that's been fixed. Also, formated the code
* to mutt conventions, and removed dead code left over from the
* original. Also, there is now a builtin-test, just compile with:
- * gcc -DTEST_SNPRINTF -o snprintf snprintf.c -lm
+ * gcc -I.. -DTEST_SNPRINTF -o snprintf snprintf.c -lm
* and run snprintf for results.
*
* Thomas Roessler <roessler at guug.de> 01/27/98 for mutt 0.89i
@@ -103,7 +103,7 @@
*
**************************************************************/
-#include "../config.h"
+#include "config.h"
#ifdef TEST_SNPRINTF /* need math library headers for testing */
@@ -141,6 +141,10 @@
void dummy_snprintf(void) {}
#endif /* HAVE_SNPRINTF, etc */
+#ifdef STDC_HEADERS
+#include <stddef.h>
+#endif
+
#ifdef HAVE_LONG_DOUBLE
#define LDOUBLE long double
#else
--
The rsync repository.
More information about the rsync-cvs
mailing list