git-commit-vandalism/compat/win32
Mike Pape 088d880247 mingw: implement syslog
Syslog does not usually exist on Windows, so implement our own using
Window's ReportEvent mechanism.

Strings containing "%1" gets expanded into them selves by ReportEvent,
resulting in an unreadable string. "%2" and above is not a problem.
Unfortunately, on Windows an IPv6 address can contain "%1", so expand
"%1" to "% 1" before reporting. "%%1" is also a problem for ReportEvent,
but that string cannot occur in an IPv6 address.

Signed-off-by: Mike Pape <dotzenlabs@gmail.com>
Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2010-11-04 16:53:49 -07: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: implement syslog 2010-11-04 16:53:49 -07:00
syslog.h mingw: implement syslog 2010-11-04 16:53:49 -07:00