Date: Sun, 28 Sep 2014 16:47:30 -0500 From: Pedro Giffuni <pfg@freebsd.org> To: Garrett Cooper <yaneurabeya@gmail.com> Cc: "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org> Subject: Re: svn commit: r272273 - head/lib/libc/stdtime Message-ID: <542881F2.2090000@freebsd.org> In-Reply-To: <B242AE39-3E44-46B7-B931-43887696472E@gmail.com> References: <201409282120.s8SLKLJs070469@svn.freebsd.org> <B242AE39-3E44-46B7-B931-43887696472E@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 09/28/14 16:27, Garrett Cooper wrote: >> On Sep 28, 2014, at 14:20, "Pedro F. Giffuni" <pfg@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! Great! It may be that NetBSD doesn't support %U %W. Still, it would be really interesting to run the NetBSD tests after applying the patch here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=93197 Regards, Pedro.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?542881F2.2090000>