aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJohn Polstra <jdp@FreeBSD.org>1997-01-12 00:10:57 +0000
committerJohn Polstra <jdp@FreeBSD.org>1997-01-12 00:10:57 +0000
commit18c0f29eaa11947bdced825c1552de2bf5632104 (patch)
tree88f7bdd92cb2228be605ea759a2ae098fab81276 /usr.bin
parentd3c677c7e0039cb80844be0eb5c0a6d065a84b62 (diff)
downloadsrc-18c0f29eaa11947bdced825c1552de2bf5632104.tar.gz
src-18c0f29eaa11947bdced825c1552de2bf5632104.zip
Set LD_TRACE_LOADED_OBJECTS to "1" instead of to "". The dynamic linker
now treats empty "LD_*" environment variables as if they were unset, per the standard SVR4 conventions.
Notes
Notes: svn path=/head/; revision=21576
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ldd/ldd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ldd/ldd.c b/usr.bin/ldd/ldd.c
index abd0106fdafe..875d229b4ec1 100644
--- a/usr.bin/ldd/ldd.c
+++ b/usr.bin/ldd/ldd.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: ldd.c,v 1.9 1996/11/22 13:58:03 peter Exp $
+ * $Id: ldd.c,v 1.10 1996/11/30 16:12:46 bde Exp $
*/
#include <sys/types.h>
@@ -100,7 +100,7 @@ char *argv[];
}
/* ld.so magic */
- setenv("LD_TRACE_LOADED_OBJECTS", "", 1);
+ setenv("LD_TRACE_LOADED_OBJECTS", "1", 1);
if (fmt1)
setenv("LD_TRACE_LOADED_OBJECTS_FMT1", fmt1, 1);
if (fmt2)