glibc/time
Siddhesh Poyarekar abe7f530bf Accept leading and trailing spaces in getdate input string
Fixes #15346.

The POSIX description of getdate allows for extra spaces in the
getdate input string.  __getdate_r uses strptime internally, which
works fine with extra spaces between format strings (and hence within
an input string) but not with leading and trailing spaces.  So we trim
off the leading and trailing spaces before we pass it on to strptime.
2013-04-10 11:31:46 +05:30
..
sys Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
adjtime.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
alt_digit.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
asctime.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
bug-asctime_r.c
bug-asctime.c
bug-getdate1.c
bug-mktime1.c
clock.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
clocktest.c
ctime_r.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
ctime.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
datemsk
Depend
difftime.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dysize.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
era.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
ftime.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
getdate.c Accept leading and trailing spaces in getdate input string 2013-04-10 11:31:46 +05:30
getitimer.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
gettimeofday.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
gmtime.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
lc-time-cleanup.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
localtime.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
Makefile Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
mktime.c Remove lots of inline keywords. 2013-02-07 14:44:18 -08:00
offtime.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
setitimer.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
settimeofday.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
stime.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
strftime_l.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
strftime.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
strptime_l.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
strptime.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
test_time.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
time.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
time.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
timegm.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
timespec_get.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
tst_wcsftime.c
tst-ftime_l.c
tst-getdate.c Accept leading and trailing spaces in getdate input string 2013-04-10 11:31:46 +05:30
tst-mktime2.c
tst-mktime3.c
tst-mktime.c
tst-posixtz.c
tst-strftime.c
tst-strptime2.c
tst-strptime3.c
tst-strptime.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
tzfile.c * time/tzfile.c: Include stdint.h for SIZE_MAX. 2013-01-26 14:56:21 +13:00
tzset.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
Versions Sort Versions files 2013-02-17 16:34:04 +01:00
wcsftime_l.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
wcsftime.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00