rc

[fork] interactive rc shell
Log | Files | Refs | README | LICENSE

commit 0d3f5de9280d8854871efd8a99d1590ea768e350
parent 46f562d0552458b4cf13a11dd342080f73852f09
Author: tjg <tjg>
Date:   Fri, 12 Oct 2001 09:29:49 +0000

  Feature: don't export $cdpath or $home (the lower-case versions).

Diffstat:
Mhash.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/hash.c b/hash.c @@ -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++)