]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
printf on BeOS, like NetBSD abd Woe32, lacks argument reordering support.
authorBruno Haible <bruno@clisp.org>
Sat, 17 Mar 2007 01:44:00 +0000 (01:44 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:14:43 +0000 (12:14 +0200)
gettext-runtime/intl/ChangeLog
gettext-runtime/intl/libgnuintl.h.in
gettext-runtime/intl/printf.c
gettext-runtime/m4/ChangeLog
gettext-runtime/m4/printf-posix.m4

index a0281a76597307b2ec7ca79c5cca84fce8d7fad9..6eb19566fc408fc2d2bfeb6cfa142d95880ec13c 100644 (file)
@@ -1,3 +1,9 @@
+2007-03-04  Bruno Haible  <bruno@clisp.org>
+
+       * libgnuintl.h.in (libintl_printf): Treat BeOS like NetBSD and Woe32
+       systems.
+       * printf.c (libintl_printf): Likewise.
+
 2007-02-25  Bruno Haible  <bruno@clisp.org>
 
        * vasnprintf.c (VASNPRINTF): Fix estimate of size needed for a 'a' or
index 5e1ccd6767773f99ae060a4d57960eb704ddcfc8..22ccb5118f86102fc98aeb8eab4c1c2b40de8f32 100644 (file)
@@ -1,5 +1,5 @@
 /* Message catalogs for internationalization.
-   Copyright (C) 1995-1997, 2000-2006 Free Software Foundation, Inc.
+   Copyright (C) 1995-1997, 2000-2007 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify it
    under the terms of the GNU Library General Public License as published
@@ -330,7 +330,7 @@ extern int fprintf (FILE *, const char *, ...);
 extern int vfprintf (FILE *, const char *, va_list);
 
 #undef printf
-#if defined __NetBSD__ || defined __CYGWIN__ || defined __MINGW32__
+#if defined __NetBSD__ || define __BEOS__ || defined __CYGWIN__ || defined __MINGW32__
 /* Don't break __attribute__((format(printf,M,N))).
    This redefinition is only possible because the libc in NetBSD, Cygwin,
    mingw does not have a function __printf__.  */
index 004c66f783d1914199507d4c0ce78a879364d84d..7492808a782378548e88bf2b6db41542b7ad589a 100644 (file)
@@ -1,5 +1,5 @@
 /* Formatted output to strings, using POSIX/XSI format strings with positions.
-   Copyright (C) 2003, 2006 Free Software Foundation, Inc.
+   Copyright (C) 2003, 2006-2007 Free Software Foundation, Inc.
    Written by Bruno Haible <bruno@clisp.org>, 2003.
 
    This program is free software; you can redistribute it and/or modify it
@@ -69,7 +69,7 @@ char *alloca ();
 #define STATIC static
 
 /* This needs to be consistent with libgnuintl.h.in.  */
-#if defined __NetBSD__ || defined __CYGWIN__ || defined __MINGW32__
+#if defined __NetBSD__ || defined __BEOS__ || defined __CYGWIN__ || defined __MINGW32__
 /* Don't break __attribute__((format(printf,M,N))).
    This redefinition is only possible because the libc in NetBSD, Cygwin,
    mingw does not have a function __printf__.  */
index d29f157c4cda10112cd80d984f9b3851b73b3c04..de1fd7e49c838fc8dd5d260c0e0f05a70bf57436 100644 (file)
@@ -1,3 +1,8 @@
+2007-03-04  Bruno Haible  <bruno@clisp.org>
+
+       * printf-posix.m4 (gt_PRINTF_POSIX): Treat BeOS like NetBSD and Woe32
+       systems.
+
 2007-02-13  Bruno Haible  <bruno@clisp.org>
 
        * intdiv0.m4 (gt_INTDIV0): Assume ANSI C. Fix underquoting bug.
index af10170af09b4c8f449aff94bae731777db04321..33e387c6f9b9c25c9aa18302bdc26223e02e6a9f 100644 (file)
@@ -1,5 +1,5 @@
-# printf-posix.m4 serial 2 (gettext-0.13.1)
-dnl Copyright (C) 2003 Free Software Foundation, Inc.
+# printf-posix.m4 serial 3 (gettext-0.16.2)
+dnl Copyright (C) 2003, 2007 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -28,7 +28,7 @@ int main ()
 }], gt_cv_func_printf_posix=yes, gt_cv_func_printf_posix=no,
       [
         AC_EGREP_CPP(notposix, [
-#if defined __NetBSD__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__
+#if defined __NetBSD__ || defined __BEOS__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__
   notposix
 #endif
         ], gt_cv_func_printf_posix="guessing no",