#30458 [Opn->Bgs]: glob() overlooks broken symlinks

From: Date: Tue, 19 Oct 2004 20:58:40 +0000
Subject: #30458 [Opn->Bgs]: glob() overlooks broken symlinks
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-67796@lists.php.net to get a copy of this message
ID: 30458 Updated by: iliaa@php.net Reported By: spam at ww981 dot net -Status: Open +Status: Bogus Bug Type: Directory function related Operating System: Linux PHP Version: 5.0.2 New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. It is a bug in libc which implements glob(). PHP simply returns what the libc functions returns. Previous Comments: ------------------------------------------------------------------------ [2004-10-16 17:18:49] spam at ww981 dot net 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 this bug report at http://bugs.php.net/?id=30458&edit=1

« previous php.bugs (#67796) next »