php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61565 Fileinfo ext\fileinfo\tests\finfo_file_001.phpt fails
Submitted: 2012-03-30 15:09 UTC Modified: 2013-04-11 12:57 UTC
From: ab@php.net Assigned: ab (profile)
Status: Closed Package: *Directory/Filesystem functions
PHP Version: Irrelevant OS: Windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
36 - 24 = ?
Subscribe to this entry?

 
 [2012-03-30 15:09 UTC] ab@php.net
Description:
------------
Test diff:

009+
010+ Warning: finfo_file(.): failed to open stream: Permission denied in C:\php-sdk\php53\vc9\x86\php-src\ext\fileinfo\tests\finfo_file_001.php on line 7
011+ bool(false)
009- string(9) "directory"

Expected result:
----------------
test pass

Actual result:
--------------
test fail

Patches

61565.diff (last revision 2012-03-31 10:04 UTC by ab@php.net)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-03-31 10:04 UTC] ab@php.net
The following patch has been added/updated:

Patch Name: 61565.diff
Revision:   1333188272
URL:        https://bugs.php.net/patch-display.php?bug=61565&patch=61565.diff&revision=1333188272
 [2012-04-02 15:04 UTC] ab@php.net
-PHP Version: 5.3Git-2012-03-30 (Git) +PHP Version: Irrelevant
 [2012-04-02 15:15 UTC] ab@php.net
The patch fixes php_stream_open_wrapper_ex trying to open a directory descriptor under windows.
 [2012-04-02 15:48 UTC] ab@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=0cdba53aae783fd63f0aa525bc92e73d9e4c0aab
Log: Fix bug #61565 Fileinfo ext\fileinfo\tests\finfo_file_001.phpt fails
 [2012-04-02 16:03 UTC] ab@php.net
The patch is commited in the revision 0cdba53aae783fd63f0aa525bc92e73d9e4c0aab
 [2012-04-12 03:29 UTC] stas@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=61747bd041513f4e7c04fdc4890fbd1a6e76b907
Log: Fix bug #61565 Fileinfo ext\fileinfo\tests\finfo_file_001.phpt fails
 [2012-04-12 09:38 UTC] johannes@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=56771b86481c7d5fdd92b1e8e1a29b662513f904
Log: Fix bug #61565 Fileinfo ext\fileinfo\tests\finfo_file_001.phpt fails
 [2013-04-11 12:57 UTC] ab@php.net
this one was fixed a while ago.
 [2013-04-11 12:57 UTC] ab@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: ab
 [2014-10-07 23:27 UTC] stas@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=0cdba53aae783fd63f0aa525bc92e73d9e4c0aab
Log: Fix bug #61565 Fileinfo ext\fileinfo\tests\finfo_file_001.phpt fails
 [2014-10-07 23:38 UTC] stas@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=0cdba53aae783fd63f0aa525bc92e73d9e4c0aab
Log: Fix bug #61565 Fileinfo ext\fileinfo\tests\finfo_file_001.phpt fails
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 01:01:28 2024 UTC