2004-10-15 Michael Chastain <mec.gnu@mindspring.com>
authorMichael Chastain <mec@google.com>
Fri, 15 Oct 2004 16:17:34 +0000 (16:17 +0000)
committerMichael Chastain <mec@google.com>
Fri, 15 Oct 2004 16:17:34 +0000 (16:17 +0000)
From Andreas Schwab <schwab@suse.de>:
* Makefile.in (.y.c, .l.c.): Fix the substitutions for
for xmalloc and xrealloc.

gdb/ChangeLog
gdb/Makefile.in

index 9ac1be5fa8926b153dc350974cd9c825ea27cc8b..c65ecee491b9f01cf280ce30a6d0d9cc7e5fe1e2 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2004-10-15  Andrew Cagney  <cagney@gnu.org>
 
        * ada-exp.y, ada-lex.l: Use xmalloc and xrealloc through out.
index b3824f8cc05cf611859625b79e8df2e2c5532d4d..354611341a2d065bd3814f7aa6910a0e6a64ace9 100644 (file)
@@ -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 $@ && \