Is the bugs.php.net interface somehow too hard to use or what?
And we tend to put the bug report # in the commit messages,
if you haven't noticed..
--Jani
On Sat, 5 Apr 2003, Sascha Schumann wrote:
>sas Sat Apr 5 06:22:15 2003 EDT
>
> Modified files:
> /php4/ext/session php_session.h session.c
> Log:
> dividend -> divisor
>
> Submitted by: Jesus M. Castagnetto <[EMAIL PROTECTED]>
>
>
>Index: php4/ext/session/php_session.h
>diff -u php4/ext/session/php_session.h:1.91 php4/ext/session/php_session.h:1.92
>--- php4/ext/session/php_session.h:1.91 Tue Feb 18 14:29:38 2003
>+++ php4/ext/session/php_session.h Sat Apr 5 06:22:15 2003
>@@ -105,7 +105,7 @@
> void *mod_data;
> php_session_status session_status;
> long gc_probability;
>- long gc_dividend;
>+ long gc_divisor;
> long gc_maxlifetime;
> int module_number;
> long cache_expire;
>Index: php4/ext/session/session.c
>diff -u php4/ext/session/session.c:1.358 php4/ext/session/session.c:1.359
>--- php4/ext/session/session.c:1.358 Tue Mar 25 03:07:12 2003
>+++ php4/ext/session/session.c Sat Apr 5 06:22:15 2003
>@@ -17,7 +17,7 @@
> +----------------------------------------------------------------------+
> */
>
>-/* $Id: session.c,v 1.358 2003/03/25 08:07:12 sebastian Exp $ */
>+/* $Id: session.c,v 1.359 2003/04/05 11:22:15 sas Exp $ */
>
> #ifdef HAVE_CONFIG_H
> #include "config.h"
>@@ -138,7 +138,7 @@
> PHP_INI_ENTRY("session.save_handler", "files", PHP_INI_ALL,
> OnUpdateSaveHandler)
> STD_PHP_INI_BOOLEAN("session.auto_start", "0", PHP_INI_ALL,
> OnUpdateBool, auto_start, php_ps_globals, ps_globals)
> STD_PHP_INI_ENTRY("session.gc_probability", "1", PHP_INI_ALL,
> OnUpdateLong, gc_probability, php_ps_globals, ps_globals)
>- STD_PHP_INI_ENTRY("session.gc_dividend", "100", PHP_INI_ALL,
>OnUpdateLong, gc_dividend, php_ps_globals, ps_globals)
>+ STD_PHP_INI_ENTRY("session.gc_divisor", "100", PHP_INI_ALL,
>OnUpdateLong, gc_divisor, php_ps_globals, ps_globals)
> STD_PHP_INI_ENTRY("session.gc_maxlifetime", "1440", PHP_INI_ALL,
> OnUpdateLong, gc_maxlifetime, php_ps_globals, ps_globals)
> PHP_INI_ENTRY("session.serialize_handler", "php", PHP_INI_ALL,
> OnUpdateSerializer)
> STD_PHP_INI_ENTRY("session.cookie_lifetime", "0", PHP_INI_ALL,
> OnUpdateLong, cookie_lifetime, php_ps_globals, ps_globals)
>@@ -1154,7 +1154,7 @@
> if (PS(mod_data) && PS(gc_probability) > 0) {
> int nrdels = -1;
>
>- nrand = (int) ((float) PS(gc_dividend) * php_combined_lcg(TSRMLS_C));
>+ nrand = (int) ((float) PS(gc_divisor) * php_combined_lcg(TSRMLS_C));
> if (nrand < PS(gc_probability)) {
> PS(mod)->s_gc(&PS(mod_data), PS(gc_maxlifetime), &nrdels
> TSRMLS_CC);
> #if 0
>
>
>
>
--
<- For Sale! ->
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php