diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1995-10-24 06:48:16 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1995-10-24 06:48:16 +0000 |
| commit | a4057ed8d35aa08c6b47448a5007a74bef4d9728 (patch) | |
| tree | 279348a91a6200d6e1e9c0bb9042bf2485588d5b /gnu | |
| parent | 8bbd90727373467dcce77571238fceb192af0747 (diff) | |
Notes
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/usr.bin/ld/ld.c | 4 | ||||
| -rw-r--r-- | gnu/usr.bin/ld/rtld/rtld.c | 6 |
2 files changed, 4 insertions, 6 deletions
diff --git a/gnu/usr.bin/ld/ld.c b/gnu/usr.bin/ld/ld.c index 8fafef185843..cb5966072ed9 100644 --- a/gnu/usr.bin/ld/ld.c +++ b/gnu/usr.bin/ld/ld.c @@ -32,7 +32,7 @@ static char sccsid[] = "@(#)ld.c 6.10 (Berkeley) 5/22/91"; Set, indirect, and warning symbol features added by Randy Smith. */ /* - * $Id: ld.c,v 1.29 1995/07/13 08:30:07 rgrimes Exp $ + * $Id: ld.c,v 1.30 1995/09/28 19:43:20 bde Exp $ */ /* Define how to initialize system-dependent header fields. */ @@ -560,7 +560,7 @@ decode_command(argc, argv) /* Append the standard search directories to the user-specified ones. */ add_search_path(getenv("LD_LIBRARY_PATH")); - if (!nostdlib && getenv("LD_NOSTD_PATH") == NULL) + if (!nostdlib) std_search_path(); } diff --git a/gnu/usr.bin/ld/rtld/rtld.c b/gnu/usr.bin/ld/rtld/rtld.c index 8855d4e28a60..3f6f7aadfa38 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.27 1995/09/27 23:17:33 nate Exp $ + * $Id: rtld.c,v 1.28 1995/10/21 14:52:48 ache Exp $ */ #include <sys/param.h> @@ -264,14 +264,12 @@ struct _dynamic *dp; if (careful) { unsetenv("LD_LIBRARY_PATH"); - unsetenv("LD_NOSTD_PATH"); unsetenv("LD_PRELOAD"); } /* Setup directory search */ add_search_path(getenv("LD_LIBRARY_PATH")); - if (getenv("LD_NOSTD_PATH") == NULL) - std_search_path(); + std_search_path(); anon_open(); /* Load required objects into the process address space */ |
