From owner-cvs-all Wed Jul 21 18:22:14 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 5455D14C41; Wed, 21 Jul 1999 18:22:12 -0700 (PDT) (envelope-from wes@FreeBSD.org) Received: (from wes@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id SAA33630; Wed, 21 Jul 1999 18:22:09 -0700 (PDT) (envelope-from wes@FreeBSD.org) Message-Id: <199907220122.SAA33630@freefall.freebsd.org> From: Wes Peters Date: Wed, 21 Jul 1999 18:22:09 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/file apprentice.c file.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk wes 1999/07/21 18:22:09 PDT Modified files: usr.bin/file apprentice.c file.h Log: Vastly improve the speed of the file command by making the expected size of the magic(5) database agree with the real world. Also, improve the behavior of the realloc mechanism when the magic database does exceed expectations. Reviewed by: Peter Jeremy, Matt Dillon Obtained from: Peter Edwards Revision Changes Path 1.8 +5 -4 src/usr.bin/file/apprentice.c 1.9 +2 -2 src/usr.bin/file/file.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message