El 6/19/2014 4:10 AM, Fabian Keil escribió:
"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

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.

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to