X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Flistused.sh;h=2151653e5807440f5036406298f760c98207857d;hp=1c3fe0a64d5130a908c09ce2ffb19c887923458c;hb=9f479192e3ca3413d235c66bf058f8cc63764898;hpb=0ac2306dd3aaab1338d8b1458c15a7e476cfc3ff diff --git a/test/listused.sh b/test/listused.sh index 1c3fe0a6..2151653e 100755 --- a/test/listused.sh +++ b/test/listused.sh @@ -1,6 +1,7 @@ #!/bin/sh ############################################################################## -# Copyright (c) 2003-2006,2010 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,7 +27,7 @@ # use or other dealings in this Software without prior written # # authorization. # ############################################################################## -# $Id: listused.sh,v 1.8 2010/09/18 15:15:15 tom Exp $ +# $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 @@ -144,7 +145,7 @@ do if test -z "$HAVE" then for tmp in ../lib/*.a - do + do case $tmp in *_*|*+*) continue