changeset 8345:58076aea483b

Handle the case of hidden system functions better.
author Bruno Haible <bruno@clisp.org>
date Mon, 05 Mar 2007 03:58:26 +0000
parents c8055280f68e
children e891ffbc488d
files ChangeLog lib/vasprintf.h
diffstat 2 files changed, 16 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2007-03-04  Bruno Haible  <bruno@clisp.org>
+
+	* lib/vasprintf.h: Update #if logic for the case when the functions
+	exist but are overridden.
+
+2007-03-04  Bruno Haible  <bruno@clisp.org>
+
+	* m4/printf.m4 (gl_PRINTF_DIRECTIVE_A): Exclude two buggy
+	implementations: glibc-2.4 and MacOS X 10.3.
+	* tests/test-vasnprintf-posix.c (test_function): Test also the case
+	that exhibits the bugs in glibc-2.4 and MacOS X 10.3.
+	* tests/test-vasprintf-posix.c (test_function): Likewise.
+
 2007-03-04  Bruno Haible  <bruno@clisp.org>
 
 	* modules/vasprintf-posix-tests: New file.
--- a/lib/vasprintf.h
+++ b/lib/vasprintf.h
@@ -23,7 +23,9 @@
 /* Get asprintf(), vasprintf() declarations.  */
 #include <stdio.h>
 
-#else
+#endif
+
+#if !HAVE_VASPRINTF || REPLACE_VASPRINTF
 
 /* Get va_list.  */
 #include <stdarg.h>