aboutsummaryrefslogtreecommitdiff
path: root/stdio-common
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-06-10 11:37:36 +0000
committerUlrich Drepper <drepper@redhat.com>1999-06-10 11:37:36 +0000
commit17763865348777221912fb8527f9d327bd9ff37a (patch)
treeb4a04c7c4e8e4c4cb24e88f9b526c472d261ea3f /stdio-common
parent26cee9a49c21e42ecf0b6a9b9940244e4d514dac (diff)
downloadglibc-17763865348777221912fb8527f9d327bd9ff37a.tar
glibc-17763865348777221912fb8527f9d327bd9ff37a.tar.gz
glibc-17763865348777221912fb8527f9d327bd9ff37a.tar.bz2
glibc-17763865348777221912fb8527f9d327bd9ff37a.zip
Update.
* stdio-common/printf-parse.h (parse_one_spec): Add support for a and A format.
Diffstat (limited to 'stdio-common')
-rw-r--r--stdio-common/printf-parse.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/stdio-common/printf-parse.h b/stdio-common/printf-parse.h
index 4f217abfd3..2e6f0dcd99 100644
--- a/stdio-common/printf-parse.h
+++ b/stdio-common/printf-parse.h
@@ -1,5 +1,5 @@
/* Internal header for parsing printf format strings.
- Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of th GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -358,6 +358,8 @@ parse_one_spec (const UCHAR_T *format, size_t posn, struct printf_spec *spec,
case L'f':
case L'g':
case L'G':
+ case L'a':
+ case L'A':
if (spec->info.is_long_double)
spec->data_arg_type = PA_DOUBLE|PA_FLAG_LONG_DOUBLE;
else