diff options
author | Bruce Momjian | 2004-05-18 03:36:45 +0000 |
---|---|---|
committer | Bruce Momjian | 2004-05-18 03:36:45 +0000 |
commit | 3b382d1ae3be1250d9642a2cffb9e18e11a9cdbd (patch) | |
tree | c49ecdfd72ba59b320cc171490abf5609756819f /src/port/exec.c | |
parent | 4307ca2a4073229a1d323edb53d56c049f952fce (diff) |
Clean up some relative path install issues with Claudio's help.
Diffstat (limited to 'src/port/exec.c')
-rw-r--r-- | src/port/exec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/port/exec.c b/src/port/exec.c index 02defe9a8dd..f98acda3984 100644 --- a/src/port/exec.c +++ b/src/port/exec.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/port/exec.c,v 1.6 2004/05/17 14:35:34 momjian Exp $ + * $PostgreSQL: pgsql/src/port/exec.c,v 1.7 2004/05/18 03:36:45 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -345,7 +345,7 @@ win32_make_absolute(char *path) if (_fullpath(abspath, path, MAXPGPATH) == NULL) { log_debug("Win32 path expansion failed: %s", strerror(errno)); - return path; + StrNCpy(abspath, path, MAXPGPATH); } canonicalize_path(abspath); |