Remove LD_NOSTD_PATH unsetenv, it isn't exist anymore
This commit is contained in:
parent
d7582593f6
commit
a18c0b455a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=11768
@ -1835,7 +1835,6 @@ scrub_env()
|
|||||||
for (cpp2 = cpp = environ; *cpp; cpp++) {
|
for (cpp2 = cpp = environ; *cpp; cpp++) {
|
||||||
#ifdef __FreeBSD__
|
#ifdef __FreeBSD__
|
||||||
if (strncmp(*cpp, "LD_LIBRARY_PATH=", 16) &&
|
if (strncmp(*cpp, "LD_LIBRARY_PATH=", 16) &&
|
||||||
strncmp(*cpp, "LD_NOSTD_PATH=", 14) &&
|
|
||||||
strncmp(*cpp, "LD_PRELOAD=", 11) &&
|
strncmp(*cpp, "LD_PRELOAD=", 11) &&
|
||||||
#else
|
#else
|
||||||
if (strncmp(*cpp, "LD_", 3) &&
|
if (strncmp(*cpp, "LD_", 3) &&
|
||||||
|
@ -1835,7 +1835,6 @@ scrub_env()
|
|||||||
for (cpp2 = cpp = environ; *cpp; cpp++) {
|
for (cpp2 = cpp = environ; *cpp; cpp++) {
|
||||||
#ifdef __FreeBSD__
|
#ifdef __FreeBSD__
|
||||||
if (strncmp(*cpp, "LD_LIBRARY_PATH=", 16) &&
|
if (strncmp(*cpp, "LD_LIBRARY_PATH=", 16) &&
|
||||||
strncmp(*cpp, "LD_NOSTD_PATH=", 14) &&
|
|
||||||
strncmp(*cpp, "LD_PRELOAD=", 11) &&
|
strncmp(*cpp, "LD_PRELOAD=", 11) &&
|
||||||
#else
|
#else
|
||||||
if (strncmp(*cpp, "LD_", 3) &&
|
if (strncmp(*cpp, "LD_", 3) &&
|
||||||
|
Loading…
Reference in New Issue
Block a user