author | Christopher Li <git@chrisli.org> | |
Tue, 26 Apr 2005 19:00:58 +0000 (12:00 -0700) | ||
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Tue, 26 Apr 2005 19:00:58 +0000 (12:00 -0700) | ||
commit | 812666c8e66a21e668c0789d0422aa5a7db54961 | |
tree | b98a096f4b3c70aac3110f905a1367c23b402cca | tree | snapshot |
parent | f2a19340ada1188e278d5b198d3466ed7411e2d4 | commit | diff |
[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>
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 | diff | blob | history | |
cache.h | diff | blob | history | |
checkout-cache.c | diff | blob | history | |
commit-tree.c | diff | blob | history | |
commit.c | diff | blob | history | |
convert-cache.c | diff | blob | history | |
diff-tree.c | diff | blob | history | |
diff.c | diff | blob | history | |
http-pull.c | diff | blob | history | |
init-db.c | diff | blob | history | |
object.c | diff | blob | history | |
read-cache.c | diff | blob | history | |
sha1_file.c | diff | blob | history | |
show-files.c | diff | blob | history | |
strbuf.c | diff | blob | history | |
tree.c | diff | blob | history | |
update-cache.c | diff | blob | history | |
write-tree.c | diff | blob | history |