bug-autoconf
[Top][All Lists]
Advanced

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

Re: tests: work around Tru64 sh -e issues for instspc*.test.


From: Eric Blake
Subject: Re: tests: work around Tru64 sh -e issues for instspc*.test.
Date: Sat, 22 Jan 2011 06:41:39 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7

On 01/22/2011 01:30 AM, Ralf Wildenhues wrote:
>> But since bash 2.05a is pretty much dead these days, while NetBSD
>> /bin/sh is still alive and kicking, the autoconf section should be
>> updated to use a modern example in its claim that unset exit status is
>> still a portability problem to be aware of.
> 
> Like, this?
> 
> Thanks,
> Ralf
> 
>  @c ------------------
>  @prindex @command{unset}
> -In some nonconforming shells (e.g., Bash 2.05a), @code{unset FOO} fails
> -when @code{FOO} is not set.  You can use
> +In some nonconforming shells (e.g., NetBSD 5.99.43 sh or Bash 2.05a),
> address@hidden FOO} fails when @code{FOO} is not set.  You can use

Maybe add one additional sentence:

This can interfere with @code{set -e} operation.

Looks fine with that addition.

-- 
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]