Bug#357518: libmagic1: php cli issues mime_magic warning

2006-03-21 Thread Jeroen van Gorkum
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

Bug#357518: libmagic1: php cli issues mime_magic warning

2006-03-21 Thread Michael Piefel
Am Dienstag, den 21.03.2006, 13:20 +0100 schrieb Jeroen van Gorkum: > [...] in which that regex > line was changed. everything was working OK 'till then, and php > cli was not upgraded. Well, in 4.15 there wasn’t _any_ regex line in magic.mime. Now there is. The format is documented and libmagic w

Bug#357518: libmagic1: php cli issues mime_magic warning

2006-03-21 Thread Jeroen van Gorkum
Michael Piefel, Tuesday, March 21, 2006 12:17 PM: > Why do you think this is a bug in file? This is > clearly a PHP issue. i don't think that; that was my workaround. i just reported a bug against the smallest 'thing' i could find that was causing trouble. problem started with the upgrade of libm

Bug#357518: libmagic1: php cli issues mime_magic warning

2006-03-21 Thread Michael Piefel
Am Freitag, den 17.03.2006, 21:08 +0100 schrieb Jeroen van Gorkum: > commenting line 273 in /usr/share/file/magic.mime... > #0 regex BEGIN[[:space:]]*[{] application/x-awk > ...suppresses the warning, allowing php cli to be used again as normal. Why do you think this is a bug in file? This is clea

Bug#357518: libmagic1: php cli issues mime_magic warning

2006-03-17 Thread Jeroen van Gorkum
Package: file Version: 4.17-1 Severity: normal # /usr/bin/php -v PHP Warning: mime_magic: type regex BEGIN[[:space:]]*[{] application/x-awk invalid in Unknown on line 0 PHP 4.4.2-1 (cli) (built: Jan 18 2006 12:33:46) Copyright (c) 1997-2006 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-20