more people use _RLD_ than just alphas...

This commit is contained in:
Todd C. Miller
1995-11-19 15:47:50 +00:00
parent 5eb9954c21
commit e3f95518c2

6
sudo.c
View File

@@ -149,20 +149,18 @@ extern int printmatches;
* Table of "bad" envariables to remove and len for strncmp() * Table of "bad" envariables to remove and len for strncmp()
*/ */
struct env_table badenv_table[] = { struct env_table badenv_table[] = {
{ "IFS=", 4 },
{ "LD_", 3 }, { "LD_", 3 },
{ "_RLD_", 5 },
#ifdef __hpux #ifdef __hpux
{ "SHLIB_PATH=", 11 }, { "SHLIB_PATH=", 11 },
#endif /* __hpux */ #endif /* __hpux */
#ifdef _AIX #ifdef _AIX
{ "LIBPATH=", 8 }, { "LIBPATH=", 8 },
#endif /* _AIX */ #endif /* _AIX */
#if defined (__osf__) && defined(__alpha)
{ "_RLD_", 5 },
#endif /* __alpha && __alpha */
#ifdef HAVE_KERB4 #ifdef HAVE_KERB4
{ "KRB_CONF", 8 }, { "KRB_CONF", 8 },
#endif #endif
{ "IFS=", 4 },
{ (char *) NULL, 0 } { (char *) NULL, 0 }
}; };