Edit report at https://bugs.php.net/bug.php?id=63248&edit=1

 ID:                 63248
 Updated by:         a...@php.net
 Reported by:        a...@php.net
 Summary:            ext\fileinfo\tests\bug61964.phpt fails (load
                     multiple magic files)
-Status:             Open
+Status:             Closed
 Type:               Bug
 Package:            *General Issues
 Operating System:   Windows
 PHP Version:        5.4Git-2012-10-09 (Git)
 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=6d019deee206dd76396bcaff9497ae3619d279b0
Log: Fixed bug #63248 Load multiple magic files on win


Previous Comments:
------------------------------------------------------------------------
[2012-10-15 20:27:27] mattfic...@php.net

Using the latest patch, all fileinfo tests, including bug61964 now pass for me 
on Win7sp1x64.

------------------------------------------------------------------------
[2012-10-14 12:30:48] re...@php.net

I didn't have build environment installed, will try that later :)

------------------------------------------------------------------------
[2012-10-13 21:16:32] a...@php.net

@reeze, that's exactly what it's about - prevent tries to get dir handle on 
windows. Another part of that is that it was using dirent_a.lib to iterate a 
dir which doesn't work on 5.4 as expected. I've updated the patch where that 
part is implemented with streams. Could you try it on windows please? Was the 
previous patch working for you on windows?

------------------------------------------------------------------------
[2012-10-13 21:08:25] a...@php.net

The following patch has been added/updated:

Patch Name: bug63248.patch
Revision:   1350162505
URL:        
https://bugs.php.net/patch-display.php?bug=63248&patch=bug63248.patch&revision=1350162505

------------------------------------------------------------------------
[2012-10-13 15:36:48] re...@php.net

on windows we couldn't  fopen() or file_get_contents() a directory.
it didn't consist on *nix systems behavior

so does the test failed because of this. 

maybe we could update streams implementation?

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=63248


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=63248&edit=1

Reply via email to