diff options
author | Roland McGrath <roland@gnu.org> | 1994-10-10 09:25:42 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1994-10-10 09:25:42 +0000 |
commit | 7f925246e7ae530c9ab7de59ee3a64607918b6a5 (patch) | |
tree | e81e22f1e5b70f0357cebd8015a858b7ef7bba50 | |
parent | 0bf82c4fe50fa61f091975b997c42abd73fe8dbc (diff) |
Grok %q modifier like %ll.
-rw-r--r-- | stdio/vfscanf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/stdio/vfscanf.c b/stdio/vfscanf.c index 6c450a9c5a..ec5e406833 100644 --- a/stdio/vfscanf.c +++ b/stdio/vfscanf.c @@ -162,7 +162,7 @@ DEFUN(__vfscanf, (s, format, arg), /* Check for type modifiers. */ is_short = is_long = is_long_double = malloc_string = 0; - while (*f == 'h' || *f == 'l' || *f == 'L' || *f == 'a') + while (*f == 'h' || *f == 'l' || *f == 'L' || *f == 'a' || *f == 'q') switch (*f++) { case 'h': @@ -177,6 +177,7 @@ DEFUN(__vfscanf, (s, format, arg), /* int's are long int's. */ is_long = 1; break; + case 'q': case 'L': /* double's are long double's, and int's are long long int's. */ is_long_double = 1; |