author | Nicolas Pitre <nico@cam.org> | |
Mon, 18 Dec 2006 21:06:50 +0000 (16:06 -0500) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 18 Dec 2006 23:30:17 +0000 (15:30 -0800) | ||
commit | 57b73150c4f1dbc26474a0031f433fb34db1c13f | |
tree | 382bc838eda09dc65fd78b9bf0853a9a47ca630b | tree | snapshot |
parent | e1bb1d31ea7b5a2a3f20508e5643e8fc9ee5f0fd | commit | diff |
make patch_delta() error cases a bit more verbose
It is especially important to distinguish between a malloc() failure
from all the other cases. An out of memory condition is much less
worrisome than a compatibility/corruption problem.
Also make test-delta compilable again.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
It is especially important to distinguish between a malloc() failure
from all the other cases. An out of memory condition is much less
worrisome than a compatibility/corruption problem.
Also make test-delta compilable again.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile | diff | blob | history | |
patch-delta.c | diff | blob | history |