cvs: php-src /ext/mime_magic mime_magic.c

From: Date: Tue, 18 Oct 2005 13:02:15 +0000
Subject: cvs: php-src /ext/mime_magic mime_magic.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-34654@lists.php.net to get a copy of this message
derick Tue Oct 18 09:02:15 2005 EDT Modified files: /php-src/ext/mime_magic mime_magic.c Log: - Allow mime_content_type() to work with even a slightly broken mime magic file. http://cvs.php.net/diff.php/php-src/ext/mime_magic/mime_magic.c?r1=1.44&r2=1.45&ty=u Index: php-src/ext/mime_magic/mime_magic.c diff -u php-src/ext/mime_magic/mime_magic.c:1.44 php-src/ext/mime_magic/mime_magic.c:1.45 --- php-src/ext/mime_magic/mime_magic.c:1.44 Tue Oct 18 08:41:13 2005 +++ php-src/ext/mime_magic/mime_magic.c Tue Oct 18 09:02:11 2005 @@ -15,7 +15,7 @@ | Author: Hartmut Holzgraefe <hholzgra@php.net> | +----------------------------------------------------------------------+ - $Id: mime_magic.c,v 1.44 2005/10/18 12:41:13 tony2001 Exp $ + $Id: mime_magic.c,v 1.45 2005/10/18 13:02:11 derick 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: @@ -434,9 +434,6 @@ /* parse it */ if (parse(line + ws_offset, lineno) != 0) ++errs; - - if(errs && !MIME_MAGIC_G(debug)) - break; } (void) fclose(f);

« previous php.cvs (#34654) next »