Hello,

This patch was also breaking finfo_open():

$finfo = finfo_open(FILEINFO_MIME, '/usr/share/file/magic');

would return an error in -24 , it worked in -23 (and it works
again in -25).

Probably some kind of mismanagement of /tmp, as calling magic.mgc
(the binary version) works fine in all version.


Test script:

<?php
$const = FILEINFO_MIME;
// works in -23 and -25, breaks in -24:
$finfo = finfo_open($const, '/usr/share/file/magic');
// works in all, including -24:
//$finfo = finfo_open($const, '/usr/share/file/magic.mgc');
//var_dump($finfo);
if (!$finfo)
   echo "Unable to open file\n";
?>

        Arnaud.


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: https://lists.debian.org/[email protected]

Reply via email to