projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
273986b
)
Adjust find_status for newer Linux 'nm' output format.
author
Bruce Momjian
<bruce@momjian.us>
Wed, 14 Nov 2012 02:08:07 +0000
(21:08 -0500)
committer
Bruce Momjian
<bruce@momjian.us>
Wed, 14 Nov 2012 02:08:07 +0000
(21:08 -0500)
src/tools/find_static
patch
|
blob
|
blame
|
history
diff --git
a/src/tools/find_static
b/src/tools/find_static
index c7014e6014b8d917db3627bdbb43c6d04aa46efb..0643021879f6e3d9c3f2e5603ad24b33826f7d3b 100755
(executable)
--- 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