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 default size of magic entries array to...
details: https://anonhg.NetBSD.org/src/rev/5aecb23338fb
branches: trunk
changeset: 480054:5aecb23338fb
user: tron <tron%NetBSD.org@localhost>
date: Fri Dec 31 13:09:20 1999 +0000
description:
Increase default size of magic entries array to 4096 because NetBSD's
magic(5) has more than 2048 entries already.
diffstat:
usr.bin/file/file.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r d90031729fb6 -r 5aecb23338fb usr.bin/file/file.h
--- a/usr.bin/file/file.h Fri Dec 31 13:07:59 1999 +0000
+++ b/usr.bin/file/file.h Fri Dec 31 13:09:20 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: file.h,v 1.16 1999/11/02 21:05:20 jwise Exp $ */
+/* $NetBSD: file.h,v 1.17 1999/12/31 13:09:20 tron Exp $ */
/*
* file.h - definitions for file(1) program
@@ -43,7 +43,7 @@
#ifndef HOWMANY
# define HOWMANY 16384 /* how much of the file to look at */
#endif
-#define MAXMAGIS 2048 /* max entries in /etc/magic */
+#define MAXMAGIS 4096 /* 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