-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It doesn't help us determine if the file is binary or not, and just seems to create a bunch of problems like the ones in #4
- Loading branch information
1 parent
4b2478e
commit 0989ca9
Showing
3 changed files
with
13 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- src/funcs.c.orig 2013-01-27 01:23:01.000000000 -0800 | ||
+++ src/funcs.c 2013-01-27 01:23:46.000000000 -0800 | ||
@@ -300,7 +300,7 @@ | ||
protected int | ||
file_reset(struct magic_set *ms) | ||
{ | ||
- if (ms->mlist == NULL) { | ||
+ if (!(ms->flags & MAGIC_NO_CHECK_SOFT) && ms->mlist == NULL) { | ||
file_error(ms, 0, "no magic files loaded"); | ||
return -1; | ||
} |