* Makefile.in (.y.c, .l.c): sed free to xfree.
authorPedro Alves <palves@redhat.com>
Mon, 27 Oct 2008 11:46:24 +0000 (11:46 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 27 Oct 2008 11:46:24 +0000 (11:46 +0000)
gdb/ChangeLog
gdb/Makefile.in

index 7c79dd5225f85a9ffcff11d293d47868731f00d6..93a81e58565baf026fb6a4ac95a88cd4a8a3d2e9 100644 (file)
@@ -1,3 +1,7 @@
+2008-10-27  Pedro Alves  <pedro@codesourcery.com>
+
+       * Makefile.in (.y.c, .l.c): sed free to xfree.
+
 2008-10-27  Pedro Alves  <pedro@codesourcery.com>
 
        * Makefile.in (INSTALLED_LIBS, CLIBS): Remove reference to
index 7bda059ec74f7a11f9b289aacdd497c23ccb386e..ec4b1d2c488c2c39af45e3a96e41c967a16adfe2 100644 (file)
@@ -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 $@ && \