From 676e87b3082eb253c4b3b7b2ce4ab4f3b241980d Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Mon, 27 Oct 2008 11:46:24 +0000 Subject: [PATCH] * Makefile.in (.y.c, .l.c): sed free to xfree. --- gdb/ChangeLog | 4 ++++ gdb/Makefile.in | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7c79dd5225f..93a81e58565 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2008-10-27 Pedro Alves + + * Makefile.in (.y.c, .l.c): sed free to xfree. + 2008-10-27 Pedro Alves * Makefile.in (INSTALLED_LIBS, CLIBS): Remove reference to diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 7bda059ec74..ec4b1d2c488 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -1470,6 +1470,8 @@ po/$(PACKAGE).pot: force -e '/include.*malloc.h/d' \ -e 's/\([^x]\)malloc/\1xmalloc/g' \ -e 's/\([^x]\)realloc/\1xrealloc/g' \ + -e 's/\([ \t;,(]\)free\([ \t]*[&(),]\)/\1xfree\2/g' \ + -e 's/\([ \t;,(]\)free$$/\1xfree/g' \ -e '/^#line.*y.tab.c/d' \ < $@.tmp > $@.new -rm $@.tmp @@ -1484,6 +1486,8 @@ po/$(PACKAGE).pot: force -e '/include.*malloc.h/d' \ -e 's/\([^x]\)malloc/\1xmalloc/g' \ -e 's/\([^x]\)realloc/\1xrealloc/g' \ + -e 's/\([ \t;,(]\)free\([ \t]*[&(),]\)/\1xfree\2/g' \ + -e 's/\([ \t;,(]\)free$$/\1xfree/g' \ -e 's/yy_flex_xrealloc/yyxrealloc/g' \ < $@ > $@.new && \ rm -f $@ && \ -- 2.30.2