svn commit: r267627 - head/lib/libc/stdtime
Pedro Giffuni
pfg at FreeBSD.org
Thu Jun 19 15:34:11 UTC 2014
El 6/19/2014 4:10 AM, Fabian Keil escribió:
> "Pedro F. Giffuni" <pfg at 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.
More information about the svn-src-all
mailing list