"Pedro F. Giffuni" <[email protected]> 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
(The "Bugzilla version" apparently lacks the test.)

Fabian

Attachment: signature.asc
Description: PGP signature

Reply via email to