git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1ef4eee)
Tighten typedef check for Linux.
2009年6月12日 03:09:07 +0000 (03:09 +0000)
2009年6月12日 03:09:07 +0000 (03:09 +0000)

diff --git a/src/tools/find_typedef b/src/tools/find_typedef
index 43aa932be70e7716f48661d09d9b220a7be05827..4e1ca88d96b8aec80c08a5e7d994ac206e1e438c 100755 (executable)
--- a/src/tools/find_typedef
+++ b/src/tools/find_typedef
@@ -1,6 +1,6 @@
#!/bin/sh
-# $PostgreSQL: pgsql/src/tools/find_typedef,v 1.15 2009年06月12日 03:04:48 momjian Exp $
+# $PostgreSQL: pgsql/src/tools/find_typedef,v 1.16 2009年06月12日 03:09:07 momjian Exp $
# This script attempts to find all typedef's in the postgres binaries
# by using 'nm' to report all typedef debugging symbols.
@@ -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
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /