Re: Subtle bug in autoconf flex version test - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Subtle bug in autoconf flex version test
Date
Msg-id 11334.1462196333@sss.pgh.pa.us
Whole thread Raw
In response to Subtle bug in autoconf flex version test  (Daniel Gustafsson <daniel@yesql.se>)
Responses Re: Subtle bug in autoconf flex version test
List pgsql-hackers
Daniel Gustafsson <daniel@yesql.se> writes:
> The PGAC_PATH_FLEX version test in config/programs.m4 tests the major and minor
> versions with = rather than == which unless I’m missing something is performing
> assignment rather than testing equality?

Huh.  That's been broken since forever ... thanks for noticing!

> The attached diff makes the test
> trigger the expected warning on major/minor version on my OS X box (awk version
> 20070501).

Hm, is that a popular flex version?  I wonder whether we will get
complaints if we start warning about it.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Detrimental performance impact of ringbuffers on performance
Next
From: Robert Haas
Date:
Subject: Re: Timeline following for logical slots