Hash :
316a91c6
Author :
Date :
2008-08-02T15:40:39
getdate.y: avoid locale-dependent date parsing failure In Turkish locales, getdate would fail to recognize keywords containing a lowercase "i". The solution is not to rely on locale-sensitive case-conversion. * lib/getdate.y: Include <c-ctype.h> rather than <ctype.h>. (lookup_word): Use c_toupper in place of toupper. (yylex, get_date): Use c_ prefixed variants of isspace and isalpha, too. Reported by Vefa Bicakci <bicave@superonline.com> in <http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/14184>. * modules/getdate (Depends-on): Add c-ctype.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
Description:
Convert a date/time string to linear time.
Files:
doc/getdate.texi
lib/getdate.h
lib/getdate.y
m4/bison.m4
m4/tm_gmtoff.m4
m4/getdate.m4
Depends-on:
c-ctype
stdbool
gettime
intprops
mktime
setenv
unsetenv
time
verify
xalloc
configure.ac:
gl_GETDATE
Makefile.am:
lib_SOURCES += getdate.y
BUILT_SOURCES += getdate.c
MAINTAINERCLEANFILES += getdate.c
EXTRA_DIST += getdate.c
Include:
"getdate.h"
License:
GPL
Maintainer:
Paul Eggert