From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Mark Kettenis <mark.kettenis@xs4all.nl>
Cc: gdb-patches@sourceware.org, ppluzhnikov@google.com
Subject: Re: [patch 1/3] Code cleanup: strcpy + strlen -> sprintf
Date: Wed, 19 Oct 2011 08:40:00 -0000 [thread overview]
Message-ID: <20111019082833.GA8886@host1.jankratochvil.net> (raw)
In-Reply-To: <201110182209.p9IM9o3F026010@glazunov.sibelius.xs4all.nl>
On Wed, 19 Oct 2011 00:09:50 +0200, Mark Kettenis wrote:
> > I hope it is not due to incompatible sprintf on
> > MS-Windows CE or some such gdbserver platform.
>
> Please use snprintf(3) instead of sprintf(3).
I am unfamiliar with gdbserver but there is no single use of snprintf while
75 uses of sprintf. Isn't it for some platform compatibility?
Thanks,
Jan
next prev parent reply other threads:[~2011-10-19 8:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-18 20:52 Jan Kratochvil
2011-10-19 0:24 ` Mark Kettenis
2011-10-19 8:40 ` Jan Kratochvil [this message]
2011-10-19 14:08 ` Tom Tromey
2011-10-19 14:40 ` Jan Kratochvil
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=20111019082833.GA8886@host1.jankratochvil.net \
--to=jan.kratochvil@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=mark.kettenis@xs4all.nl \
--cc=ppluzhnikov@google.com \
/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