From f3bcf9ce474a96d51791206adfeac4c874f78caf Mon Sep 17 00:00:00 2001 From: peter Date: Mon, 2 Sep 2002 11:35:13 +0000 Subject: cvs-1.11.2 seems to bug out if HAVE_MMAP is not defined. It hoses its internal buffer management somehow (an off by one perhaps). HAVE_MMAP wasn't detected because configure has a bogus declaration of malloc which conflicted with stdlib.h. Sigh. --- gnu/usr.bin/cvs/lib/config.h | 2 +- gnu/usr.bin/cvs/lib/config.h.proto | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu') diff --git a/gnu/usr.bin/cvs/lib/config.h b/gnu/usr.bin/cvs/lib/config.h index 836a00c..4169f82 100644 --- a/gnu/usr.bin/cvs/lib/config.h +++ b/gnu/usr.bin/cvs/lib/config.h @@ -25,7 +25,7 @@ #define HAVE_LONG_FILE_NAMES 1 /* Define if you have a working `mmap' system call. */ -/* #undef HAVE_MMAP */ +#define HAVE_MMAP 1 /* Define if your struct stat has st_blksize. */ #define HAVE_ST_BLKSIZE 1 diff --git a/gnu/usr.bin/cvs/lib/config.h.proto b/gnu/usr.bin/cvs/lib/config.h.proto index 836a00c..4169f82 100644 --- a/gnu/usr.bin/cvs/lib/config.h.proto +++ b/gnu/usr.bin/cvs/lib/config.h.proto @@ -25,7 +25,7 @@ #define HAVE_LONG_FILE_NAMES 1 /* Define if you have a working `mmap' system call. */ -/* #undef HAVE_MMAP */ +#define HAVE_MMAP 1 /* Define if your struct stat has st_blksize. */ #define HAVE_ST_BLKSIZE 1 -- cgit v1.1