Commit:    b0b81c0a37b33ee6b302c828831a2d1488994cb5
Author:    Anatol Belski <a...@php.net>         Mon, 8 Apr 2013 09:20:43 +0200
Parents:   10367fa7c6a4a2cf9bee02d8905e284185428f09
Branches:  PHP-5.4 PHP-5.5 master

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=b0b81c0a37b33ee6b302c828831a2d1488994cb5

Log:
fixed EOL

Changed paths:
  M  ext/fileinfo/libmagic/apprentice.c


Diff:
diff --git a/ext/fileinfo/libmagic/apprentice.c 
b/ext/fileinfo/libmagic/apprentice.c
index ef65a7e..8c729d1 100644
--- a/ext/fileinfo/libmagic/apprentice.c
+++ b/ext/fileinfo/libmagic/apprentice.c
@@ -1145,14 +1145,14 @@ apprentice_load(struct magic_set *ms, const char *fn, 
int action)
        if (action == FILE_CHECK)
                (void)fprintf(stderr, "%s\n", usg_hdr);
 
-       {
-               /* XXX the maxmagic has to be reset each time we load some new 
magic file.
-                               Where file commando is used it's not essential 
as the CLI process
-                               ends, multiple loading within the same process 
wouldn't work. */
-               int k;
-               for (k = 0; k < MAGIC_SETS; k++) {
-                       maxmagic[k] = 0;
-               }
+       {
+               /* XXX the maxmagic has to be reset each time we load some new 
magic file.
+               Where file commando is used it's not essential as the CLI 
process
+               ends, multiple loading within the same process wouldn't work. */
+               int k;
+               for (k = 0; k < MAGIC_SETS; k++) {
+                       maxmagic[k] = 0;
+               }
        }
 
        /* load directory or file */


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

Reply via email to