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 [BZ #1468] 2005-10-14 17:20:58 +00:00
bug-asctime.c [BZ #1460] 2005-10-14 15:17:40 +00:00
bug-getdate1.c * time/bug-getdate1.c (do_test): Don't use century values which 2007-12-12 18:23:00 +00:00
bug-mktime1.c [BZ #2821] 2006-09-09 16:56:29 +00:00
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 Testsuite #include fixes. 2012-04-02 22:31:32 +02:00
tst-mktime3.c * time/mktime.c (__mktime_internal): If SEC_REQUESTED != SEC, 2004-12-02 22:16:35 +00:00
tst-mktime.c [BZ #473, BZ #487] 2004-11-01 00:21:39 +00:00
tst-posixtz.c * time/tzset.c (__tzset_parse_tz): Use correct string when parsing 2009-03-10 15:23:46 +00:00
tst-strftime.c
tst-strptime2.c * time/strptime_l.c (__strptime_internal): Handle 'z' to set 2005-04-27 04:33:01 +00:00
tst-strptime3.c [BZ #3944] 2007-02-09 01:33:57 +00:00
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