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: 6c4b3f5)
Fix BSD find_typedef logic.
2009年6月10日 03:38:32 +0000 (03:38 +0000)
2009年6月10日 03:38:32 +0000 (03:38 +0000)

diff --git a/src/tools/find_typedef b/src/tools/find_typedef
index 33e7fc677dce626d33de1ec4a41466851a751060..cd7fe886cb9f2c71cfea10306d9b1593d7469c6c 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.11 2008年03月18日 23:23:08 momjian Exp $
+# $PostgreSQL: pgsql/src/tools/find_typedef,v 1.12 2009年06月10日 03:38:32 momjian Exp $
# This script attempts to find all typedef's in the postgres binaries
# by using 'nm' to report all typedef debugging symbols.
@@ -49,7 +49,7 @@ do # if objdump -W is recognized, only one line of error should appear
awk ' 2ドル == "DW_AT_name" {print $NF}'
else # BSD/OS
objdump --stabs "$DIR"/* |
- awk ' 2ドル == "LSYM" && 7ドル ~ /:[tT]/ {sub(":.*", "", 7ドル); print 7ドル}'
+ awk ' 2ドル == "LSYM" && 7ドル ~ /:t/ {sub(":.*", "", 7ドル); print 7ドル}'
fi
done |
grep -v ' ' | # some typedefs have spaces, remove them
This is the main PostgreSQL git repository.
RSS Atom

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