From 0d3f5de9280d8854871efd8a99d1590ea768e350 Mon Sep 17 00:00:00 2001 From: tjg Date: Fri, 12 Oct 2001 09:29:49 +0000 Subject: Feature: don't export $cdpath or $home (the lower-case versions). --- hash.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'hash.c') diff --git a/hash.c b/hash.c index fd182cc..16971ef 100644 --- 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++) -- cgit v1.2.3