Michael Piefel, Tuesday, March 21, 2006 1:59 PM:
>
> Am Dienstag, den 21.03.2006, 13:20 +0100
> schrieb Jeroen van Gorkum:
>> [...] in which that regex line was changed.
>> [...]
>
> Well, in 4.15 there wasn’t _any_ regex line in
> magic.mime. Now there is.
yep, it changed from:
0 string BEGIN application/x-awk
to:
0 regex BEGIN[[:space:]]*[{] application/x-awk
php cli throws warnings with the last one.
> The format is documented and libmagic works
> quite fine.
>
> That very clearly is a PHP problem then. It
> reads the file of another package instead of
> using the provided library. This is not file’s
> or libmagic’s problem in my opinion.
it's fine with me if you want to reassign this to php. i'll just leave the
regex line commented untill it gets fixed.
jeroen.