]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Update from gnulib.
authorBruno Haible <bruno@clisp.org>
Wed, 4 Jan 2012 13:54:26 +0000 (14:54 +0100)
committerBruno Haible <bruno@clisp.org>
Wed, 4 Jan 2012 13:54:26 +0000 (14:54 +0100)
gettext-runtime/intl/ChangeLog
gettext-runtime/intl/vasnprintf.c
gettext-runtime/libasprintf/ChangeLog
gettext-runtime/libasprintf/vasnprintf.c

index 425001559f619ca498ff512243a1447aa795a69c..63767219fe483967efcee773b930d7a8c7d6e1f2 100644 (file)
@@ -1,3 +1,8 @@
+2012-01-04  Bruno Haible  <bruno@clisp.org>
+
+       Talk about "native Windows API", not "Win32".
+       * vasnprintf.c: Update comments to mention native Windows.
+
 2011-10-15  Bruno Haible  <bruno@clisp.org>
 
        Avoid crash in *printf functions for invalid format string with dollar.
index c6676c0ab15b1671d0e92541f4158839bbb9d69f..f767ef9097aea139ffe0e287bf175fc892daf2c2 100644 (file)
@@ -1,5 +1,5 @@
 /* vsprintf with automatic memory allocation.
-   Copyright (C) 1999, 2002-2011 Free Software Foundation, Inc.
+   Copyright (C) 1999, 2002-2012 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Lesser General Public License as published by
@@ -4884,7 +4884,7 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp,
                    in format strings in writable memory may crash the program
                    (if compiled with _FORTIFY_SOURCE=2), so we should avoid it
                    in this situation.  */
-                /* On native Win32 systems (such as mingw), we can avoid using
+                /* On native Windows systems (such as mingw), we can avoid using
                    %n because:
                      - Although the gl_SNPRINTF_TRUNCATION_C99 test fails,
                        snprintf does not write more than the specified number
@@ -4893,7 +4893,7 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp,
                      - Although the gl_SNPRINTF_RETVAL_C99 test fails, snprintf
                        allows us to recognize the case of an insufficient
                        buffer size: it returns -1 in this case.
-                   On native Win32 systems (such as mingw) where the OS is
+                   On native Windows systems (such as mingw) where the OS is
                    Windows Vista, the use of %n in format strings by default
                    crashes the program. See
                      <http://gcc.gnu.org/ml/gcc/2007-06/msg00122.html> and
index 7032d0014e9e5ea0ae4f163cf4b37727552dbacc..0c7fc539ef59509e4244aac240fd23e572a8a2e7 100644 (file)
@@ -1,3 +1,8 @@
+2012-01-04  Bruno Haible  <bruno@clisp.org>
+
+       Talk about "native Windows API", not "Win32".
+       * vasnprintf.c: Update comments to mention native Windows.
+
 2011-10-15  Bruno Haible  <bruno@clisp.org>
 
        vasnprintf: Optimize bit search operation.
index c6676c0ab15b1671d0e92541f4158839bbb9d69f..f767ef9097aea139ffe0e287bf175fc892daf2c2 100644 (file)
@@ -1,5 +1,5 @@
 /* vsprintf with automatic memory allocation.
-   Copyright (C) 1999, 2002-2011 Free Software Foundation, Inc.
+   Copyright (C) 1999, 2002-2012 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Lesser General Public License as published by
@@ -4884,7 +4884,7 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp,
                    in format strings in writable memory may crash the program
                    (if compiled with _FORTIFY_SOURCE=2), so we should avoid it
                    in this situation.  */
-                /* On native Win32 systems (such as mingw), we can avoid using
+                /* On native Windows systems (such as mingw), we can avoid using
                    %n because:
                      - Although the gl_SNPRINTF_TRUNCATION_C99 test fails,
                        snprintf does not write more than the specified number
@@ -4893,7 +4893,7 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp,
                      - Although the gl_SNPRINTF_RETVAL_C99 test fails, snprintf
                        allows us to recognize the case of an insufficient
                        buffer size: it returns -1 in this case.
-                   On native Win32 systems (such as mingw) where the OS is
+                   On native Windows systems (such as mingw) where the OS is
                    Windows Vista, the use of %n in format strings by default
                    crashes the program. See
                      <http://gcc.gnu.org/ml/gcc/2007-06/msg00122.html> and