author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Thu, 3 Jul 2008 15:27:24 +0000 (16:27 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 7 Jul 2008 02:10:31 +0000 (19:10 -0700) | ||
commit | a5a9126bb4d7c2c23b94101dc49bcca33b6b17e8 | |
tree | 1866804bf86b0c91e54241936f26c84565ba9d99 | tree | snapshot |
parent | 182c5afa6c00eb8b773fc062bfd2c29f27ea546b | commit | diff |
git daemon: avoid calling syslog() from a signal handler
Signal handlers should never call syslog(), as that can raise signals
of its own.
Instead, call the syslog() from the master process.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signal handlers should never call syslog(), as that can raise signals
of its own.
Instead, call the syslog() from the master process.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
daemon.c | diff | blob | history |