cvs: php4 /ext/pgsql pgsql.c
| From: | Yasuo Ohgaki | Date: | Sun, 07 Apr 2002 05:21:43 +0000 |
| Subject: | cvs: php4 /ext/pgsql pgsql.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-10938@lists.php.net to get a copy of this message | ||
yohgaki Sun Apr 7 00:21:43 2002 EDT
Modified files:
/php4/ext/pgsql pgsql.c
Log:
Nuke waring with ZTS build
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.170 php4/ext/pgsql/pgsql.c:1.171
--- php4/ext/pgsql/pgsql.c:1.170 Sat Apr 6 00:52:52 2002
+++ php4/ext/pgsql/pgsql.c Sun Apr 7 00:21:43 2002
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: pgsql.c,v 1.170 2002/04/06 05:52:52 yohgaki Exp $ */
+/* $Id: pgsql.c,v 1.171 2002/04/07 05:21:43 yohgaki Exp $ */
#include <stdlib.h>
@@ -1501,7 +1501,7 @@
int id = -1;
PGconn *pgsql;
char *mode = "w";
- FILE *fp;
+ FILE *fp = NULL;
php_stream *stream;
id = PGG(default_link);