CVS update: php31/ext/zlib
| From: | shane | Date: | Wed, 16 Sep 1998 19:15:23 +0000 |
| Subject: | CVS update: php31/ext/zlib | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-1180@lists.php.net to get a copy of this message | ||
Date: Wednesday September 16, 1998 @ 15:15
Author: shane
Update of /repository/php31/ext/zlib
In directory asf:/u2/tmp/cvs-serv20230/ext/zlib
Modified Files:
zlib.c
Log Message:
fix cfg_get functions. I know they'll be changing eventualy, might as well
have it work now though.
apache works again.
Index: php31/ext/zlib/zlib.c
diff -c php31/ext/zlib/zlib.c:2.4 php31/ext/zlib/zlib.c:2.5
*** php31/ext/zlib/zlib.c:2.4 Mon Sep 7 01:33:23 1998
--- php31/ext/zlib/zlib.c Wed Sep 16 15:15:22 1998
***************
*** 22,28 ****
| Stefan Röhrich <sr@linux.de> |
+----------------------------------------------------------------------+
*/
! /* $Id: zlib.c,v 2.4 1998/09/07 05:33:23 shane Exp $ */
#if !PHP_31 && defined(THREAD_SAFE)
#undef THREAD_SAFE
#endif
--- 22,28 ----
| Stefan Röhrich <sr@linux.de> |
+----------------------------------------------------------------------+
*/
! /* $Id: zlib.c,v 2.5 1998/09/16 19:15:22 shane Exp $ */
#if !PHP_31 && defined(THREAD_SAFE)
#undef THREAD_SAFE
#endif
***************
*** 180,191 ****
}
#endif
/* get our ini variables here */
- /* FIXME
cfg_get_long("safe_mode",&ZLIB_INI(safe_mode));
cfg_get_long("magic_quotes_runtime",&ZLIB_INI(magic_quotes_runtime));
cfg_get_string("doc_root",&ZLIB_INI(doc_root));
cfg_get_string("include_path",&ZLIB_INI(include_path));
! */
ZLIB_GLOBAL(le_zp) = register_list_destructors(gzclose,NULL);
return SUCCESS;
}
--- 180,191 ----
}
#endif
/* get our ini variables here */
cfg_get_long("safe_mode",&ZLIB_INI(safe_mode));
cfg_get_long("magic_quotes_runtime",&ZLIB_INI(magic_quotes_runtime));
cfg_get_string("doc_root",&ZLIB_INI(doc_root));
+ /* FIXME should go in request init */
cfg_get_string("include_path",&ZLIB_INI(include_path));
!
ZLIB_GLOBAL(le_zp) = register_list_destructors(gzclose,NULL);
return SUCCESS;
}
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net