#30458 [NEW]: glob() overlooks broken symlinks
| From: | spam at ww981 dot net | Date: | Sat, 16 Oct 2004 15:18:50 +0000 |
| Subject: | #30458 [NEW]: glob() overlooks broken symlinks | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-67660@lists.php.net to get a copy of this message | ||
From: spam at ww981 dot net
Operating system: Linux
PHP version: 5.0.2
PHP Bug Type: Directory function related
Bug description: glob() overlooks broken symlinks
Description:
------------
If a symlink doesn't point to a existing file/dir, glob
overlooks it. I'm pretty sure this is a bug because glob
should return everything existing in the pattern. glob in
php 4.3.9 has the same bug.
--
Edit bug report at http://bugs.php.net/?id=30458&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30458&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30458&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30458&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=30458&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=30458&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=30458&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=30458&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=30458&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=30458&r=support
Expected behavior: http://bugs.php.net/fix.php?id=30458&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=30458&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=30458&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=30458&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30458&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=30458&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=30458&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=30458&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=30458&r=float
MySQL Configuration Error: http://bugs.php.net/fix.php?id=30458&r=mysqlcfg