php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #63590 Fileinfo different results in TS and NTS
Submitted: 2012-11-23 19:27 UTC Modified: -
From: ab@php.net Assigned:
Status: Closed Package: *Directory/Filesystem functions
PHP Version: Irrelevant OS: windows
Private report: No CVE-ID: None
 [2012-11-23 19:27 UTC] ab@php.net
Description:
------------
There are two test fork for windows 

ext\fileinfo\tests\finfo_file_regex-win32.phpt
ext\fileinfo\tests\finfo_open_error-win32.phpt

which pass with NTS build and fail with TS one. 

Test script:
---------------
ext\fileinfo\tests\finfo_file_regex-win32.phpt
ext\fileinfo\tests\finfo_open_error-win32.phpt

Expected result:
----------------
tests pass

Actual result:
--------------
Here is the test diff 

ext\fileinfo\tests\finfo_file_regex-win32.phpt

002+ string(28) "text/plain; charset=us-ascii"
002- string(10) "text/plain"

ext\fileinfo\tests\finfo_open_error-win32.phpt

015+ 
016+ Notice: finfo_open(): Warning: using regular magic file `C:\snaps\php-test-pack-5.5-ts-windows-vc9-x86-reb4825b\ext\fileinfo\tests\magic' in C:\snaps\php-test-pack-5.5-ts-windows-vc9-x86-reb4825b\ext\fileinfo\tests\finfo_open_error-win32.php on line 16

Patches

63590.path (last revision 2012-11-23 19:31 UTC by ab@php.net)

Pull Requests

History

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

Patch Name: 63590.path
Revision:   1353699077
URL:        https://bugs.php.net/patch-display.php?bug=63590&patch=63590.path&revision=1353699077
 [2012-11-27 16:08 UTC] ab@php.net
-Status: Open +Status: Closed
 [2012-11-27 16:08 UTC] ab@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=e6b727d3b7eef06d8b7b6a4638a95e7a571d97b5
Log: Fixed bug #63590 Fileinfo delivers ifferent results in TS and NTS under Windows
 [2012-12-19 17:55 UTC] derick@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=e6b727d3b7eef06d8b7b6a4638a95e7a571d97b5
Log: Fixed bug #63590 Fileinfo delivers ifferent results in TS and NTS under Windows
 [2014-10-07 23:21 UTC] stas@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=e6b727d3b7eef06d8b7b6a4638a95e7a571d97b5
Log: Fixed bug #63590 Fileinfo delivers ifferent results in TS and NTS under Windows
 [2014-10-07 23:32 UTC] stas@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=e6b727d3b7eef06d8b7b6a4638a95e7a571d97b5
Log: Fixed bug #63590 Fileinfo delivers ifferent results in TS and NTS under Windows
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 17:01:58 2024 UTC