php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14477 is_dir(),stat() fail
Submitted: 2001-12-12 21:03 UTC Modified: 2001-12-12 21:10 UTC
From: xxwl at 371 dot net Assigned:
Status: Closed Package: Directory function related
PHP Version: 4.1.0 OS: redhat linux 7.2
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: xxwl at 371 dot net
New email:
PHP Version: OS:

 

 [2001-12-12 21:03 UTC] xxwl at 371 dot net
is_dir() fail when it first access a directory, but the directory is exist. it should return true or faluse, not fail. then the stat() report an error (errno=2). load is_dir() again, things ok.
  but there is no this issue at 4.0.6.
my configration:
./configure --with-mysql=/usr/local/mysql --with-apache=../apache_1.3.22 --enable-track-vars --enable-bcmath --with-gd --with-jpeg --with-xpm --with-ttf --with-zlib --with-tiff --with-png --with-gif --with-imap=../imap-2001a.RELEASE-CANDIDATE.4 --with-apx --with-openssl=/usr/local/openssl --with-vpopmail=/var/vpopmail

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-12 21:10 UTC] yohgaki@php.net
Please search bug database before  you submit report. This has been reported multiple times and fixed in CVS already.

 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Nov 25 23:01:24 2020 UTC