Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Nov 2013 23:34:15 +0100
From:      Jeremie Le Hen <jlh@FreeBSD.org>
To:        Colin Percival <cperciva@FreeBSD.org>, jilles@FreeBSD.org
Cc:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   Re: svn commit: r257602 - user/cperciva/panicmail
Message-ID:  <20131107223414.GH37879@caravan.chchile.org>
In-Reply-To: <201311040300.rA430jCQ066512@svn.freebsd.org>
References:  <201311040300.rA430jCQ066512@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 04, 2013 at 03:00:45AM +0000, Colin Percival wrote:
> Author: cperciva
> Date: Mon Nov  4 03:00:44 2013
> New Revision: 257602
> URL: http://svnweb.freebsd.org/changeset/base/257602
> 
> Log:
>   Change
>   	local tmpfile=`mktemp` || exit 1
>   into
>   	local tmpfile
>   	tmpfile=`mktemp` || exit 1
>   since the former is parsed as "local || exit 1" and loses the exit code
>   from mktemp.
>   
>   Submitted by:	jilles

Out of curiosity, is this brokenness of local mandated by the standard?

-- 
Jeremie Le Hen

Scientists say the world is made up of Protons, Neutrons and Electrons.
They forgot to mention Morons.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131107223414.GH37879>