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  <[EMAIL PROTECTED]>                       |
   +----------------------------------------------------------------------+
 
-  $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);

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to