svn commit: r272273 - head/lib/libc/stdtime

Garrett Cooper yaneurabeya at gmail.com
Sun Sep 28 21:27:44 UTC 2014


> On Sep 28, 2014, at 14:20, "Pedro F. Giffuni" <pfg at FreeBSD.org> wrote:
> 
> Author: pfg
> Date: Sun Sep 28 21:20:20 2014
> New Revision: 272273
> URL: http://svnweb.freebsd.org/changeset/base/272273
> 
> Log:
>  Add strptime(3) support for %U and %W (take 2)
> 
>  Add support for the missing POSIX-2001 %U and %W features: the
>  existing FreeBSD strptime code recognizes both directives and
>  validates that the week number lies in the permitted range,
>  but then simply discards the value.
> 
>  Initial support for the feature was written by Paul Green.
>  David Carlier added the initial handling of tm_wday/tm_yday.
>  Major credit goes to Andrey Chernov for detecting much of the
>  brokenness, and rewriting/cleaning most of the code, making it
>  much more robust.
> 
>  Tested independently with the strptime test from the GNU C
>  library.

    I'll try the netbsd testcases as well.
Thanks!


More information about the svn-src-head mailing list