From cb766c47bbc85377efabebbb6e34420f80be9aa3 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 1 Dec 2003 10:39:17 +0000 Subject: [PATCH] * include/tzfile.h: Remove duplicate definition of TM_SUNDAY. * localtime.cc: Point TZDIR to the /usr/share/zoneinfo directory used by the tzcode package. --- winsup/cygwin/ChangeLog | 6 ++++++ winsup/cygwin/include/tzfile.h | 1 - winsup/cygwin/localtime.cc | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 1ed275aa7..0fcd078f9 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,9 @@ +2003-12-01 Dr. Volker Zell + + * include/tzfile.h: Remove duplicate definition of TM_SUNDAY. + * localtime.cc: Point TZDIR to the /usr/share/zoneinfo directory used + by the tzcode package. + 2003-11-30 Corinna Vinschen * flock.cc: Renamed from flock.c. diff --git a/winsup/cygwin/include/tzfile.h b/winsup/cygwin/include/tzfile.h index 870c1bbd0..5586380a8 100644 --- a/winsup/cygwin/include/tzfile.h +++ b/winsup/cygwin/include/tzfile.h @@ -41,7 +41,6 @@ details. */ #define TM_OCTOBER 9 #define TM_NOVEMBER 10 #define TM_DECEMBER 11 -#define TM_SUNDAY 0 #define TM_YEAR_BASE 1900 diff --git a/winsup/cygwin/localtime.cc b/winsup/cygwin/localtime.cc index 3e74667fe..803033d51 100644 --- a/winsup/cygwin/localtime.cc +++ b/winsup/cygwin/localtime.cc @@ -303,7 +303,7 @@ static char tzfilehid[] = "@(#)tzfile.h 7.14"; */ #ifndef TZDIR -#define TZDIR "/usr/local/etc/zoneinfo" /* Time zone object file directory */ +#define TZDIR "/usr/share/zoneinfo" /* Time zone object file directory */ #endif /* !defined TZDIR */ #ifndef TZDEFAULT -- 2.43.5