Skip site navigation (1)Skip section navigation (2)
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>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/=Q0YJ=XsOpRV=2IZ7jEZsAX
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

"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
>=20
> Log:
>   strptime: add support for %t and %n
>  =20
>   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.
>  =20
>   We now skip spaces in the case of the %e specifier as strftime(3)
>   explicitly adds a space for the single digit case.
>  =20
>   Reference:
>   http://pubs.opengroup.org/onlinepubs/009695399/functions/strptime.html

This also fixes standards/173421:
http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dstandards/173421
(The "Bugzilla version" apparently lacks the test.)

Fabian

--Sig_/=Q0YJ=XsOpRV=2IZ7jEZsAX
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)

iEYEARECAAYFAlOiqSoACgkQBYqIVf93VJ2OHACgmzkwkKJBzovODkVFIs10iWs8
kJQAnjGeAtVlYIgFWX8+8RNaWWS7dlF0
=Nbay
-----END PGP SIGNATURE-----

--Sig_/=Q0YJ=XsOpRV=2IZ7jEZsAX--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140619111056.08264fca>