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
adjtime.c
alt_digit.c
asctime.c
bug-asctime_r.c
bug-asctime.c
bug-getdate1.c
bug-mktime1.c
clock.c
clocktest.c
ctime_r.c
ctime.c
datemsk
Depend
difftime.c
dysize.c
era.c
ftime.c
getdate.c Accept leading and trailing spaces in getdate input string 2013-04-10 11:31:46 +05:30
getitimer.c
gettimeofday.c
gmtime.c
lc-time-cleanup.c
localtime.c
Makefile
mktime.c
offtime.c
setitimer.c
settimeofday.c
stime.c
strftime_l.c
strftime.c
strptime_l.c
strptime.c
test_time.c
time.c
time.h
timegm.c
timespec_get.c
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
tzfile.c
tzset.c
Versions Sort Versions files 2013-02-17 16:34:04 +01:00
wcsftime_l.c
wcsftime.c