Date: Thu, 19 Jun 2014 11:10:56 +0200 From: Fabian Keil <freebsd-listen@fabiankeil.de> To: "Pedro F. Giffuni" <pfg@FreeBSD.org> Cc: svn-src-all@freebsd.org Subject: Re: svn commit: r267627 - head/lib/libc/stdtime Message-ID: <20140619111056.08264fca@fabiankeil.de> In-Reply-To: <201406182334.s5INYnjo039486@svn.freebsd.org> References: <201406182334.s5INYnjo039486@svn.freebsd.org>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] "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 (The "Bugzilla version" apparently lacks the test.) Fabian [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iEYEARECAAYFAlOiqSoACgkQBYqIVf93VJ2OHACgmzkwkKJBzovODkVFIs10iWs8 kJQAnjGeAtVlYIgFWX8+8RNaWWS7dlF0 =Nbay -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140619111056.08264fca>
