wez Fri Oct 4 15:01:34 2002 EDT Modified files: /php4/ext/mime_magic mime_magic.c Log: Make that error message more meaningful for systems like my SuSE 7.0 with an apparently broken magic file. Index: php4/ext/mime_magic/mime_magic.c diff -u php4/ext/mime_magic/mime_magic.c:1.12 php4/ext/mime_magic/mime_magic.c:1.13 --- php4/ext/mime_magic/mime_magic.c:1.12 Tue Sep 24 02:39:43 2002 +++ php4/ext/mime_magic/mime_magic.c Fri Oct 4 15:01:34 2002 @@ -15,7 +15,7 @@ | Author: Hartmut Holzgraefe <[EMAIL PROTECTED]> | +----------------------------------------------------------------------+ - $Id: mime_magic.c,v 1.12 2002/09/24 06:39:43 sas Exp $ + $Id: mime_magic.c,v 1.13 2002/10/04 19:01:34 wez Exp $ This module contains a lot of stuff taken from Apache mod_mime_magic, so the license section is a little bit longer than usual: @@ -465,7 +465,7 @@ m->offset = (int) strtol(l, &t, 0); if (l == t) { php_error(E_WARNING, - MODNAME ": offset %s invalid", l); + MODNAME ": (line %d) offset `%s' invalid", +lineno, l); } l = t;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php