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

From: Date: Fri, 11 Aug 2006 15:04:28 +0000
Subject: cvs: php-src(PHP_4_4) /ext/session mod_files.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-39911@lists.php.net to get a copy of this message
iliaa Fri Aug 11 15:04:28 2006 UTC Modified files: (Branch: PHP_4_4) /php-src/ext/session mod_files.c Log: VCWD_ACCESS does not work on win32 :/ http://cvs.php.net/viewvc.cgi/php-src/ext/session/mod_files.c?r1=1.83.2.9.2.4&r2=1.83.2.9.2.5&diff_format=u Index: php-src/ext/session/mod_files.c diff -u php-src/ext/session/mod_files.c:1.83.2.9.2.4 php-src/ext/session/mod_files.c:1.83.2.9.2.5 --- php-src/ext/session/mod_files.c:1.83.2.9.2.4 Tue Aug 8 14:57:04 2006 +++ php-src/ext/session/mod_files.c Fri Aug 11 15:04:28 2006 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: mod_files.c,v 1.83.2.9.2.4 2006/08/08 14:57:04 iliaa Exp $ */ +/* $Id: mod_files.c,v 1.83.2.9.2.5 2006/08/11 15:04:28 iliaa Exp $ */ #include "php.h" @@ -371,9 +371,10 @@ /* This is a little safety check for instances when we are dealing with a regenerated session * that was not yet written to disk */ - if (!VCWD_ACCESS(buf, F_OK)) { +#ifndef PHP_WIN32 + if (!VCWD_ACCESS(buf, F_OK)) +#endif return FAILURE; - } } }

« previous php.cvs (#39911) next »