freebsd-dev/usr.bin/ldd
Akinori MUSHA 005ba515dc Fix a tiny bug in shlib support of ldd(1); if dlopen(lib, RTLD_TRACE)
returns, exit gracefully with 0.

This fixes the behavior you see when you specify libc.so.  It occurs
because ldd(1) itself is linked with libc.so.

	$ ldd /usr/lib/libc.so
	/usr/lib/libc.so:
	ldd: /usr/lib/libc.so: (null)
	/usr/lib/libc.so: exit status 1

Reviewed by:	silence of audit@
2002-05-17 17:06:56 +00:00
..
extern.h Warns; ANSIfy, constify and move declarations into a common header. 2002-04-28 12:55:35 +00:00
ldd.1 Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
ldd.c Fix a tiny bug in shlib support of ldd(1); if dlopen(lib, RTLD_TRACE) 2002-05-17 17:06:56 +00:00
Makefile Remove GCC-specific flags. 2002-04-28 12:54:24 +00:00
sods.c Warns; ANSIfy, constify and move declarations into a common header. 2002-04-28 12:55:35 +00:00