This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PING][PATCH v6 0/2] [BZ #16141] strptime %z: fix rounding, extend range


Reminder: this patchset needs final review and merging:

  https://sourceware.org/ml/libc-alpha/2015-08/msg00712.html

Carlos felt it was nearly ready for merge at v5.  Thank you.

On Mon, Aug 17, 2015 at 01:48:37PM -0700, James Perkins wrote:
> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]