Code

Use xrealloc instead of realloc
authorJonas Fonseca <fonseca@diku.dk>
Sat, 26 Aug 2006 14:16:18 +0000 (16:16 +0200)
committerJunio C Hamano <junkio@cox.net>
Sun, 27 Aug 2006 00:54:06 +0000 (17:54 -0700)
commit83572c1a914d3f7a8dd66d954c11bbc665b7b923
treebae4dc57d36b83c835253498dfdabd29d4dec66e
parent095c424d08d96a5f9ee3ca53ae952e92c5cff99b
Use xrealloc instead of realloc

Change places that use realloc, without a proper error path, to instead use
xrealloc. Drop an erroneous error path in the daemon code that used errno
in the die message in favour of the simpler xrealloc.

Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-fmt-merge-msg.c
builtin-log.c
builtin-mv.c
daemon.c
diff-delta.c
dir.c
git.c
sha1_file.c
xdiff-interface.c