diff options
author | Bruce Momjian | 2004-04-30 20:23:28 +0000 |
---|---|---|
committer | Bruce Momjian | 2004-04-30 20:23:28 +0000 |
commit | 85b7e8351f1647d1941eb4ddd1f89f9765d5f907 (patch) | |
tree | fb4d75668ea4ed4caf6d1173b4327af1abf4de94 /src/timezone/pgtz.c | |
parent | 04d426ba7065301f65227259209ecc9e5a314551 (diff) |
Fix zic compiler to use pg version.
Move timezone database to share/timezone.
Diffstat (limited to 'src/timezone/pgtz.c')
-rw-r--r-- | src/timezone/pgtz.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/timezone/pgtz.c b/src/timezone/pgtz.c index 8e94fc8c6c5..efa9b4119ea 100644 --- a/src/timezone/pgtz.c +++ b/src/timezone/pgtz.c @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group * * IDENTIFICATION - * $PostgreSQL: pgsql/src/timezone/pgtz.c,v 1.2 2004/04/30 14:24:14 momjian Exp $ + * $PostgreSQL: pgsql/src/timezone/pgtz.c,v 1.3 2004/04/30 20:23:28 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -23,7 +23,7 @@ char *pgwin32_TZDIR(void) { return tzdir; #ifndef WIN32 - StrNCpy(tzdir,PKGLIBDIR, MAXPGPATH); + StrNCpy(tzdir, PGDATADIR, MAXPGPATH); #else if (GetModuleFileName(NULL,tzdir,MAXPGPATH) == 0) return NULL; @@ -35,7 +35,7 @@ char *pgwin32_TZDIR(void) { else *p = '\0'; - strcat(tzdir,"/../timezone"); + strcat(tzdir,"/timezone"); done_tzdir=1; return tzdir; |