From: Bruno Haible Date: Mon, 5 Mar 2007 03:58:26 +0000 (+0000) Subject: Handle the case of hidden system functions better. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db940a0650502947472cbaabb9f5142c56d516ea;p=pspp Handle the case of hidden system functions better. --- diff --git a/ChangeLog b/ChangeLog index ced050d545..a7ce74ce87 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +2007-03-04 Bruno Haible + + * lib/vasprintf.h: Update #if logic for the case when the functions + exist but are overridden. + +2007-03-04 Bruno Haible + + * 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 * modules/vasprintf-posix-tests: New file. diff --git a/lib/vasprintf.h b/lib/vasprintf.h index 4a342e30e9..cf155c165c 100644 --- a/lib/vasprintf.h +++ b/lib/vasprintf.h @@ -23,7 +23,9 @@ /* Get asprintf(), vasprintf() declarations. */ #include -#else +#endif + +#if !HAVE_VASPRINTF || REPLACE_VASPRINTF /* Get va_list. */ #include