]> git.ipfire.org Git - thirdparty/git.git/commit - daemon.c
git daemon: avoid calling syslog() from a signal handler
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Thu, 3 Jul 2008 15:27:24 +0000 (16:27 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Jul 2008 02:10:31 +0000 (19:10 -0700)
commita5a9126bb4d7c2c23b94101dc49bcca33b6b17e8
tree1866804bf86b0c91e54241936f26c84565ba9d99
parent182c5afa6c00eb8b773fc062bfd2c29f27ea546b
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>
daemon.c