From: Stefan Weil <sw@weilnetz.de>
To: "Maciej W. Rozycki" <macro@imgtec.com>
Cc: QEMU Developer <qemu-devel@nongnu.org>,
QEMU Trivial <qemu-trivial@nongnu.org>
Subject: Re: [Qemu-trivial] [Qemu-devel] [PATCH] configure: Use $(..) instead of deprecated `..`
Date: Wed, 8 Jun 2016 15:07:39 +0200 [thread overview]
Message-ID: <5758189B.5080306@weilnetz.de> (raw)
In-Reply-To: <alpine.DEB.2.00.1606081305490.10382@tp.orcam.me.uk>
[-- Attachment #1: Type: text/plain, Size: 1111 bytes --]
Am 08.06.2016 um 14:16 schrieb Maciej W. Rozycki:
> On Mon, 16 May 2016, Stefan Weil wrote:
>
>> This fixes these warnings from shellcheck:
>>
>> ^-- SC2006: Use $(..) instead of deprecated `..`
>>
>> Signed-off-by: Stefan Weil <sw@weilnetz.de>
>> ---
>>
>> More warnings from shellcheck for configure and other files
>> will be handled by later patches.
>
> Unlike `..` the $(..) Bourne shell construct is not fully portable, some
> implementations do not recognise it. Consequently this change potentially
> breaks building QEMU on some systems, possibly in a non-obvious way, as
> there's no explicit check for the presence this feature and a graceful
> failure path included with this patch or the other one AFAICT. We may or
> may not care about those systems, but still this is a functional
> regression and therefore I think there has to be a good reason for
> introducing it.
As the $() construct was already used in QEMU code before this commit
(we had a mixture of both styles), I don't expect anything to break
which was not broken before.
Stefan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: Stefan Weil <sw@weilnetz.de>
To: "Maciej W. Rozycki" <macro@imgtec.com>
Cc: QEMU Developer <qemu-devel@nongnu.org>,
QEMU Trivial <qemu-trivial@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH] configure: Use $(..) instead of deprecated `..`
Date: Wed, 8 Jun 2016 15:07:39 +0200 [thread overview]
Message-ID: <5758189B.5080306@weilnetz.de> (raw)
In-Reply-To: <alpine.DEB.2.00.1606081305490.10382@tp.orcam.me.uk>
[-- Attachment #1: Type: text/plain, Size: 1111 bytes --]
Am 08.06.2016 um 14:16 schrieb Maciej W. Rozycki:
> On Mon, 16 May 2016, Stefan Weil wrote:
>
>> This fixes these warnings from shellcheck:
>>
>> ^-- SC2006: Use $(..) instead of deprecated `..`
>>
>> Signed-off-by: Stefan Weil <sw@weilnetz.de>
>> ---
>>
>> More warnings from shellcheck for configure and other files
>> will be handled by later patches.
>
> Unlike `..` the $(..) Bourne shell construct is not fully portable, some
> implementations do not recognise it. Consequently this change potentially
> breaks building QEMU on some systems, possibly in a non-obvious way, as
> there's no explicit check for the presence this feature and a graceful
> failure path included with this patch or the other one AFAICT. We may or
> may not care about those systems, but still this is a functional
> regression and therefore I think there has to be a good reason for
> introducing it.
As the $() construct was already used in QEMU code before this commit
(we had a mixture of both styles), I don't expect anything to break
which was not broken before.
Stefan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2016-06-08 13:08 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-16 13:10 [Qemu-trivial] [PATCH] configure: Use $(..) instead of deprecated `..` Stefan Weil
2016-05-16 13:10 ` [Qemu-devel] " Stefan Weil
2016-05-29 8:19 ` [Qemu-trivial] " Michael Tokarev
2016-05-29 8:19 ` [Qemu-devel] " Michael Tokarev
2016-06-08 12:16 ` [Qemu-trivial] " Maciej W. Rozycki
2016-06-08 12:16 ` Maciej W. Rozycki
2016-06-08 12:48 ` [Qemu-trivial] " Daniel P. Berrange
2016-06-08 12:48 ` Daniel P. Berrange
2016-06-08 13:07 ` Stefan Weil [this message]
2016-06-08 13:07 ` Stefan Weil
2016-06-08 13:46 ` [Qemu-trivial] " Maciej W. Rozycki
2016-06-08 13:46 ` Maciej W. Rozycki
2016-06-08 14:05 ` [Qemu-trivial] " Eric Blake
2016-06-08 14:05 ` Eric Blake
2016-06-08 14:38 ` [Qemu-trivial] " Maciej W. Rozycki
2016-06-08 14:38 ` Maciej W. Rozycki
2016-06-08 15:07 ` [Qemu-trivial] " Peter Maydell
2016-06-08 15:07 ` Peter Maydell
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=5758189B.5080306@weilnetz.de \
--to=sw@weilnetz.de \
--cc=macro@imgtec.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.