cvs: php4(PHP_4_3) /ext/session mod_mm.c session.c

From: Date: Thu, 05 Dec 2002 20:42:06 +0000
Subject: cvs: php4(PHP_4_3) /ext/session mod_mm.c session.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-16948@lists.php.net to get a copy of this message
helly Thu Dec 5 15:42:06 2002 EDT Modified files: (Branch: PHP_4_3) /php4/ext/session mod_mm.c session.c Log: MFH Index: php4/ext/session/mod_mm.c diff -u php4/ext/session/mod_mm.c:1.39.4.1 php4/ext/session/mod_mm.c:1.39.4.2 --- php4/ext/session/mod_mm.c:1.39.4.1 Thu Dec 5 15:14:09 2002 +++ php4/ext/session/mod_mm.c Thu Dec 5 15:42:05 2002 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: mod_mm.c,v 1.39.4.1 2002/12/05 20:14:09 helly Exp $ */ +/* $Id: mod_mm.c,v 1.39.4.2 2002/12/05 20:42:05 helly Exp $ */ #include "php.h" @@ -124,7 +124,7 @@ sd = mm_malloc(data->mm, sizeof(ps_sd) + keylen); if (!sd) { - TSRMlS_FETCH(); + TSRMLS_FETCH(); php_error_docref(NULL TSRMLS_CC, E_WARNING, "mm_malloc failed, avail %d, err %s", mm_available(data->mm), mm_error()); return NULL; Index: php4/ext/session/session.c diff -u php4/ext/session/session.c:1.336.2.2 php4/ext/session/session.c:1.336.2.3 --- php4/ext/session/session.c:1.336.2.2 Thu Dec 5 15:14:09 2002 +++ php4/ext/session/session.c Thu Dec 5 15:42:05 2002 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: session.c,v 1.336.2.2 2002/12/05 20:14:09 helly Exp $ */ +/* $Id: session.c,v 1.336.2.3 2002/12/05 20:42:05 helly Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -98,7 +98,7 @@ #if 0 if(!PS(mod)) { - php_error_docref(E_ERROR, "Cannot find save handler %s", new_value); + php_error_docref(NULL TSRMLS_CC, E_ERROR, "Cannot find save handler %s", new_value); } #endif return SUCCESS; @@ -119,7 +119,7 @@ #if 0 if(!PS(serializer)) { - php_error_docref(E_ERROR, "Cannot find serialization handler %s", new_value); + php_error_docref(NULL TSRMLS_CC, E_ERROR, "Cannot find serialization handler %s", new_value); } #endif return SUCCESS;

« previous php.cvs (#16948) next »