Handle the case of hidden system functions better.
authorBruno Haible <bruno@clisp.org>
Mon, 5 Mar 2007 03:58:26 +0000 (03:58 +0000)
committerBruno Haible <bruno@clisp.org>
Mon, 5 Mar 2007 03:58:26 +0000 (03:58 +0000)
ChangeLog
lib/vasprintf.h

index ced050d..a7ce74c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,18 @@
 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.
        * tests/test-vasprintf-posix.c: New file.
 
index 4a342e3..cf155c1 100644 (file)
@@ -23,7 +23,9 @@
 /* Get asprintf(), vasprintf() declarations.  */
 #include <stdio.h>
 
-#else
+#endif
+
+#if !HAVE_VASPRINTF || REPLACE_VASPRINTF
 
 /* Get va_list.  */
 #include <stdarg.h>