diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2003-12-01 13:39:17 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2003-12-01 13:39:17 +0300 |
commit | cb766c47bbc85377efabebbb6e34420f80be9aa3 (patch) | |
tree | f96ae623db5da5aecbec2c77703b370688f48db3 /winsup | |
parent | 635fa4ba48fb36f36f4b1d333320aedc6b28e132 (diff) |
* include/tzfile.h: Remove duplicate definition of TM_SUNDAY.
* localtime.cc: Point TZDIR to the /usr/share/zoneinfo directory used
by the tzcode package.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/ChangeLog | 6 | ||||
-rw-r--r-- | winsup/cygwin/include/tzfile.h | 1 | ||||
-rw-r--r-- | 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 <Dr.Volker.Zell@oracle.com> + + * 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 <corinna@vinschen.de> * 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 |