1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-18 23:42:00 +03:00
Files
gnulib/modules/getdate
Jim Meyering 316a91c6f7 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.
2008-08-04 07:44:56 +02:00

41 lines
450 B
Plaintext

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