Bug #12699 Updated: opendir() fails when used on read-only devices

From: Date: Sun, 12 Aug 2001 17:02:32 +0000
Subject: Bug #12699 Updated: opendir() fails when used on read-only devices
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-62983@lists.php.net to get a copy of this message
ID: 12699 Updated by: sebastian Reported By: sebastian@php.net Status: Critical Bug Type: Directory function related Operating System: Win32 PHP Version: 4.0CVS-2001-08-11 New Comment: Phil, I know that it worked fine with PHP 4.0.6. Have a look at the 'PHP Version' field of this bug report. It says '4.0CVS-2001-08-11', which is yesterday's CVS version of PHP 4.0.7-dev. Previous Comments: ------------------------------------------------------------------------ [2001-08-12 12:58:31] phildriscoll@php.net Sebastian Just tested your code on my NT4 box with the 4.0.6 release, and it works fine. If you send me your php.exe and php4ts.dll buit from CVS I'll test that here if it helps. ------------------------------------------------------------------------ [2001-08-12 12:39:43] sebastian@php.net This is ridiculous. Of course I have a CD in the drive. ------------------------------------------------------------------------ [2001-08-12 12:35:18] alindeman@php.net do you have a CD in the drive when you run this script? ------------------------------------------------------------------------ [2001-08-11 17:06:34] sebastian@php.net Maybe when I change this to 'critical' someone notices :-) ------------------------------------------------------------------------ [2001-08-11 07:34:07] sebastian@php.net <?php $dh = opendir('g:/'); ?> gives me Warning: OpenDir: Invalid argument (errno 22) where g:/ is my CD Rom drive. <?php $dh = opendir('c:/'); ?> works fine, c:/ beeing my harddrive. ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=12699&edit=1

« previous php.dev (#62983) next »