From 8b0cc8781764e0d1b203423033fab71774e40016 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 6 Feb 2006 11:57:03 +0000 Subject: 22195: don't set HOME in the shell --- Src/params.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Src/params.c') diff --git a/Src/params.c b/Src/params.c index 0d3b6a25b..5e4231cac 100644 --- a/Src/params.c +++ b/Src/params.c @@ -257,7 +257,7 @@ IPDEF1("TTYIDLE", ttyidle_gsu, PM_READONLY), IPDEF2("USERNAME", username_gsu, PM_DONTIMPORT|PM_RESTRICTED), IPDEF2("-", dash_gsu, PM_READONLY), IPDEF2("histchars", histchars_gsu, PM_DONTIMPORT), -IPDEF2("HOME", home_gsu, 0), +IPDEF2("HOME", home_gsu, PM_UNSET), IPDEF2("TERM", term_gsu, 0), IPDEF2("WORDCHARS", wordchars_gsu, 0), IPDEF2("IFS", ifs_gsu, PM_DONTIMPORT), @@ -690,9 +690,6 @@ createparamtable(void) *envp = '\0'; opts[ALLEXPORT] = oae; - pm = (Param) paramtab->getnode(paramtab, "HOME"); - if (!(pm->flags & PM_EXPORTED)) - addenv(pm, home); pm = (Param) paramtab->getnode(paramtab, "LOGNAME"); if (!(pm->flags & PM_EXPORTED)) addenv(pm, pm->u.str); -- cgit 1.4.1