qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Cleber Rosa <crosa@redhat.com>
To: Eric Blake <eblake@redhat.com>, Peter Maydell <peter.maydell@linaro.org>
Cc: QEMU Trivial <qemu-trivial@nongnu.org>,
	QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH 1/5] configure: remove duplicate single quotes on config.log header
Date: Thu, 27 Jul 2017 09:47:11 -0400	[thread overview]
Message-ID: <3367822b-da85-7032-f7c0-c488153a6e07@redhat.com> (raw)
In-Reply-To: <e6978405-6492-1124-d6e4-4a6a5b124c48@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1302 bytes --]



On 07/27/2017 08:24 AM, Eric Blake wrote:
> On 07/27/2017 07:15 AM, Peter Maydell wrote:
>> On 27 July 2017 at 13:02, Cleber Rosa <crosa@redhat.com> wrote:
>>> The generation of the informational header on config.log contains two
>>> pairs of single quotes, which seems unintentional, and looks like
>>> this:
>>>
>>>   # QEMU configure log Thu Jul 26 08:17:15 EDT 2017
>>>   # Configured with: './configure' '--target-list=x86_64-softmmu'
>>
>> I think this is deliberate. The idea is that the string is a
>> validly shell-quoted string that you can cut and paste
>> into a shell prompt if you want to.
> 
> It IS deliberate.  If you want, you could improve the code to only emit
> '' around arguments that require it rather than all arguments, but that
> requires more shell code (it's easier to quote everywhere, even when it
> looks strange because the quotes weren't necessary).
> 
>> ...and note in particular how the '--cc=ccache gcc' argument
>> is printed.
> 
> Yes, that's a case where the quotes are necessary.
> 

Right, now I can see why.  Thanks for the review!

-- 
Cleber Rosa
[ Sr Software Engineer - Virtualization Team - Red Hat ]
[ Avocado Test Framework - avocado-framework.github.io ]
[  7ABB 96EB 8B46 B94D 5E0F  E9BB 657E 8D33 A5F2 09F3  ]


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2017-07-28 13:30 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-27 12:02 [Qemu-devel] [PATCH 0/5] Trivial fixes and cleanups Cleber Rosa
2017-07-27 12:02 ` [Qemu-devel] [PATCH 1/5] configure: remove duplicate single quotes on config.log header Cleber Rosa
2017-07-27 12:15   ` Peter Maydell
2017-07-27 12:24     ` Eric Blake
2017-07-27 13:47       ` Cleber Rosa [this message]
2017-07-27 12:02 ` [Qemu-devel] [PATCH 2/5] qemu-iotests: get rid of _full_imgproto_details() Cleber Rosa
2017-07-27 12:02 ` [Qemu-devel] [PATCH 3/5] qemu-iotests: remove commented out variables Cleber Rosa
2017-07-28 12:15   ` Stefan Hajnoczi
2017-07-27 12:02 ` [Qemu-devel] [PATCH 4/5] qemu-iotests: remove comment about root privileges requirement Cleber Rosa
2017-07-28 12:16   ` Stefan Hajnoczi
2017-07-27 12:02 ` [Qemu-devel] [PATCH 5/5] docs: fix broken paths to docs/interop dir Cleber Rosa
2017-07-27 12:22   ` Eric Blake
2017-07-28 12:17   ` Stefan Hajnoczi
2017-07-28 12:18 ` [Qemu-devel] [PATCH 0/5] Trivial fixes and cleanups Stefan Hajnoczi

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=3367822b-da85-7032-f7c0-c488153a6e07@redhat.com \
    --to=crosa@redhat.com \
    --cc=eblake@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.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;
as well as URLs for NNTP newsgroup(s).