From 914d9d7bdfdafd7a7c4416cb6f58bb5e844d3482 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 24 Jan 1996 08:25:13 +0000 Subject: * stdio-common/vfscanf.c: Disallow l flag after ll or L. --- stdio-common/vfscanf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stdio-common/vfscanf.c') diff --git a/stdio-common/vfscanf.c b/stdio-common/vfscanf.c index 8a799acf78..46f0658ef1 100644 --- a/stdio-common/vfscanf.c +++ b/stdio-common/vfscanf.c @@ -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) { -- cgit v1.2.3