This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug admin/17813] New: Incorrect Expression
- From: "sourceware-bugs at internot dot info" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 08 Jan 2015 04:35:09 +0000
- Subject: [Bug admin/17813] New: Incorrect Expression
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=17813
Bug ID: 17813
Summary: Incorrect Expression
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: admin
Assignee: unassigned at sourceware dot org
Reporter: sourceware-bugs at internot dot info
CC: carlos at redhat dot com, roland at gnu dot org
Hi,
In /time/strftime_l.c:
1280 if (modifier == L_('O'))
1281 goto bad_format;
1282 else
1283 DO_NUMBER (1, tp->tm_year + TM_YEAR_BASE);
but DO_NUMBER is a macro:
741#define DO_NUMBER(d, v) \
742 digits = d > width ? d : width;
\
743 number_value = v; goto do_number
which will not run correctly unless DO_NUMBER is in { }'s.
Thanks,
--
You are receiving this mail because:
You are on the CC list for the bug.