more people use _RLD_ than just alphas...
This commit is contained in:
6
sudo.c
6
sudo.c
@@ -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 }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user