summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/radixsort.c
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2014-10-08 16:29:46 +0000
committerpfg <pfg@FreeBSD.org>2014-10-08 16:29:46 +0000
commitdb3266a5c52784a19ec280a7a32336cef9661772 (patch)
tree69a0ea76d674959182f14d7eac2f73477cff6bf7 /lib/libc/stdlib/radixsort.c
parent5c61a9046aeceaf7a53c988a6b14b54e8dd6d488 (diff)
downloadFreeBSD-src-db3266a5c52784a19ec280a7a32336cef9661772.zip
FreeBSD-src-db3266a5c52784a19ec280a7a32336cef9661772.tar.gz
MFC r272273, r272387, r272443, r272533 :
Add strptime(3) support for %U and %W 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 Relnotes: yes MFC r272441 : strptime: %s format fix. Almost never needed in real life because %s is tends to be only one format spec. 1) Return code of gmtime_r() is checked. 2) All flags are set. Submitted by: ache
Diffstat (limited to 'lib/libc/stdlib/radixsort.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud