Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <cagney@gnu.org>
To: Andreas Schwab <schwab@suse.de>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [commit] malloc and sys/wait.h tweaks
Date: Fri, 15 Oct 2004 14:44:00 -0000	[thread overview]
Message-ID: <416FE21F.6070203@gnu.org> (raw)
In-Reply-To: <jeoej4nkuw.fsf@sykes.suse.de>

> Andrew Cagney <cagney@gnu.org> writes:
> 
> 
>>> @@ -1575,8 +1575,8 @@ po/$(PACKAGE).pot: force
>>>  	     -e '/extern.*realloc/d' \
>>>  	     -e '/extern.*free/d' \
>>>  	     -e '/include.*malloc.h/d' \
>>> -	     -e 's/malloc/xmalloc/g' \
>>> -	     -e 's/realloc/xrealloc/g' \
>>> +	     -e 's/[^x]malloc/xmalloc/g' \
>>> +	     -e 's/[^x]realloc/xrealloc/g' \
> 
> 
> This replaces any character before malloc with 'x' which may introduce
> syntax errors.  The following should work better:

Ok.

> +	     -e 's/\([^x]\)malloc/\1xmalloc/g' \
> +	     -e 's/\([^x]\)realloc/\1xrealloc/g' \
> 
> Andreas.



      reply	other threads:[~2004-10-15 14:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-15 13:30 Andrew Cagney
2004-10-15 14:08 ` Andreas Schwab
2004-10-15 14:44   ` Andrew Cagney [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=416FE21F.6070203@gnu.org \
    --to=cagney@gnu.org \
    --cc=gdb-patches@sources.redhat.com \
    --cc=schwab@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox