summaryrefslogtreecommitdiff
path: root/src/port/exec.c
diff options
context:
space:
mode:
authorBruce Momjian2004-05-18 03:36:45 +0000
committerBruce Momjian2004-05-18 03:36:45 +0000
commit3b382d1ae3be1250d9642a2cffb9e18e11a9cdbd (patch)
treec49ecdfd72ba59b320cc171490abf5609756819f /src/port/exec.c
parent4307ca2a4073229a1d323edb53d56c049f952fce (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.c4
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);