diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-08-23 06:35:22 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-08-23 06:35:22 +0000 |
commit | 6c46718f9f0dc0756860988c36eacdefe1cd27a6 (patch) | |
tree | f75fc09a31a8e1d3c26f0796a48bf771e9f43d49 /stdio-common/vfprintf.c | |
parent | cf970a32156e60e8842c5e9e82a3cb147dacaf64 (diff) | |
download | glibc-6c46718f9f0dc0756860988c36eacdefe1cd27a6.tar.gz glibc-6c46718f9f0dc0756860988c36eacdefe1cd27a6.tar.xz glibc-6c46718f9f0dc0756860988c36eacdefe1cd27a6.zip |
Update.
* stdio-common/vfprintf.c: Handle %F format. * stdio-common/printf-parse.h (parse_one_spec): Likewise. Reported by Joseph S. Myers <jsm28@cam.ac.uk>. * stdio-common/tstdiomisc.c: Add test for %F printf format. * po/zh.po: New file.
Diffstat (limited to 'stdio-common/vfprintf.c')
-rw-r--r-- | stdio-common/vfprintf.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/stdio-common/vfprintf.c b/stdio-common/vfprintf.c index 3f13026e14..b90f26f7fa 100644 --- a/stdio-common/vfprintf.c +++ b/stdio-common/vfprintf.c @@ -284,7 +284,7 @@ vfprintf (FILE *s, const CHAR_T *format, va_list ap) /* '8' */ 8, /* '9' */ 8, 0, 0, 0, 0, 0, 0, 0, /* 'A' */ 26, 0, /* 'C' */ 25, - 0, /* 'E' */ 19, 0, /* 'G' */ 19, + 0, /* 'E' */ 19, /* F */ 19, /* 'G' */ 19, 0, /* 'I' */ 29, 0, 0, /* 'L' */ 12, 0, 0, 0, 0, 0, 0, /* 'S' */ 21, @@ -354,7 +354,7 @@ vfprintf (FILE *s, const CHAR_T *format, va_list ap) REF (form_unsigned), /* for 'u' */ \ REF (form_octal), /* for 'o' */ \ REF (form_hexa), /* for 'X', 'x' */ \ - REF (form_float), /* for 'E', 'e', 'f', 'G', 'g' */ \ + REF (form_float), /* for 'E', 'e', 'F', 'f', 'G', 'g' */ \ REF (form_character), /* for 'c' */ \ REF (form_string), /* for 's', 'S' */ \ REF (form_pointer), /* for 'p' */ \ @@ -388,7 +388,7 @@ vfprintf (FILE *s, const CHAR_T *format, va_list ap) REF (form_unsigned), /* for 'u' */ \ REF (form_octal), /* for 'o' */ \ REF (form_hexa), /* for 'X', 'x' */ \ - REF (form_float), /* for 'E', 'e', 'f', 'G', 'g' */ \ + REF (form_float), /* for 'E', 'e', 'F', 'f', 'G', 'g' */ \ REF (form_character), /* for 'c' */ \ REF (form_string), /* for 's', 'S' */ \ REF (form_pointer), /* for 'p' */ \ @@ -422,7 +422,7 @@ vfprintf (FILE *s, const CHAR_T *format, va_list ap) REF (form_unsigned), /* for 'u' */ \ REF (form_octal), /* for 'o' */ \ REF (form_hexa), /* for 'X', 'x' */ \ - REF (form_float), /* for 'E', 'e', 'f', 'G', 'g' */ \ + REF (form_float), /* for 'E', 'e', 'F', 'f', 'G', 'g' */ \ REF (form_character), /* for 'c' */ \ REF (form_string), /* for 's', 'S' */ \ REF (form_pointer), /* for 'p' */ \ @@ -456,7 +456,7 @@ vfprintf (FILE *s, const CHAR_T *format, va_list ap) REF (form_unsigned), /* for 'u' */ \ REF (form_octal), /* for 'o' */ \ REF (form_hexa), /* for 'X', 'x' */ \ - REF (form_unknown), /* for 'E', 'e', 'f', 'G', 'g' */ \ + REF (form_unknown), /* for 'E', 'e', 'F', 'f', 'G', 'g' */ \ REF (form_unknown), /* for 'c' */ \ REF (form_unknown), /* for 's', 'S' */ \ REF (form_unknown), /* for 'p' */ \ @@ -490,7 +490,7 @@ vfprintf (FILE *s, const CHAR_T *format, va_list ap) REF (form_unsigned), /* for 'u' */ \ REF (form_octal), /* for 'o' */ \ REF (form_hexa), /* for 'X', 'x' */ \ - REF (form_float), /* for 'E', 'e', 'f', 'G', 'g' */ \ + REF (form_float), /* for 'E', 'e', 'F', 'f', 'G', 'g' */ \ REF (form_character), /* for 'c' */ \ REF (form_string), /* for 's', 'S' */ \ REF (form_pointer), /* for 'p' */ \ @@ -526,7 +526,7 @@ vfprintf (FILE *s, const CHAR_T *format, va_list ap) REF (form_unsigned), /* for 'u' */ \ REF (form_octal), /* for 'o' */ \ REF (form_hexa), /* for 'X', 'x' */ \ - REF (form_float), /* for 'E', 'e', 'f', 'G', 'g' */ \ + REF (form_float), /* for 'E', 'e', 'F', 'f', 'G', 'g' */ \ REF (form_character), /* for 'c' */ \ REF (form_string), /* for 's', 'S' */ \ REF (form_pointer), /* for 'p' */ \ |