From a2e6c01ca0d167b8a3aac87ca30381cc88d9c2e3 Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Sun, 24 Feb 2008 01:06:08 +0000 Subject: [PATCH] Reduce MAXMAGIS again; I hadn't realised it isn't really a maximum, just an initial max. size. --- src/file.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/file.h b/src/file.h index dd485e45..15f98d0c 100644 --- a/src/file.h +++ b/src/file.h @@ -27,7 +27,7 @@ */ /* * file.h - definitions for file(1) program - * @(#)$File: file.h,v 1.97 2008/02/19 00:58:59 rrt Exp $ + * @(#)$File: file.h,v 1.98 2008/02/19 17:29:30 rrt Exp $ */ #ifndef __file_h__ @@ -91,7 +91,7 @@ #ifndef HOWMANY # define HOWMANY (256 * 1024) /* how much of the file to look at */ #endif -#define MAXMAGIS 16384 /* max entries in any one magic file +#define MAXMAGIS 8192 /* max entries in any one magic file or directory */ #define MAXDESC 64 /* max leng of text description/MIME type */ #define MAXstring 32 /* max leng of "string" types */ -- 2.40.0