Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Doug Evans <dje@google.com>
To: Pedro Alves <pedro@codesourcery.com>
Cc: gdb-patches@sourceware.org, tromey@redhat.com
Subject: Re: FYI: fix PR 11345
Date: Thu, 04 Mar 2010 02:56:00 -0000	[thread overview]
Message-ID: <e394668d1003031856j1cbdc16cy5b017750441d17b6@mail.gmail.com> (raw)
In-Reply-To: <201003040243.36094.pedro@codesourcery.com>

On Wed, Mar 3, 2010 at 6:43 PM, Pedro Alves <pedro@codesourcery.com> wrote:
> On Thursday 04 March 2010 02:35:44, Doug Evans wrote:
>> I'd be ok with just adding a dummy format arg (and a comment
>> explaining why it's there of course).
>
> something like printf("%s", string) instead of printf(string)?
> That doesn't work in this case, because printf("%s", "%%")
> isn't the same as printf("%%"), so you're back to the
> original bug.

printf (string, 0) is what I had in mind.
obviously printf ("%s", "%%") won't fix anything.

... but having tried it I'm seeing "... argument types not checked".
Blech.


  reply	other threads:[~2010-03-04  2:56 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-03 18:04 Tom Tromey
2010-03-03 18:22 ` Tom Tromey
2010-03-04  0:47 ` Pedro Alves
2010-03-04  2:35   ` Doug Evans
2010-03-04  2:43     ` Pedro Alves
2010-03-04  2:56       ` Doug Evans [this message]
2010-03-04  3:01         ` Pedro Alves
2010-03-04  2:36   ` Tom Tromey
2010-03-04 17:01   ` Tom Tromey
2010-03-04 17:20     ` Pedro Alves
2010-03-04 17:28       ` Doug Evans
2010-03-04 18:21         ` Tom Tromey

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=e394668d1003031856j1cbdc16cy5b017750441d17b6@mail.gmail.com \
    --to=dje@google.com \
    --cc=gdb-patches@sourceware.org \
    --cc=pedro@codesourcery.com \
    --cc=tromey@redhat.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