com php-src: fixed EOL: ext/fileinfo/libmagic/apprentice.c
| From: | Anatol Belski | Date: | Mon, 08 Apr 2013 07:20:43 +0000 |
| Subject: | com php-src: fixed EOL: ext/fileinfo/libmagic/apprentice.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-71882@lists.php.net to get a copy of this message | ||
Commit: b0b81c0a37b33ee6b302c828831a2d1488994cb5
Author: Anatol Belski <ab@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 */