aboutsummaryrefslogtreecommitdiff
path: root/src/port/exec.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2011-02-02 22:49:54 -0500
committerBruce Momjian <bruce@momjian.us>2011-02-02 22:49:54 -0500
commit426227850be145b52cb610455000fc005df5ce4e (patch)
tree9c7e493343a44a331425b8d0da2cd87dded84761 /src/port/exec.c
parentbffb638d16999ee7d3c8796e77dd87ac82719c7d (diff)
downloadpostgresql-426227850be145b52cb610455000fc005df5ce4e.tar.gz
postgresql-426227850be145b52cb610455000fc005df5ce4e.zip
Rename function to first_path_var_separator() to clarify it works with
path variables, not directory paths.
Diffstat (limited to 'src/port/exec.c')
-rw-r--r--src/port/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/port/exec.c b/src/port/exec.c
index 24051401289..6027917b576 100644
--- a/src/port/exec.c
+++ b/src/port/exec.c
@@ -168,7 +168,7 @@ find_my_exec(const char *argv0, char *retpath)
else
startp = endp + 1;
- endp = first_path_separator(startp);
+ endp = first_path_var_separator(startp);
if (!endp)
endp = startp + strlen(startp); /* point to end */