bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

vasnprintf: fix syntax errors


From: Bruno Haible
Subject: vasnprintf: fix syntax errors
Date: Sun, 9 May 2010 11:15:10 +0200
User-agent: KMail/1.9.9

This fixes two syntax errors in the libintl build, inside gettext:


2010-05-09  Bruno Haible  <address@hidden>

        vasnprintf: Fix syntax errors in libintl build on mingw.
        * lib/vasnprintf.c (VASNPRINTF): Move a closing brace. Undefine
        pad_ourselves and prec_ourselves after use.

--- lib/vasnprintf.c.orig       Sun May  9 11:10:38 2010
+++ lib/vasnprintf.c    Sun May  9 11:10:05 2010
@@ -2889,8 +2889,8 @@
                       length += n;
                     }
                 }
-              }
 # endif
+              }
 #endif
 #if (NEED_PRINTF_DIRECTIVE_A || NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_DOUBLE) 
&& !defined IN_LIBINTL
             else if ((dp->conversion == 'a' || dp->conversion == 'A')
@@ -5498,6 +5498,8 @@
                     length += count;
                     break;
                   }
+#undef pad_ourselves
+#undef prec_ourselves
               }
           }
       }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]