* stdio-common/vfscanf.c: Disallow l flag after ll or L. cvs/libc-960124
authorRoland McGrath <roland@gnu.org>
Wed, 24 Jan 1996 08:25:13 +0000 (08:25 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 24 Jan 1996 08:25:13 +0000 (08:25 +0000)
ChangeLog
stdio-common/vfscanf.c

index 0c5af3e..b50f6cd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 Wed Jan 24 03:22:07 1996  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
 
+       * stdio-common/vfscanf.c: Disallow l flag after ll or L.
+
        * stdio-common/Makefile (tests): Add scanf[1-9].
        * stdio-common/scanf[1-9].c: New files.  Bug tests from hjl.
 
index 8a799ac..46f0658 100644 (file)
@@ -313,7 +313,7 @@ __vfscanf (FILE *s, const char *format, va_list argptr)
            flags |= SHORT;
            break;
          case 'l':
-           if (flags & SHORT)
+           if (flags & (SHORT|LONGDBL))
              conv_error ();
            else if (flags & LONG)
              {