]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Add comment.
authorBruno Haible <bruno@clisp.org>
Sun, 16 May 2010 10:07:07 +0000 (12:07 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 16 May 2010 10:07:07 +0000 (12:07 +0200)
gettext-runtime/intl/ChangeLog
gettext-runtime/intl/libgnuintl.h.in

index 6e6e5dfce6bcf5a01284cd204da8f18e5c76da47..a8867314e00a2e988eca5c82bcf69445180703c7 100644 (file)
@@ -1,3 +1,7 @@
+2010-05-16  Bruno Haible  <bruno@clisp.org>
+
+       * libgnuintl.h.in (printf): Add comment.
+
 2010-05-09  Bruno Haible  <bruno@clisp.org>
 
        * gettext-0.18 released.
index c991bf051945c5d2fb0c215382834f0ac20f8351..15ce50e65c6b710d492230ec86cddd64361d1ffa 100644 (file)
@@ -341,7 +341,13 @@ extern int vfprintf (FILE *, const char *, va_list);
 #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__.  */
+   mingw does not have a function __printf__.
+   Alternatively, we could have done this redirection only when compiling with
+   __GNUC__, together with a symbol redirection:
+       extern int printf (const char *, ...)
+              __asm__ (#__USER_LABEL_PREFIX__ "libintl_printf");
+   But doing it now would introduce a binary incompatibility with already
+   distributed versions of libintl on these systems.  */
 # define libintl_printf __printf__
 #endif
 #define printf libintl_printf