git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1aa80f5
)
build: don't depend on the word size of nm output
author
Andrew Tridgell
<tridge@samba.org>
Sun, 18 Apr 2010 07:31:24 +0000
(17:31 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Sun, 18 Apr 2010 07:32:26 +0000
(17:32 +1000)
the first column varies in length for different architectures
buildtools/scripts/abi_gen.sh
patch
|
blob
|
history
diff --git
a/buildtools/scripts/abi_gen.sh
b/buildtools/scripts/abi_gen.sh
index fa708dd8e427c6649468742395f01f2323d27749..ce589c292e34dc16bf4e5f612540478180725e82 100755
(executable)
--- a/
buildtools/scripts/abi_gen.sh
+++ b/
buildtools/scripts/abi_gen.sh
@@
-10,7
+10,7
@@
cat <<EOF
set height 0
set width 0
EOF
set height 0
set width 0
EOF
-nm $SHAREDLIB | cut -
c18
- | egrep '^[DGTRVW]' | grep -v @ | cut -c3- | sort | while read s; do
+nm $SHAREDLIB | cut -
d' ' -f2
- | egrep '^[DGTRVW]' | grep -v @ | cut -c3- | sort | while read s; do
echo "echo $s: "
echo p $s
done
echo "echo $s: "
echo p $s
done