pkgsrc/devel/id-utils/patches/patch-an

18 lines
519 B
Text

$NetBSD: patch-an,v 1.1 2002/03/01 01:38:48 jmc Exp $
--- libidu/scanners.h.orig Fri Mar 1 01:21:16 2002
+++ libidu/scanners.h Fri Mar 1 01:21:30 2002
@@ -21,11 +21,11 @@
#include "xobstack.h"
-#define MAX_LEVELS 5 /* log_8 of the max # of files: log_8 (32768) == 5 */
+#define MAX_LEVELS 16 /* log_8 of the max # of files: log_8 (2^32) == 16 */
struct token
{
- unsigned short tok_count;
+ unsigned int tok_count;
unsigned char tok_flags;
unsigned char tok_hits[MAX_LEVELS];
char tok_name[1];