Re: Bug#44357: php3: zlib support breaks $PHP_INCLUDE_PATH [patch] (fwd)

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: Bug#44357: php3: zlib support breaks $PHP_INCLUDE_PATH [patch] (fwd)
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-10620@lists.php.net to get a copy of this message
On Mon, 6 Sep 1999, Rasmus Lerdorf wrote: > This doesn't make much sense to me. PHP_31 means nothing and is never > defined, so I don't really understand the patch. It just disables the cfg_get_long() calls... does that make sense ? > > --- functions/zlib.c.orig Wed Jun 16 06:34:22 1999 > > +++ functions/zlib.c Wed Sep 1 07:48:07 1999 > > @@ -128,8 +128,10 @@ > > > > #if PHP_31 > > # define ZLIB_INI(a) ZLIB_GLOBAL(a) > > +# define ZLIB_INIT_CONFIG 1 > > #else > > # define ZLIB_INI(a) php3_ini.a > > +# define ZLIB_INIT_CONFIG 0 > > #endif > > > > function_entry php3_zlib_functions[] = { > > @@ -183,12 +185,13 @@ > > return FAILURE; > > } > > #endif > > +#if ZLIB_INIT_CONFIG > > /* 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)); > > cfg_get_string("include_path",&ZLIB_INI(include_path)); > > - > > +#endif > > ZLIB_GLOBAL(le_zp) = register_list_destructors(php3i_destructor_gzclose,NULL); > > return SUCCESS; > > } > > > > > > > > -- > > PHP Development Mailing List <http://www.php.net/> > > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > > For additional commands, e-mail: php-dev-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > >

« previous php.dev (#10620) next »