[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug#10898: test-suite output of automake-1.11.3 - it requested I sen

From: Eric Blake
Subject: Re: bug#10898: test-suite output of automake-1.11.3 - it requested I send it to you!
Date: Tue, 28 Feb 2012 09:51:21 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120216 Thunderbird/10.0.1

[adding autoconf]

On 02/28/2012 09:42 AM, Stefano Lattarini wrote:

>>    Ah, likely the famous ksh bug with "$@" and empty arguments:
>> <>

> See automake bug#10898.
> At least the AT&T and OpenSolaris versions of the Korn shell have a
> strange bug regarding the expression ${1+"$@"}: when exactly *one*
> empty argument is passed to a shell function, inside that function
> the expression ${1+"$@"} will expand to *nothing*, rather than to
> to the single empty string, as one would expect.  This was causing
> a spurious failure in our testsuite when a shell suffering of this
> bug was used to run the test cases.

Yuck - this sounds like it should be documented in the autoconf manual.
 Is it only shell functions that are affected, but global use of
${1+"$@"} is still safe?

Eric Blake   address@hidden    +1-919-301-3266
Libvirt virtualization library

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]