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 ced050d545a5899587ac3a547e3dc983384e423d..a7ce74ce87c684a81d16f253e148e6225a0e7736 100644 (file)
--- 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.
index 4a342e30e9ca49061b3c347e6dcd2dd608682586..cf155c165cbfc7042ff7435efc9f5c4ebf1164d0 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>