Subject: CVS commit: src/usr.sbin/mtree
To: None <source-changes@NetBSD.org>
From: Elad Efrat <elad@netbsd.org>
List: source-changes
Date: 02/04/2007 08:03:19
Module Name:	src
Committed By:	elad
Date:		Sun Feb  4 08:03:18 UTC 2007

Modified Files:
	src/usr.sbin/mtree: compare.c create.c mtree.h

Log Message:
The hashing routines (MD5File() and co.) can do dynamic allocation, so
take advantage of that instead of an ugly hard-coded MAXHASHLEN limit
that needs updating.

I think this was suggested by cube@ years ago.


To generate a diff of this commit:
cvs rdiff -r1.50 -r1.51 src/usr.sbin/mtree/compare.c \
    src/usr.sbin/mtree/create.c
cvs rdiff -r1.25 -r1.26 src/usr.sbin/mtree/mtree.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.