aboutsummaryrefslogtreecommitdiff
path: root/src/port
diff options
context:
space:
mode:
Diffstat (limited to 'src/port')
-rw-r--r--src/port/exec.c5
-rw-r--r--src/port/getopt.c2
2 files changed, 3 insertions, 4 deletions
diff --git a/src/port/exec.c b/src/port/exec.c
index 7d623a25d7d..650fc724768 100644
--- a/src/port/exec.c
+++ b/src/port/exec.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/port/exec.c,v 1.28 2004/09/27 23:58:09 momjian Exp $
+ * $PostgreSQL: pgsql/src/port/exec.c,v 1.29 2004/10/07 15:21:57 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -277,8 +277,7 @@ find_my_exec(const char *argv0, char *retpath)
log_error("could not find a \"%s\" to execute", argv0);
return -1;
-#if 0
-
+#if NOT_USED
/*
* Win32 has a native way to find the executable name, but the above
* method works too.
diff --git a/src/port/getopt.c b/src/port/getopt.c
index 512331d21c4..8451a872aa1 100644
--- a/src/port/getopt.c
+++ b/src/port/getopt.c
@@ -119,7 +119,7 @@ const char *ostr;
return BADCH;
}
else
-/* white space */
+ /* white space */
optarg = nargv[optind];
place = EMSG;
++optind;