author | Shawn O. Pearce <spearce@spearce.org> | |
Sat, 23 Dec 2006 07:34:41 +0000 (02:34 -0500) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 29 Dec 2006 19:36:45 +0000 (11:36 -0800) | ||
commit | 73b4e4be7128f75346ce6053d6da1672f243bc74 | |
tree | df0ac4eeb57f001a168589cf9c69598ffe8abb5b | tree | snapshot |
parent | 40be82723ca35d4e95daccc3ccf6456f6876430e | commit | diff |
Improve error message when packfile mmap fails.
If we are unable to mmap the a region of the packfile with the mmap()
system call there may be a good reason why, such as a closed file
descriptor or out of address space. Reporting the system level
error message can help to debug such problems.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
If we are unable to mmap the a region of the packfile with the mmap()
system call there may be a good reason why, such as a closed file
descriptor or out of address space. Reporting the system level
error message can help to debug such problems.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
sha1_file.c | diff | blob | history |