diff options
author | Bruce Momjian | 2012-11-14 02:08:07 +0000 |
---|---|---|
committer | Bruce Momjian | 2012-11-14 02:08:07 +0000 |
commit | 3bdfd9cb9e3731a5c27f31db5330b81f170a5db6 (patch) | |
tree | 9590f98b8d2dcdbcfd2f25fb5613f5d6b63072c4 | |
parent | 273986bf0d39e5166eb15ba42ebff4803e23a688 (diff) |
Adjust find_status for newer Linux 'nm' output format.
-rwxr-xr-x | src/tools/find_static | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tools/find_static b/src/tools/find_static index c7014e6014..0643021879 100755 --- a/src/tools/find_static +++ b/src/tools/find_static @@ -16,8 +16,7 @@ trap "rm -f /tmp/$$" 0 1 2 3 15 # symbol, then the function name. find . -name '[a-z]*.o' -type f -print | while read FILE -do - nm $FILE | cut -c10-100 |awk '{printf "%s\t%s\t%s\n", "'"$FILE"'",$1,$2}' +do nm $FILE | cut -c17-100 |awk '{printf "%s\t%s\t%s\n", "'"$FILE"'",$1,$2}' done >/tmp/$$ dropdb debug createdb debug |