mirror of
https://github.com/postgres/postgres.git
synced 2025-06-25 01:02:05 +03:00
Clean up some relative path install issues with Claudio's help.
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/timezone/pgtz.c,v 1.8 2004/05/17 14:35:34 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/timezone/pgtz.c,v 1.9 2004/05/18 03:36:45 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -17,15 +17,14 @@
|
||||
|
||||
static char tzdir[MAXPGPATH];
|
||||
static int done_tzdir = 0;
|
||||
|
||||
char *
|
||||
pg_TZDIR(void)
|
||||
{
|
||||
char *p;
|
||||
|
||||
if (done_tzdir)
|
||||
return tzdir;
|
||||
|
||||
get_share_dir(my_exec_path, tzdir);
|
||||
get_share_path(my_exec_path, tzdir);
|
||||
strcat(tzdir, "/timezone");
|
||||
|
||||
done_tzdir = 1;
|
||||
|
Reference in New Issue
Block a user