Bug #12911 Updated: stat does not report on dead links [update]

From: Date: Wed, 22 Aug 2001 20:25:48 +0000
Subject: Bug #12911 Updated: stat does not report on dead links [update]
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-64100@lists.php.net to get a copy of this message
ID: 12911 User updated by: robin@linuxgate.de Reported By: robin@linuxgate.de Old Summary: stat does not report on dead links Status: Open Bug Type: Filesystem function related Operating System: linux PHP Version: 4.0.6 New Comment: i fidled around with this bug a little and it looks like 'fileperms' also fails to report anything on a dead link. it doesnt even report unknown, it just returns false. 'is_link' on the opposite works fine with dead links. Previous Comments: ------------------------------------------------------------------------ [2001-08-22 16:13:55] robin@linuxgate.de sorry, there was a typo below. to avoid confusion the function is "stat" not "fstat". ------------------------------------------------------------------------ [2001-08-22 16:11:54] robin@linuxgate.de if you have a link ('foo') pointing at a non exsitent target ('bar'), fstat returns false and does not report anything about it, but even dead links have an owner etc. ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=12911&edit=1

« previous php.dev (#64100) next »