There's another case of '&' used improperly. http://svn.freebsd.org/viewvc/base?view=revision&revision=90385
if (hdr.elf.e_ident[EI_OSABI] & ELFOSABI_FREEBSD) { is_shlib = 1; } else { hdr.elf.e_ident[EI_OSABI] is not a bitmask and '==' should've been used instead. Now ldd.c has two instances of this bug due to copy/pasting of orignal code. --Artem _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"