Filter out some more environment variables.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9203 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Björn Groenvall
2000-11-16 18:53:24 +00:00
parent f8a97ef33f
commit 6bf98229af

View File

@@ -1216,7 +1216,13 @@ init_env(void)
static void scrub_env(void)
{
static char *remove[] = { "LD_", "_RLD_", "LIBPATH=", "IFS=", NULL };
static char *remove[] = {
"LD_", "_RLD_", "LIBPATH=",
"IFS=", "ENV=",
"LOCALDOMAIN=", "RES_OPTIONS=",
"TERMINFO=", "TERMINFO_DIRS=", "TERMPATH=", "TERMCAP=/",
NULL
};
char **cpp, **cpp2;
char **p;