Subject: CVS commit: basesrc/lib/libc/db/recno
To: None <source-changes@netbsd.org>
From: Aymeric Vincent <aymeric@netbsd.org>
List: source-changes
Date: 10/01/2001 00:12:01
Module Name:	basesrc
Committed By:	aymeric
Date:		Sun Sep 30 21:12:01 UTC 2001

Modified Files:
	basesrc/lib/libc/db/recno: rec_get.c

Log Message:
indx_t can be a 16 bit type, and is thus not suited to hold a difference
between two pointers in the general case. Replace it by ptrdiff_t.

-> recno databases can now handle records of more than 64KB
-> nvi can now handle files with lines bigger than 64KB

Problem and fix suggested by FreeBSD PR#9350


To generate a diff of this commit:
cvs rdiff -r1.10 -r1.11 basesrc/lib/libc/db/recno/rec_get.c

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