diff options
author | Roland McGrath <roland@gnu.org> | 1994-10-08 01:11:45 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1994-10-08 01:11:45 +0000 |
commit | 5e630af6821b22aee10f2cd92dc2a11370296125 (patch) | |
tree | ce15ed24383bdb8818edcab92b89ae34ea712695 | |
parent | fb4192123b52ed3ab265166f6553b09d81d4d91e (diff) | |
download | glibc-5e630af6821b22aee10f2cd92dc2a11370296125.tar.gz glibc-5e630af6821b22aee10f2cd92dc2a11370296125.tar.xz glibc-5e630af6821b22aee10f2cd92dc2a11370296125.zip |
Properly grok %a modifier.
-rw-r--r-- | stdio/vfscanf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stdio/vfscanf.c b/stdio/vfscanf.c index 0bc23ead0f..6c450a9c5a 100644 --- a/stdio/vfscanf.c +++ b/stdio/vfscanf.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1992, 1993, 1994 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -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') + while (*f == 'h' || *f == 'l' || *f == 'L' || *f == 'a') switch (*f++) { case 'h': |