[PATCH v6 0/2] [BZ #16141] strptime %z: fix rounding, extend range
James Perkins
james@loowit.net
Mon Aug 17 20:48:00 GMT 2015
This is V6 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 V5,
to address Mike Frysinger and Carlos O'Donell feedback:
[PATCH v6 1/2] [BZ #16141] strptime %z: fix rounding, extend range to
* No changes needed since V5.
[PATCH v6 2/2] time/tst-strptime2.c: test full input range +/- 0-9999
* Declare dummy_string as const char [], not const char const *.
* GNU-style: make conversions between bool and int explicit,
in both evaluation statements and parameter passing.
* Remove unnecessary extern for verbose flag.
* do_test, compare: pass nresult[] array for accumulating counts
of pass and fail, instead of using globals nfail, npass.
Cheers,
James
More information about the Libc-alpha
mailing list