php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12911 stat does not report on dead links
Submitted: 2001-08-22 16:11 UTC Modified: 2001-08-22 16:27 UTC
From: robin at linuxgate dot de Assigned:
Status: Closed Package: Filesystem function related
PHP Version: 4.0.6 OS: linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: robin at linuxgate dot de
New email:
PHP Version: OS:

 

 [2001-08-22 16:11 UTC] robin at linuxgate dot 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-08-22 16:13 UTC] robin at linuxgate dot de
sorry, there was a typo below. to avoid confusion the function is "stat" not "fstat".
 [2001-08-22 16:25 UTC] robin at linuxgate dot de
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.
 [2001-08-22 16:27 UTC] mfischer@php.net
This has been fixed in CVS.

Try a daily snapshot [1].

- Markus

[1] http://snaps.php.net:8000/
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 19:01:30 2024 UTC