From 2941da8cd754820bd6dd167a58d8fa11df09669d Mon Sep 17 00:00:00 2001 From: Michael Chastain Date: Fri, 15 Oct 2004 16:17:34 +0000 Subject: [PATCH] 2004-10-15 Michael Chastain From Andreas Schwab : * Makefile.in (.y.c, .l.c.): Fix the substitutions for for xmalloc and xrealloc. --- gdb/ChangeLog | 6 ++++++ gdb/Makefile.in | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9ac1be5fa8..c65ecee491 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2004-10-15 Michael Chastain + + From Andreas Schwab : + * Makefile.in (.y.c, .l.c.): Fix the substitutions for + for xmalloc and xrealloc. + 2004-10-15 Andrew Cagney * ada-exp.y, ada-lex.l: Use xmalloc and xrealloc through out. diff --git a/gdb/Makefile.in b/gdb/Makefile.in index b3824f8cc0..354611341a 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 $@ && \ -- 2.34.1