Bug #63590 [Opn->Csd]: Fileinfo different results in TS and NTS
Edit report at https://bugs.php.net/bug.php?id=63590&edit=1
ID: 63590
Updated by: ab@php.net
Reported by: ab@php.net
Summary: Fileinfo different results in TS and NTS
-Status: Open
+Status: Closed
Type: Bug
Package: *Directory/Filesystem functions
Operating System: windows
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2012-11-23 19:31:17] 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-23 19:27:20] 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
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=63590&edit=1
Thread (3 messages)