aboutsummaryrefslogtreecommitdiff
path: root/gdb/Makefile.in
diff options
context:
space:
mode:
authorMichael Chastain <mec@google.com>2004-10-15 16:17:34 +0000
committerMichael Chastain <mec@google.com>2004-10-15 16:17:34 +0000
commit2941da8cd754820bd6dd167a58d8fa11df09669d (patch)
tree76ce6f73d3eb658b47e9f2b4c7df7175033bf413 /gdb/Makefile.in
parent34a17005a838978388de0b1e5ed040291c38661c (diff)
downloadgdb-2941da8cd754820bd6dd167a58d8fa11df09669d.zip
gdb-2941da8cd754820bd6dd167a58d8fa11df09669d.tar.gz
gdb-2941da8cd754820bd6dd167a58d8fa11df09669d.tar.bz2
2004-10-15 Michael Chastain <mec.gnu@mindspring.com>
From Andreas Schwab <schwab@suse.de>: * Makefile.in (.y.c, .l.c.): Fix the substitutions for for xmalloc and xrealloc.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r--gdb/Makefile.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index b3824f8..3546113 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -1575,8 +1575,8 @@ po/$(PACKAGE).pot: force
-e '/extern.*realloc/d' \
-e '/extern.*free/d' \
-e '/include.*malloc.h/d' \
- -e 's/[^x]malloc/xmalloc/g' \
- -e 's/[^x]realloc/xrealloc/g' \
+ -e 's/\([^x]\)malloc/\1xmalloc/g' \
+ -e 's/\([^x]\)realloc/\1xrealloc/g' \
-e '/^#line.*y.tab.c/d' \
< $@.tmp > $@.new
-rm $@.tmp
@@ -1589,8 +1589,8 @@ po/$(PACKAGE).pot: force
-e '/extern.*realloc/d' \
-e '/extern.*free/d' \
-e '/include.*malloc.h/d' \
- -e 's/[^x]malloc/xmalloc/g' \
- -e 's/[^x]realloc/xrealloc/g' \
+ -e 's/\([^x]\)malloc/\1xmalloc/g' \
+ -e 's/\([^x]\)realloc/\1xrealloc/g' \
-e 's/yy_flex_xrealloc/yyxrealloc/g' \
< $@ > $@.new && \
rm -f $@ && \