#40200 [Asn->Csd]: The FastCgi version has different realpath results than thread safe version

From: Date: Tue, 23 Jan 2007 18:15:13 +0000
Subject: #40200 [Asn->Csd]: The FastCgi version has different realpath results than thread safe version
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-107950@lists.php.net to get a copy of this message
ID: 40200 Updated by: dmitry@php.net Reported By: iamstever at gmail dot com -Status: Assigned +Status: Closed Bug Type: Unknown/Other Function Operating System: Windows Vista PHP Version: 5.2.1RC3 Assigned To: dmitry New Comment: Fixed in CVS HEAD and PHP_5_2. Previous Comments: ------------------------------------------------------------------------ [2007-01-23 15:11:24] pajoye@php.net Confirmed: C:\phpbuilds\php_5_2>Debug_TS\php.exe -r " var_dump(realpath('foo.txt'));" bool(false) C:\phpbuilds\php_5_2>Debug\php.exe -r " var_dump(realpath('foo.txt'));" string(28) "C:\phpbuilds\php_5_2\foo.txt" ------------------------------------------------------------------------ [2007-01-22 21:37:45] iamstever at gmail dot com Description: ------------ The FastCgi version has different realpath results than thread safe version. If the file does not exist, realpath() returns false in Linux and Windows thread safe version, but returns the path to a non existent file in the Windows nts/FastCGI version. Expected result: ---------------- If the file does not exist, realpath() returns false in Linux and Windows thread safe version, but returns the path to a non existent file in the Windows nts/FastCGI version. Actual result: -------------- false ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40200&edit=1

« previous php.bugs (#107950) next »