1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/lib/libc/stdtime
Pedro F. Giffuni cd9dcb0307 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

Obtained from:	Illumos (Rev. a11c1571b6942161b0186d0588609448066892c2)
MFC after:	3 weeks
2014-06-18 23:34:48 +00:00
..
Makefile.inc Replace use of ${.CURDIR} by ${LIBC_SRCTOP} and define ${LIBC_SRCTOP} 2014-03-04 02:19:39 +00:00
strftime.3 Fix syntax error. 2014-06-18 18:31:35 +00:00
strftime.c stdtime: style(9) fixes. 2014-06-18 02:36:21 +00:00
strptime.3
strptime.c strptime: add support for %t and %n 2014-06-18 23:34:48 +00:00
Symbol.map
time32.c
timelocal.c stdtime: style(9) fixes. 2014-06-18 02:36:21 +00:00
timelocal.h