summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authortjg <tjg>1999-10-14 09:56:21 +0000
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:23:16 +0100
commita7041ce4c119f290c4dc9f6a002966608c5d8827 (patch)
tree1bc30f8ee6e6e50ac7ad71d8bf5c16f559bbcd34 /hash.c
parentc3ebbbf35d712613024488098645f432160f9e26 (diff)
Portability: exporting `path' causes indigestion in CygWin. Since
it's virtually impossible for a child `rc' process to inherit `path' (which I consider a bug, but it's not going to be fixed now), simply don't export `path'.
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hash.c b/hash.c
index 9376ad4..fd182cc 100644
--- a/hash.c
+++ b/hash.c
@@ -230,7 +230,7 @@ extern void initenv(char **envp) {
static bool var_exportable(char *s) {
static char *notforexport[] = {
- "apid", "apids", "ifs", "pid", "version", "*"
+ "apid", "apids", "ifs", "path", "pid", "version", "*"
};
int i;
for (i = 0; i < arraysize(notforexport); i++)