From: Daniel Jacobowitz <drow@false.org>
To: Mark Kettenis <mark.kettenis@xs4all.nl>
Cc: gdb-patches@sourceware.org
Subject: Re: [RFC] Fix compiler warnings in osabi.c
Date: Wed, 11 Jan 2006 04:19:00 -0000 [thread overview]
Message-ID: <20060111041935.GA8728@nevyn.them.org> (raw)
In-Reply-To: <200601102222.k0AMMNSq000979@elgar.sibelius.xs4all.nl>
On Tue, Jan 10, 2006 at 11:22:23PM +0100, Mark Kettenis wrote:
> Another GCC 4 warning; e_ident[] is an array of unsigned chars. I
> think the most elegant way to solve this is to use memcmp instead of
> strcmp, since we're comparing a string to what may be random garbage,
> and not two strings.
>
> This one isn't quite so obvious, but if nobody objects, I'll commit
> this after a week.
Yes, looks right to me.
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2006-01-11 4:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-10 22:22 Mark Kettenis
2006-01-11 4:19 ` Daniel Jacobowitz [this message]
2006-01-11 4:22 ` Eli Zaretskii
2006-01-15 20:23 ` Mark Kettenis
2006-01-15 21:38 ` Eli Zaretskii
2006-01-15 22:28 ` Mark Kettenis
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=20060111041935.GA8728@nevyn.them.org \
--to=drow@false.org \
--cc=gdb-patches@sourceware.org \
--cc=mark.kettenis@xs4all.nl \
/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