|  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
 [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


Add a Patch

Pull Requests

Add a Pull Request


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

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat Sep 18 15:03:37 2021 UTC