On Sun, May 11, 2008 at 02:19:05AM -0300, Euler Taveira de Oliveira wrote:
> Alvaro Herrera wrote:
>
> >Huh, isn't the test backwards?
> >
> In which way? I use a simple one but whatever test that uses 'exec sql
> include foo' and foo.h doesn't exist, it will crash.
I think he means specifically this line in the diff:
> ! /* there are some cases (i.e. file not found)
> ! * that the input is not available */
> ! if (!yyin)
> ! fclose(yyin);
This will close the file *only* if yyin is NULL, which probably isn't
what is meant.
Have a nice day,
--
Martijn van Oosterhout <kleptog@svana.org> http://svana.org/kleptog/
> Please line up in a tree and maintain the heap invariant while
> boarding. Thank you for flying nlogn airlines.