summaryrefslogtreecommitdiff
path: root/advice.h
diff options
context:
space:
mode:
authorLibravatar Erik Faye-Lund <kusmabite@gmail.com>2011-10-06 19:52:48 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-10-07 16:12:25 -0700
commit2a6b149c64f6ba8cc3eef70c6901ee0c67a137a7 (patch)
tree12e4f74786a964b36a2be47a786a53bf2b30f89a /advice.h
parentGit 1.7.7 (diff)
downloadtgif-2a6b149c64f6ba8cc3eef70c6901ee0c67a137a7.tar.xz
mingw: avoid using strbuf in syslog
strbuf can call die, which again can call syslog from git-daemon. Endless recursion is no fun; fix it by hand-rolling the logic. As a side-effect malloc/realloc errors are changed into non-fatal warnings; this is probably an improvement anyway. Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com> Noticed-by: Johannes Sixt <j.sixt@viscovery.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'advice.h')
0 files changed, 0 insertions, 0 deletions