cvs: php4 /ext/zlib zlib.c
| From: | Thies C. Arntzen | Date: | Thu, 06 Jul 2000 11:25:24 +0000 |
| Subject: | cvs: php4 /ext/zlib zlib.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-644@lists.php.net to get a copy of this message | ||
thies Thu Jul 6 04:25:24 2000 EDT
Modified files:
/php4/ext/zlib zlib.c
Log:
@- Fixed crash in gzopen(). (Thies)
# hmm - this should be rethought as one should be able to do
# gzopen("http://..")
Index: php4/ext/zlib/zlib.c
diff -u php4/ext/zlib/zlib.c:1.50 php4/ext/zlib/zlib.c:1.51
--- php4/ext/zlib/zlib.c:1.50 Mon Jun 26 11:19:35 2000
+++ php4/ext/zlib/zlib.c Thu Jul 6 04:25:24 2000
@@ -16,7 +16,7 @@
| Stefan Röhrich <sr@linux.de> |
+----------------------------------------------------------------------+
*/
-/* $Id: zlib.c,v 1.50 2000/06/26 18:19:35 andi Exp $ */
+/* $Id: zlib.c,v 1.51 2000/07/06 11:25:24 thies Exp $ */
#define IS_EXT_MODULE
#include "php.h"
@@ -153,8 +153,9 @@
static gzFile php_gzopen_wrapper(char *path, char *mode, int options)
{
FILE *f;
+ int issock=0, socketd=0;
- f = php_fopen_wrapper(path, mode, options, NULL, NULL, NULL);
+ f = php_fopen_wrapper(path, mode, options, &issock, &socketd, NULL);
if (!f) {
return NULL;