cvs: php-src(PHP_4_3) / NEWS /ext/session mod_files.c

From: Date: Wed, 24 Sep 2003 23:39:23 +0000
Subject: cvs: php-src(PHP_4_3) / NEWS /ext/session mod_files.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-23889@lists.php.net to get a copy of this message
iliaa Wed Sep 24 19:39:23 2003 EDT Modified files: (Branch: PHP_4_3) /php-src NEWS /php-src/ext/session mod_files.c Log: MFH: Fixed bug #25070 (Don't forget to unlock session files on win32 before closing them). Index: php-src/NEWS diff -u php-src/NEWS:1.1247.2.408 php-src/NEWS:1.1247.2.409 --- php-src/NEWS:1.1247.2.408 Wed Sep 24 19:22:32 2003 +++ php-src/NEWS Wed Sep 24 19:39:22 2003 @@ -49,6 +49,8 @@ - Fixed bug #25109 (Possible crash when fetching field names in pgsql). (Ilia) - Fixed bug #25106 (Added more stringent checks on bzopen() mode). (Ilia) - Fixed bug #25218 ("deflate" compressed pages had a gzip header). (Stefan) +- Fixed bug #25070 (Don't forget to unlock session files on win32 before + closing them). (Ilia) - Fixed bug #24402 (Compile failure with gettext 0.12.x). (Jani) - Fixed bug #23326 (ext/domxml: Attributes via append_child not supported). (Melvyn) Index: php-src/ext/session/mod_files.c diff -u php-src/ext/session/mod_files.c:1.83.2.5 php-src/ext/session/mod_files.c:1.83.2.6 --- php-src/ext/session/mod_files.c:1.83.2.5 Tue May 20 16:01:54 2003 +++ php-src/ext/session/mod_files.c Wed Sep 24 19:39:22 2003 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: mod_files.c,v 1.83.2.5 2003/05/20 20:01:54 sas Exp $ */ +/* $Id: mod_files.c,v 1.83.2.6 2003/09/24 23:39:22 iliaa Exp $ */ #include "php.h" @@ -124,6 +124,7 @@ static void ps_files_close(ps_files *data) { if (data->fd != -1) { + flock(data->fd, LOCK_UN); close(data->fd); data->fd = -1; }

« previous php.cvs (#23889) next »