author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Sat, 8 Oct 2005 22:54:36 +0000 (15:54 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 8 Oct 2005 22:54:36 +0000 (15:54 -0700) | ||
commit | 730d48a2ef88a7fb7aa4409d40b1e6964a93267f | |
tree | 4dda7a024e31f618f849df65f142f1e30fe617a5 | tree | snapshot |
parent | d119e3de13ea1493107bd57381d0ce9c9dd90976 | commit | diff |
[PATCH] If NO_MMAP is defined, fake mmap() and munmap()
Since some platforms do not support mmap() at all, and others do only just
so, this patch introduces the option to fake mmap() and munmap() by
malloc()ing and read()ing explicitely.
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Since some platforms do not support mmap() at all, and others do only just
so, this patch introduces the option to fake mmap() and munmap() by
malloc()ing and read()ing explicitely.
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Makefile | diff | blob | history | |
cache.h | diff | blob | history | |
compat/mmap.c | [new file with mode: 0644] | blob |
mailsplit.c | diff | blob | history |