Possible bug found by Intel cc

In ambient.c:

ambient.c(521): warning #279: controlling expression is constant
        aflock(creat ? F_WRLCK : F_RDLCK);

That seems odd. Is it possible that it was supposed to be:
        aflock(cre8 ? F_WRLCK : F_RDLCK);

···

--
Randolph M. Fritz • [email protected]
Environmental Energy Technologies Division • Lawrence Berkeley Labs

Definitely -- thanks for spotting!

-Greg

···

From: "Randolph M. Fritz" <[email protected]>
Date: June 27, 2011 3:01:36 PM PDT

In ambient.c:

ambient.c(521): warning #279: controlling expression is constant
      aflock(creat ? F_WRLCK : F_RDLCK);

That seems odd. Is it possible that it was supposed to be:
      aflock(cre8 ? F_WRLCK : F_RDLCK);