diff options
author | peter <peter@FreeBSD.org> | 2002-09-02 11:35:13 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2002-09-02 11:35:13 +0000 |
commit | f3bcf9ce474a96d51791206adfeac4c874f78caf (patch) | |
tree | f8dba24e436aae3317066bac424dc312d97fb425 /gnu/usr.bin/cvs | |
parent | 9ebea44a28f0cb90be60e2980df7e0dbb801286d (diff) | |
download | FreeBSD-src-f3bcf9ce474a96d51791206adfeac4c874f78caf.zip FreeBSD-src-f3bcf9ce474a96d51791206adfeac4c874f78caf.tar.gz |
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.
Diffstat (limited to 'gnu/usr.bin/cvs')
-rw-r--r-- | gnu/usr.bin/cvs/lib/config.h | 2 | ||||
-rw-r--r-- | gnu/usr.bin/cvs/lib/config.h.proto | 2 |
2 files changed, 2 insertions, 2 deletions
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 |