Skip to content

Commit 09cba66

Browse files
committed
Fix Linux typedef code.
1 parent 208d3a7 commit 09cba66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tools/find_typedef

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22

3-
# $PostgreSQL: pgsql/src/tools/find_typedef,v 1.12 2009/06/10 03:38:32 momjian Exp $
3+
# $PostgreSQL: pgsql/src/tools/find_typedef,v 1.13 2009/06/10 15:13:45 momjian Exp $
44

55
# This script attempts to find all typedef's in the postgres binaries
66
# 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
4545
# the typedef references, not the definitions, so I think it might
4646
# be fine
4747
objdump -W "$DIR"/* |
48-
egrep -A3 '(DW_TAG_typedef|DW_TAG_structure_type|DW_TAG_union_type)' |
48+
egrep -A3 'DW_TAG_typedef' |
4949
awk ' $2 == "DW_AT_name" {print $NF}'
5050
else # BSD/OS
5151
objdump --stabs "$DIR"/* |

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy