Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Hackers > Re: another ecp...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 6 Topic 9342 of 10118
Post > Topic >>

Re: another ecpg crash

by kleptog@[EMAIL PROTECTED] (Martijn van Oosterhout) May 11, 2008 at 11:12 AM

--2oS5YaxWCcQjTEyO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, May 11, 2008 at 02:19:05AM -0300, Euler Taveira de Oliveira wrote:
> Alvaro Herrera wrote:
>=20
> >Huh, isn't the test backwards?
> >
> In which way? I use a simple one but whatever test that uses 'exec
sql=20
> 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,
--=20
Martijn van Oosterhout   <kleptog@[EMAIL PROTECTED]
>   http://svana.org/kleptog/
> Please line up in a tree and maintain the heap invariant while=20
> boarding. Thank you for flying nlogn airlines.

--2oS5YaxWCcQjTEyO
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIJriUIB7bNG8LQkwRAgZAAJ4sXaZ76Gt9gtV5dMMWRiE6c++rzgCfZ+Jx
1QT7jUaLe50qte/vTsBDBL8=
=aKTz
-----END PGP SIGNATURE-----

--2oS5YaxWCcQjTEyO--
 




 6 Posts in Topic:
another ecpg crash
euler@[EMAIL PROTECTED]   2008-05-11 01:50:22 
Re: another ecpg crash
alvherre@[EMAIL PROTECTED  2008-05-11 00:52:51 
Re: another ecpg crash
euler@[EMAIL PROTECTED]   2008-05-11 02:19:05 
Re: another ecpg crash
kleptog@[EMAIL PROTECTED]  2008-05-11 11:12:52 
Re: another ecpg crash
euler@[EMAIL PROTECTED]   2008-05-12 00:43:14 
Re: another ecpg crash
meskes@[EMAIL PROTECTED]   2008-05-12 18:33:23 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Sep 7 7:40:54 CDT 2008.