[Top][All Lists]

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

Re: [PATCH] {master} Tests: normalize use of the 'errexit' shell flag.

From: Eric Blake
Subject: Re: [PATCH] {master} Tests: normalize use of the 'errexit' shell flag.
Date: Mon, 03 Jan 2011 14:22:32 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7

[redirecting to bug-autoconf]

On 01/03/2011 02:17 PM, Ralf Wildenhues wrote:
> These two were added by me in fear of shells resetting errexit upon
> function entry (like some shells do with -x aka xtrace).  Luckily I
> couldn't find any shells which do this upon testing (by looking for 'e'
> in the output of)
>   sh -ec 'f () { echo $-; }; f'
> but generally, here's a nice (and more complete than autoconf.texi) list
> of issues with set -e: http://www.in-ulm.de/~mascheck/various/set-e/

Awesome reference - the autoconf manual should probably mention it.

Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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