mirror of
git://slackware.nl/current.git
synced 2024-12-28 09:59:53 +01:00
15 lines
591 B
Diff
15 lines
591 B
Diff
|
diff -Nur file-5.00.orig/src/apprentice.c file-5.00/src/apprentice.c
|
||
|
--- file-5.00.orig/src/apprentice.c 2009-02-03 14:27:51.000000000 -0600
|
||
|
+++ file-5.00/src/apprentice.c 2009-02-08 22:19:19.215635230 -0600
|
||
|
@@ -285,8 +285,8 @@
|
||
|
|
||
|
#ifndef COMPILE_ONLY
|
||
|
if ((rv = apprentice_map(ms, &magic, &nmagic, fn)) == -1) {
|
||
|
- if (ms->flags & MAGIC_CHECK)
|
||
|
- file_magwarn(ms, "using regular magic file `%s'", fn);
|
||
|
+ /* if (ms->flags & MAGIC_CHECK)
|
||
|
+ file_magwarn(ms, "using regular magic file `%s'", fn); */
|
||
|
rv = apprentice_load(ms, &magic, &nmagic, fn, action);
|
||
|
if (rv != 0)
|
||
|
return -1;
|