diff options
-rw-r--r-- | gnu/usr.bin/ld/rtld/rtld.c | 3 | ||||
-rw-r--r-- | libexec/rtld-aout/rtld.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/gnu/usr.bin/ld/rtld/rtld.c b/gnu/usr.bin/ld/rtld/rtld.c index b220822..8855d4e 100644 --- a/gnu/usr.bin/ld/rtld/rtld.c +++ b/gnu/usr.bin/ld/rtld/rtld.c @@ -27,7 +27,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: rtld.c,v 1.26 1995/09/27 23:14:08 nate Exp $ + * $Id: rtld.c,v 1.27 1995/09/27 23:17:33 nate Exp $ */ #include <sys/param.h> @@ -264,6 +264,7 @@ struct _dynamic *dp; if (careful) { unsetenv("LD_LIBRARY_PATH"); + unsetenv("LD_NOSTD_PATH"); unsetenv("LD_PRELOAD"); } diff --git a/libexec/rtld-aout/rtld.c b/libexec/rtld-aout/rtld.c index b220822..8855d4e 100644 --- a/libexec/rtld-aout/rtld.c +++ b/libexec/rtld-aout/rtld.c @@ -27,7 +27,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: rtld.c,v 1.26 1995/09/27 23:14:08 nate Exp $ + * $Id: rtld.c,v 1.27 1995/09/27 23:17:33 nate Exp $ */ #include <sys/param.h> @@ -264,6 +264,7 @@ struct _dynamic *dp; if (careful) { unsetenv("LD_LIBRARY_PATH"); + unsetenv("LD_NOSTD_PATH"); unsetenv("LD_PRELOAD"); } |