Am Mittwoch, den 07.06.2006, 09:42 +0200 schrieb Michael Piefel:
> Am Dienstag, den 06.06.2006, 20:55 +0200 schrieb Daniel Leidert:
> > I retitled this bug and assigned it to libmagic1.
>
> First, I would have preferred not to get _five_ messages about this.
Sorry. But a mail-server I don't maintain made stupid things.
> Second, where is the bug in file? Think about it, hard.
Here the warning:
php --version
PHP Warning: mime_magic: type regex BEGIN[[:space:]]*[{]
application/x-awk invalid in Unknown on line 0
PHP 4.4.2-1+b1 (cli) (built: Mar 20 2006 03:48:19)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
Here the file:
# grep x-awk /usr/share/file/magic.mime
0 string #!/bin/awk application/x-awk
0 string #!\ /bin/awk application/x-awk
0 string #!/usr/bin/awk application/x-awk
0 string #!\ /usr/bin/awk application/x-awk
0 regex BEGIN[[:space:]]*[{] application/x-awk
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
PHP complains about the marked line. If PHP complains, I guess,
something is wrong - in the php or the libmagic1 package(s). And if
something says: 'type regex invalid' I guess, it's a bug. Several
reports exists about this issue (in several Debian mailing lists and I
know one more entry in BTS).
http://lists.debian.org/debian-wnpp/2006/03/msg00621.html
http://lists.debian.org/debian-security/2006/06/msg00010.html
...
Regards, Daniel
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]