[PATCH 0/2] Make ldd more portable and robust

P. J. McDermott pjm@nac.net
Fri Nov 23 03:40:00 GMT 2012


Hi,

The following patchset makes ldd more portable and robust.  With this,
ldd should work as expected on any sufficiently POSIX-conformant shell.

The interpreter in the magic number line could be changed from @BASH@ to
/bin/sh or some general @SH@ variable, and .bash could be removed from
the file name.  Though I haven't done either in these patches.

(I don't have a copyright assignment agreement on file for glibc.  I
doubt these changes would be considered legally significant, but I can
send in papers if necessary.)

Thanks,
-- 
P. J. McDermott
http://www.pehjota.net/
http://www.pehjota.net/contact.html



More information about the Libc-alpha mailing list