From de3b8cf5e26e3539a2c696688d6422dab851d06c Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 9 Apr 2023 20:34:48 +0200 Subject: vasnwprintf-posix: More details about the glibc bug. * doc/posix-functions/swprintf.texi: Add comment. * m4/printf.m4 (gl_SWPRINTF_DIRECTIVE_LA): Update cross-compilation guess. --- ChangeLog | 7 +++++++ doc/posix-functions/swprintf.texi | 1 + m4/printf.m4 | 4 ++-- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index e50d3bdb9d..9940eb2a49 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2023-04-09 Bruno Haible + + vasnwprintf-posix: More details about the glibc bug. + * doc/posix-functions/swprintf.texi: Add comment. + * m4/printf.m4 (gl_SWPRINTF_DIRECTIVE_LA): Update cross-compilation + guess. + 2023-04-08 Bruno Haible doc: Mention another Haiku bug. diff --git a/doc/posix-functions/swprintf.texi b/doc/posix-functions/swprintf.texi index fe36bc215a..649b541ed0 100644 --- a/doc/posix-functions/swprintf.texi +++ b/doc/posix-functions/swprintf.texi @@ -38,6 +38,7 @@ On Windows, this function does not take a buffer size as second argument. @item This function produces wrong values for the @samp{La} directive on some platforms: +@c https://sourceware.org/bugzilla/show_bug.cgi?id=13726 glibc 2.15, @c https://dev.haiku-os.org/ticket/18353 Haiku. diff --git a/m4/printf.m4 b/m4/printf.m4 index f513da0c84..efb85a57af 100644 --- a/m4/printf.m4 +++ b/m4/printf.m4 @@ -1,4 +1,4 @@ -# printf.m4 serial 81 +# printf.m4 serial 82 dnl Copyright (C) 2003, 2007-2023 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -1988,7 +1988,7 @@ int main () AC_EGREP_CPP([Unlucky], [ #include #ifdef __GNU_LIBRARY__ - #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 17) || (__GLIBC__ > 2)) && !defined __UCLIBC__ + #if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 16) || (__GLIBC__ > 2)) && !defined __UCLIBC__ Unlucky #endif #endif -- cgit v1.2.1