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: 208d3a7)
Fix Linux typedef code.
2009年6月10日 15:13:45 +0000 (15:13 +0000)
2009年6月10日 15:13:45 +0000 (15:13 +0000)

diff --git a/src/tools/find_typedef b/src/tools/find_typedef
index cd7fe886cb9f2c71cfea10306d9b1593d7469c6c..5ce2d1f23b166aec3ea7555d21a5289503ed424c 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.12 2009年06月10日 03:38:32 momjian Exp $
+# $PostgreSQL: pgsql/src/tools/find_typedef,v 1.13 2009年06月10日 15:13:45 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|DW_TAG_structure_type|DW_TAG_union_type)' |
+ egrep -A3 'DW_TAG_typedef' |
awk ' 2ドル == "DW_AT_name" {print $NF}'
else # BSD/OS
objdump --stabs "$DIR"/* |
This is the main PostgreSQL git repository.
RSS Atom

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