Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: "Andrew Burgess" <aburgess@broadcom.com>
Cc: "gdb-patches\@sourceware.org" <gdb-patches@sourceware.org>
Subject: Re: [PATCH] Don't call strchr with the NULL character.
Date: Thu, 11 Jul 2013 16:24:00 -0000	[thread overview]
Message-ID: <8738rl5akm.fsf@igel.home> (raw)
In-Reply-To: <51DEDA0E.8020809@broadcom.com> (Andrew Burgess's message of	"Thu, 11 Jul 2013 17:15:10 +0100")

"Andrew Burgess" <aburgess@broadcom.com> writes:

> My local manpage for strchr doesn't say what happens in this case,

7.24.5.2 The strchr function
... The terminating null character is considered to be part of the
string.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


  reply	other threads:[~2013-07-11 16:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-11 16:15 Andrew Burgess
2013-07-11 16:24 ` Andreas Schwab [this message]
2013-07-11 16:48 ` Paul_Koning
2013-07-12  9:18 ` Andrew Burgess
2013-07-16 17:36   ` Tom Tromey
2013-07-16 21:16     ` Andrew Burgess

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=8738rl5akm.fsf@igel.home \
    --to=schwab@linux-m68k.org \
    --cc=aburgess@broadcom.com \
    --cc=gdb-patches@sourceware.org \
    /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