aboutsummaryrefslogtreecommitdiff
path: root/stdio-common/printf-parsemb.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-06-29 17:28:24 +0000
committerUlrich Drepper <drepper@redhat.com>2004-06-29 17:28:24 +0000
commit0b8d139044f6731790bc55663f213eb11487f793 (patch)
tree031e8cc167904971acab362b5336ae5dcd4ad01c /stdio-common/printf-parsemb.c
parentd3d355272a277bfa14914624881f600e5f8b7d10 (diff)
downloadglibc-0b8d139044f6731790bc55663f213eb11487f793.zip
glibc-0b8d139044f6731790bc55663f213eb11487f793.tar.gz
glibc-0b8d139044f6731790bc55663f213eb11487f793.tar.bz2
Update.
2004-06-29 Ulrich Drepper <drepper@redhat.com> * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize info.extra. Patch by Marcus Meissner.
Diffstat (limited to 'stdio-common/printf-parsemb.c')
-rw-r--r--stdio-common/printf-parsemb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/stdio-common/printf-parsemb.c b/stdio-common/printf-parsemb.c
index 4a651cf..c55b970 100644
--- a/stdio-common/printf-parsemb.c
+++ b/stdio-common/printf-parsemb.c
@@ -1,5 +1,5 @@
/* Helper functions for parsing printf format strings.
- Copyright (C) 1995-1999, 2000, 2002, 2003 Free Software Foundation, Inc.
+ Copyright (C) 1995-2000, 2002, 2003, 2004 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
@@ -104,6 +104,7 @@ __parse_one_specmb (const UCHAR_T *format, size_t posn,
spec->info.showsign = 0;
spec->info.group = 0;
spec->info.i18n = 0;
+ spec->info.extra = 0;
spec->info.pad = ' ';
spec->info.wide = sizeof (UCHAR_T) > 1;