From owner-svn-src-head@FreeBSD.ORG Mon Jan 5 14:24:33 2009 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A51B81065670; Mon, 5 Jan 2009 14:24:33 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: from onelab2.iet.unipi.it (onelab2.iet.unipi.it [131.114.9.129]) by mx1.freebsd.org (Postfix) with ESMTP id 60D078FC1E; Mon, 5 Jan 2009 14:24:33 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: by onelab2.iet.unipi.it (Postfix, from userid 275) id 7189B73098; Mon, 5 Jan 2009 15:29:29 +0100 (CET) Date: Mon, 5 Jan 2009 15:29:29 +0100 From: Luigi Rizzo To: Dag-Erling Sm??rgrav Message-ID: <20090105142929.GA70683@onelab2.iet.unipi.it> References: <200812262231.mBQMVjHC052150@svn.freebsd.org> <867i59lvbj.fsf@ds4.des.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <867i59lvbj.fsf@ds4.des.no> User-Agent: Mutt/1.4.2.3i Cc: svn-src-head@FreeBSD.org, Luigi Rizzo , src-committers@FreeBSD.org, svn-src-all@FreeBSD.org Subject: Re: svn commit: r186502 - head/usr.bin/make X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jan 2009 14:24:34 -0000 On Mon, Jan 05, 2009 at 02:46:24PM +0100, Dag-Erling Sm??rgrav wrote: > Luigi Rizzo writes: > > Log: > > Clarify the behaviour of conditionals when dealing with comparisons. > > In particular, point out that string comparison can only use != and == > > (how weird, given that the underlying call to strcmp returns more > > information), that floating point values are correctly interpreted > > as numbers, and that the left-hand side must be a variable expansion. > > Any chance of fixing items 1 and 3? item 1 is easy except perhaps for Locale issues which however should not be a big deal in this context. item 3 should also be easy. But the thing i wonder about is whether there is any standard that mandates this beviour, or we are relatively free to make enhancements to our "make" program. cheers luigi