freebsd-dev/lib/libc
Pedro F. Giffuni 2e46558755 Add strptime(3) support for %U and %W (take 2)
Add support for the missing POSIX-2001 %U and %W features: the
existing FreeBSD strptime code recognizes both directives and
validates that the week number lies in the permitted range,
but then simply discards the value.

Initial support for the feature was written by Paul Green.
David Carlier added the initial handling of tm_wday/tm_yday.
Major credit goes to Andrey Chernov for detecting much of the
brokenness, and rewriting/cleaning most of the code, making it
much more robust.

Tested independently with the strptime test from the GNU C
library.

PR:		137307
MFC after:	1 month
Relnotes:	yes
2014-09-28 21:20:20 +00:00
..
amd64 siglongjmp(): Preserve floating point exception flags on i386 and amd64. 2014-06-09 21:35:36 +00:00
arm Add the fp{get,set}{mask,round} functions to the public symbols in the map. 2014-09-05 18:11:36 +00:00
capability use .Mt to mark up email addresses consistently (part4) 2014-06-23 08:25:03 +00:00
compat-43 Replace use of ${.CURDIR} by ${LIBC_SRCTOP} and define ${LIBC_SRCTOP} 2014-03-04 02:19:39 +00:00
db Let __bt_put() accept the R_SETCURSOR flag, as stated in the dbopen(3) manpage. 2014-03-06 07:44:45 +00:00
gdtoa Replace use of ${.CURDIR} by ${LIBC_SRCTOP} and define ${LIBC_SRCTOP} 2014-03-04 02:19:39 +00:00
gen Explicitly set MAP_PRIVATE to avoid [EINVAL] after r271635. 2014-09-17 20:26:27 +00:00
gmon Replace use of ${.CURDIR} by ${LIBC_SRCTOP} and define ${LIBC_SRCTOP} 2014-03-04 02:19:39 +00:00
i386 siglongjmp(): Preserve floating point exception flags on i386 and amd64. 2014-06-09 21:35:36 +00:00
iconv fix misordering... 2014-08-04 21:12:38 +00:00
include Update our stub resolver to final version of libbind. 2014-08-12 12:36:06 +00:00
inet Update our stub resolver to final version of libbind. 2014-08-12 12:36:06 +00:00
isc Update our stub resolver to final version of libbind. 2014-08-12 12:36:06 +00:00
locale libc/locale: Remove a wrong comma. 2014-09-04 17:36:21 +00:00
md Bring the md5 functions into libc for internal use only. 2014-08-12 12:25:56 +00:00
mips Remove ia64. 2014-07-07 00:27:09 +00:00
nameser Add missing break. 2014-08-20 14:58:25 +00:00
net Add support for the SCTP_PR_STREAM_STATUS and SCTP_PR_ASSOC_STATUS 2014-08-13 15:50:16 +00:00
nls Replace use of ${.CURDIR} by ${LIBC_SRCTOP} and define ${LIBC_SRCTOP} 2014-03-04 02:19:39 +00:00
posix1e use .Mt to mark up email addresses consistently (part4) 2014-06-23 08:25:03 +00:00
powerpc Convert from WITHOUT_SYSCALL_COMPAT to MK_SYSCALL_COMPAT. 2014-04-05 17:54:43 +00:00
powerpc64 Convert from WITHOUT_SYSCALL_COMPAT to MK_SYSCALL_COMPAT. 2014-04-05 17:54:43 +00:00
quad Replace use of ${.CURDIR} by ${LIBC_SRCTOP} and define ${LIBC_SRCTOP} 2014-03-04 02:19:39 +00:00
regex regex(3): Add support for \< and \> word delimiters 2014-06-30 20:54:25 +00:00
resolv Update our stub resolver to final version of libbind. 2014-08-12 12:36:06 +00:00
rpc Properly free resources in case of error. 2014-05-02 20:41:09 +00:00
softfloat Replace use of ${.CURDIR} by ${LIBC_SRCTOP} and define ${LIBC_SRCTOP} 2014-03-04 02:19:39 +00:00
sparc64 Convert from WITHOUT_SYSCALL_COMPAT to MK_SYSCALL_COMPAT. 2014-04-05 17:54:43 +00:00
stdio Fix the example: free the memory that was allocated by getline(). 2014-07-31 08:28:42 +00:00
stdlib Add bsearch_b to the libc map and the stdlib header. 2014-09-01 22:25:42 +00:00
stdtime Add strptime(3) support for %U and %W (take 2) 2014-09-28 21:20:20 +00:00
string use .Mt to mark up email addresses consistently (part4) 2014-06-23 08:25:03 +00:00
sys - Remove mention of MAP_INHERIT. It hasn't been implemented for thirteen 2014-09-17 19:45:34 +00:00
uuid Replace use of ${.CURDIR} by ${LIBC_SRCTOP} and define ${LIBC_SRCTOP} 2014-03-04 02:19:39 +00:00
xdr Remove ia64. 2014-07-07 00:27:09 +00:00
yp Replace use of ${.CURDIR} by ${LIBC_SRCTOP} and define ${LIBC_SRCTOP} 2014-03-04 02:19:39 +00:00
libc.ldscript Attempt to move the POSIX iconv* symbols out of runtime linker space. 2013-11-17 22:52:17 +00:00
Makefile Fix incremental builds involving non-root users with read-only source files. 2014-09-18 14:41:57 +00:00
Versions.def Fix the inheritance of the FBSDprivate_1.0 namespace. 2014-04-03 17:31:38 +00:00