[PATCH] introduce xmalloc and xrealloc
authorChristopher Li <git@chrisli.org>
Tue, 26 Apr 2005 19:00:58 +0000 (12:00 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 26 Apr 2005 19:00:58 +0000 (12:00 -0700)
commit812666c8e66a21e668c0789d0422aa5a7db54961
treeb98a096f4b3c70aac3110f905a1367c23b402cca
parentf2a19340ada1188e278d5b198d3466ed7411e2d4
[PATCH] introduce xmalloc and xrealloc

Introduce xmalloc and xrealloc to die gracefully with a descriptive
message when out of memory, rather than taking a SIGSEGV.

Signed-off-by: Christopher Li<chrislgit@chrisli.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 files changed:
blob.c
cache.h
checkout-cache.c
commit-tree.c
commit.c
convert-cache.c
diff-tree.c
diff.c
http-pull.c
init-db.c
object.c
read-cache.c
sha1_file.c
show-files.c
strbuf.c
tree.c
update-cache.c
write-tree.c