summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorBruce Momjian2012-05-03 14:58:44 +0000
committerBruce Momjian2012-05-03 14:58:44 +0000
commitebcaa5fcde8411786e3765414465174e6d31c8e6 (patch)
treef5380c3e09ca02a1fc6e4b8971ddecce0554df2c /src/tools
parent7490c48f1e2c51dce77d33f7fd464e72713679a5 (diff)
Remove BSD/OS (BSDi) port. There are no known users upgrading to
Postgres 9.2, and perhaps no existing users either.
Diffstat (limited to 'src/tools')
-rwxr-xr-xsrc/tools/find_typedef7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/tools/find_typedef b/src/tools/find_typedef
index 8b07de62ef..3198a453e9 100755
--- a/src/tools/find_typedef
+++ b/src/tools/find_typedef
@@ -8,7 +8,7 @@
# For this program to work, you must have compiled all binaries with
# debugging symbols.
#
-# This is run on BSD/OS 4.0 or Linux, so you may need to make changes.
+# This is run on Linux, so you may need to make changes.
#
# Ignore the nm errors about a file not being a binary file.
#
@@ -52,11 +52,6 @@ do # if objdump -W is recognized, only one line of error should appear
readelf -w "$DIR"/* |
egrep -A3 '\(DW_TAG_typedef\)' |
awk ' $1 == "DW_AT_name" {print $NF}'
- else # BSD/OS
- # BSD/OS reports all typedefs, even those defined in system
- # include files but never referenced in the PG code.
- objdump --stabs "$DIR"/* |
- awk ' $2 == "LSYM" && $7 ~ /:t/ {sub(":.*", "", $7); print $7}'
fi
done |
grep -v ' ' | # some typedefs have spaces, remove them