diff options
| author | tjg <tjg> | 2001-10-12 09:29:49 +0000 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:23:20 +0100 |
| commit | 0d3f5de9280d8854871efd8a99d1590ea768e350 (patch) | |
| tree | 8fc424f912d69643cb6d5b18c2617d8eefdd4b2e /hash.c | |
| parent | 46f562d0552458b4cf13a11dd342080f73852f09 (diff) | |
Feature: don't export $cdpath or $home (the lower-case versions).
Diffstat (limited to 'hash.c')
| -rw-r--r-- | hash.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -230,7 +230,8 @@ extern void initenv(char **envp) { static bool var_exportable(char *s) { static char *notforexport[] = { - "apid", "apids", "ifs", "path", "pid", "version", "*" + "apid", "apids", "cdpath", "home", "ifs", + "path", "pid", "version", "*" }; int i; for (i = 0; i < arraysize(notforexport); i++) |