Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/file Increase the default maxmagic.



details:   https://anonhg.NetBSD.org/src/rev/29a336f5a0a2
branches:  trunk
changeset: 476044:29a336f5a0a2
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Sat Sep 04 19:51:58 1999 +0000

description:
Increase the default maxmagic.

diffstat:

 usr.bin/file/file.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r e349622cb6bf -r 29a336f5a0a2 usr.bin/file/file.h
--- a/usr.bin/file/file.h       Sat Sep 04 19:51:11 1999 +0000
+++ b/usr.bin/file/file.h       Sat Sep 04 19:51:58 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: file.h,v 1.13 1998/09/30 18:51:13 thorpej Exp $        */
+/*     $NetBSD: file.h,v 1.14 1999/09/04 19:51:58 mycroft Exp $        */
 
 /*
  * file.h - definitions for file(1) program
@@ -37,7 +37,7 @@
 #ifndef HOWMANY
 # define HOWMANY 8192          /* how much of the file to look at */
 #endif
-#define MAXMAGIS 1000          /* max entries in /etc/magic */
+#define MAXMAGIS 2048          /* max entries in /etc/magic */
 #define MAXDESC        50              /* max leng of text description */
 #define MAXstring 32           /* max leng of "string" types */
 



Home | Main Index | Thread Index | Old Index