PHP :: Bug #61566 :: Fileinfo ext\fileinfo\tests\finfo_file_002.phpt fails

 [2012-03-30 15:11 UTC] ab@php.net

Description:
------------
Test diff:

001+
001- array(6) {
002-   ["%s/resources/dir.zip"]=>
003-   string(15) "application/zip"
004-   ["%s/resources/test.bmp"]=>
005-   string(14) "image/x-ms-bmp"
006-   ["%s/resources/test.gif"]=>
007-   string(9) "image/gif"
008-   ["%s/resources/test.jpg"]=>
009-   string(10) "image/jpeg"
010-   ["%s/resources/test.pdf"]=>
011-   string(15) "application/pdf"
012-   ["%s/resources/test.png"]=>
013-   string(9) "image/png"
014- }

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

Actual result:
--------------
test fails

 [2012-04-02 15:05 UTC] ab@php.net

-PHP Version: 5.3Git-2012-03-30 (Git) +PHP Version: Irrelevant

 [2012-04-02 15:11 UTC] ab@php.net

The final patch fixes the failure caused by the posix lseek and read versions under windows in cdf_read() . Additionally all the occurences of lseek and read was replaced by _lseek and _reed for windows.

 [2012-04-02 15:57 UTC] ab@php.net

The patch was commited in revisions:

8684fb7facd8f5c1589996c1ebfd782f77c245ff
909713e233704b4ac317ff3bb397cb40a82795b8

 [2013-04-11 13:00 UTC] ab@php.net

Fixed a while ago, closing.

 [2013-04-11 13:00 UTC] ab@php.net

-Status: Open +Status: Closed -Assigned To: +Assigned To: ab