Bug #12699: opendir() fails when used on read-only devices
| From: | sebastian@php.net | Date: | Sat, 11 Aug 2001 11:34:07 +0000 |
| Subject: | Bug #12699: opendir() fails when used on read-only devices | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-62929@lists.php.net to get a copy of this message | ||
From: sebastian@php.net
Operating system: Win32
PHP version: 4.0CVS-2001-08-11
PHP Bug Type: Directory function related
Bug description: opendir() fails when used on read-only devices
<?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 bug report at: http://bugs.php.net/?id=12699&edit=1