This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH v5 0/2] [BZ #16141] strptime %z: fix rounding, extend range
- From: James Perkins <james at loowit dot net>
- To: GNU libc <libc-alpha at sourceware dot org>, Carlos O'Donell <carlos at redhat dot com>, Mike Frysinger <vapier at gentoo dot org>, Paul Eggert <eggert at cs dot ucla dot edu>
- Date: Sat, 15 Aug 2015 12:42:50 -0700
- Subject: [PATCH v5 0/2] [BZ #16141] strptime %z: fix rounding, extend range
- Authentication-results: sourceware.org; auth=none
This is V5 of the patchset which fixes rounding errors and range
limits in the GNU libc strptime function's %z format specifier,
and reworks the test case to test against the full input range.
The patch set consists of these patches and differences since V4:
[PATCH 1/2] [BZ #16141] strptime %z: fix rounding, extend range to
* ChangeLog: correct path of time/tst-strptime2.c
[PATCH 2/2] time/tst-strptime2.c: test full input range +/- 0-9999
* fix GNU-style formatting issues
* add a --verbose option
* add test input strings for -0 zone offsets
* mkbuf: snprintf truncation replaces switch/case
* compare: remove unnecessary cast
* do_test: nested loops replace duplicated code
strptime passes all tests after patch 1 alone and after patch 1+2.
tst-strptime2 produces correct output with and without --verbose.
Cheers,
James