X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Flistused.sh;h=2151653e5807440f5036406298f760c98207857d;hp=525f712f6a805c68ce0404389ffc97c9a9f783ac;hb=9f479192e3ca3413d235c66bf058f8cc63764898;hpb=027ae42953e3186daed8f3882da73de48291b606 diff --git a/test/listused.sh b/test/listused.sh index 525f712f..2151653e 100755 --- a/test/listused.sh +++ b/test/listused.sh @@ -1,6 +1,7 @@ #!/bin/sh ############################################################################## -# Copyright (c) 2003,2006 Free Software Foundation, Inc. # +# Copyright 2020,2021 Thomas E. Dickey # +# Copyright 2003-2006,2010 Free Software Foundation, Inc. # # # # Permission is hereby granted, free of charge, to any person obtaining a # # copy of this software and associated documentation files (the "Software"), # @@ -26,12 +27,13 @@ # use or other dealings in this Software without prior written # # authorization. # ############################################################################## -# $Id: listused.sh,v 1.7 2006/06/03 16:39:37 tom Exp $ -# A very simple script to list entrypoints that are used by either a test +# $Id: listused.sh,v 1.10 2021/06/17 21:20:30 tom Exp $ +# A very simple script to list all entrypoints that are used by either a test # program, or within the libraries. This relies on the output format of 'nm', # and assumes that the libraries are configured with TRACE defined, and using # these options: # --disable-macros +# --enable-sp-funcs # --enable-widec # Static libraries are used, to provide some filtering based on internal usage # of the different symbols. @@ -143,7 +145,7 @@ do if test -z "$HAVE" then for tmp in ../lib/*.a - do + do case $tmp in *_*|*+*) continue