summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--hash.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1d86e88..8e7181d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -629,3 +629,10 @@ Changes since rc-1.5b2
sys_errlist[] where not.
Feature: replace `-V' with `version' variable.
+
+1999-10-14
+
+ 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'.
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++)