Quoting Brooks Davis <[EMAIL PROTECTED]>:

 | On Fri, Nov 08, 2002 at 04:16:06PM -0700, M. Warner Losh wrote:
 | > I'd love for there to be a way to know which binaries use __sF.
 | 
 | The following script run on your bin, sbin, lib, and libexec directories
 | does a pretty decent job of finding files that contain refrences to __sF
 | and listing the ports that use them (depend on portupgrade).
 | 
 | -- Brooks
 | 
 | 
 | #!/bin/sh
 | 
 | sym=__sF
 | 
 | for file in $*; do
 |      if [ -n "`nm ${file} 2>&1 | egrep " ${sym}$"`" ]; then
 |              echo ${file} `pkg_which $file`
 |      fi
 | done
 |

FWIW, while playing with the script I found libc_p.a from today's build.

ed

BTW, I did remove the $ from $*.  I thought it was running too fast :-)



-- 


-------------------------------------------------


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to