summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1994-10-08 01:11:45 +0000
committerRoland McGrath <roland@gnu.org>1994-10-08 01:11:45 +0000
commit5e630af6821b22aee10f2cd92dc2a11370296125 (patch)
treece15ed24383bdb8818edcab92b89ae34ea712695
parentfb4192123b52ed3ab265166f6553b09d81d4d91e (diff)
downloadglibc-5e630af6821b22aee10f2cd92dc2a11370296125.tar.gz
glibc-5e630af6821b22aee10f2cd92dc2a11370296125.tar.xz
glibc-5e630af6821b22aee10f2cd92dc2a11370296125.zip
Properly grok %a modifier.
-rw-r--r--stdio/vfscanf.c4
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':