]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Handle all ISO C 99 format directives.
authorBruno Haible <bruno@clisp.org>
Mon, 28 Oct 2002 10:26:26 +0000 (10:26 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:08:47 +0000 (12:08 +0200)
lib/ChangeLog
lib/vasprintf.c

index b7631b569508f61840d84cd812ddb858f320fe5c..50b95298c7d57d3709895c8d2b176b6f4828c234 100644 (file)
@@ -1,3 +1,7 @@
+2002-10-26  Bruno Haible  <bruno@clisp.org>
+
+       * vasprintf.c (int_vasprintf): Treat 'F' like 'f'.
+
 2002-08-25  Bruno Haible  <bruno@clisp.org>
 
        * Makefile.am (MOSTLYCLEANFILES): Add stdbool.h unconditionally.
index e9b70244aed946f47de4ec7287f118ceea862760..bd66b79113d50d3e010996edabfacebbf7ae4532 100644 (file)
@@ -89,6 +89,7 @@ int_vasprintf (result, format, args)
              (void) va_arg (ap, int);
              break;
            case 'f':
+           case 'F':
              {
                double arg = va_arg (ap, double);
                if (arg >= 1.0 || arg <= -1.0)