Date: Thu, 19 Jun 2014 10:33:37 -0500 From: Pedro Giffuni <pfg@FreeBSD.org> To: Fabian Keil <freebsd-listen@fabiankeil.de> Cc: svn-src-all@freebsd.org Subject: Re: svn commit: r267627 - head/lib/libc/stdtime Message-ID: <53A302D1.2080909@FreeBSD.org> In-Reply-To: <20140619111056.08264fca@fabiankeil.de> References: <201406182334.s5INYnjo039486@svn.freebsd.org> <20140619111056.08264fca@fabiankeil.de>
next in thread | previous in thread | raw e-mail | index | archive | help
El 6/19/2014 4:10 AM, Fabian Keil escribió: > "Pedro F. Giffuni" <pfg@FreeBSD.org> wrote: > >> Author: pfg >> Date: Wed Jun 18 23:34:48 2014 >> New Revision: 267627 >> URL: http://svnweb.freebsd.org/changeset/base/267627 >> >> Log: >> strptime: add support for %t and %n >> >> Posix strptime() requires support for %t and %n, which were added >> to the illumos port. Curiously we were skipping white spaces by >> default in most other cases making %t meaningless. >> >> We now skip spaces in the case of the %e specifier as strftime(3) >> explicitly adds a space for the single digit case. >> >> Reference: >> http://pubs.opengroup.org/onlinepubs/009695399/functions/strptime.html > > This also fixes standards/173421: > http://www.freebsd.org/cgi/query-pr.cgi?pr=standards/173421 Excellent! I will try to merge it a bit earlier than expected. > (The "Bugzilla version" apparently lacks the test.) > If you feel like writing a kyua test, I'd be happy to integrate it. https://wiki.freebsd.org/TestSuite Pedro.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53A302D1.2080909>