svn commit: r186502 - head/usr.bin/make

Luigi Rizzo rizzo at iet.unipi.it
Mon Jan 5 06:24:34 PST 2009


On Mon, Jan 05, 2009 at 02:46:24PM +0100, Dag-Erling Sm??rgrav wrote:
> Luigi Rizzo <luigi at FreeBSD.org> 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


More information about the svn-src-head mailing list