projects
/
users
/
simon
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a09e574
)
Tighten typedef check for Linux.
author
Bruce Momjian
<bruce@momjian.us>
Fri, 12 Jun 2009 03:09:07 +0000
(
03:09
+0000)
committer
Bruce Momjian
<bruce@momjian.us>
Fri, 12 Jun 2009 03:09:07 +0000
(
03:09
+0000)
src/tools/find_typedef
patch
|
blob
|
blame
|
history
diff --git
a/src/tools/find_typedef
b/src/tools/find_typedef
index 9f8e2381778943837fe85557439675940bd3554e..4811673aba128b310874cfcf725f425e8e843e06 100755
(executable)
--- a/
src/tools/find_typedef
+++ b/
src/tools/find_typedef
@@
-45,7
+45,7
@@
do # if objdump -W is recognized, only one line of error should appear
# the typedef references, not the definitions, so I think it might
# be fine
objdump -W "$DIR"/* |
- egrep -A3 '
DW_TAG_typedef
' |
+ egrep -A3 '
\(DW_TAG_typedef\)
' |
awk ' $2 == "DW_AT_name" {print $NF}'
elif [ `readelf -w 2>&1 | wc -l` -gt 1 ]
then # FreeBSD, similar output to Linux