[Top][All Lists]

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

Re: errno --> errno name ?

From: Eric Blake
Subject: Re: errno --> errno name ?
Date: Fri, 05 Aug 2011 08:00:06 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110621 Fedora/3.1.11-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.11

On 08/05/2011 07:58 AM, Thien-Thi Nguyen wrote:
() Bruce Korb<address@hidden>
() Fri, 05 Aug 2011 06:19:03 -0700

          4     tmpd=`mktemp -d ${TMPDIR:-/tmp}/err-names-XXXXXX`

IIRC, constructs like:


can be made more portable:


by removing the colon before the dash.

Not true. Use of : is portable to all shells that support functions, which is pretty much every shell out there today (including Solaris /bin/sh). Autoconf has already proved this point.

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

reply via email to

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