From: Richard Henderson <rth@redhat.com>
To: Andrew Pinski <pinskia@physics.uc.edu>
Cc: gcc-patches@gcc.gnu.org, gcc@gcc.gnu.org, apinski@apple.com
Subject: Re: strcat and config/darwin.c
Date: Tue, 28 Jan 2003 11:02:00 -0000 [thread overview]
Message-ID: <20030128071134.GD19109@redhat.com> (raw)
In-Reply-To: <CC5F3713-312C-11D7-AE5B-000393A6D2F2@physics.uc.edu>
On Sun, Jan 26, 2003 at 04:50:50AM -0800, Andrew Pinski wrote:
> In config/darwin.c, there are places which strcat is used even though
> it is easy and faster to find where the end of the string is, here is
> a patch to change all the strcats to strcpy.
It's also possible to use memcpy here as well. The length
of the string is still available from the call to alloca.
r~
next prev parent reply other threads:[~2003-01-28 7:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-26 17:02 Andrew Pinski
2003-01-28 11:02 ` Richard Henderson [this message]
2003-02-02 22:49 ` [PATCH] " Andrew Pinski
2003-02-03 6:32 ` Andrew Pinski
2003-10-05 1:12 ` Andrew Pinski
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=20030128071134.GD19109@redhat.com \
--to=rth@redhat.com \
--cc=apinski@apple.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=gcc@gcc.gnu.org \
--cc=pinskia@physics.uc.edu \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).