1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-11-17 06:25:13 +01:00
git/compat/win32
Erik Faye-Lund 2a6b149c64 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>
2011-10-07 16:12:25 -07:00
..
sys msvc: Fix compilation errors in compat/win32/sys/poll.c 2010-12-09 11:13:55 -08:00
dirent.c win32: use our own dirent.h 2010-11-23 16:06:50 -08:00
dirent.h win32: use our own dirent.h 2010-11-23 16:06:50 -08:00
pthread.c Windows: more pthreads functions 2010-03-07 00:37:36 -08:00
pthread.h Merge branch 'js/async-thread' 2010-06-21 06:02:45 -07:00
syslog.c mingw: avoid using strbuf in syslog 2011-10-07 16:12:25 -07:00
syslog.h mingw: implement syslog 2010-11-04 16:53:49 -07:00