From 5822ec3d44aa6ad2261d9e3ce07d589a7e6a3dcb Mon Sep 17 00:00:00 2001
From: Robert James Kaes <rjkaes@users.sourceforge.net>
Date: Thu, 18 Apr 2002 16:57:06 +0000
Subject: Moved the log rotation code out of the signal handler and into it's
 own function.  The signal handler now simply sets a flag which is monitored
 inside the thread_main_loop() function.  The log rotation code has also been
 tightened to handle any error conditions better.  Credit to Petr Lampa for
 suggesting that system functions inside of a signal handler is bad magic.

---
 ChangeLog | 9 +++++++++
 1 file changed, 9 insertions(+)

(limited to 'ChangeLog')

diff --git a/ChangeLog b/ChangeLog
index 314970b..b2d2ce8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2002-04-18  Robert James Kaes  <rjkaes@flarenet.com>
+
+	* src/utils.c (rotate_log_files): Moved the log rotation code out
+	of the signal handler and into it's own function.  Also improved
+	the robustness of the code.  Credit to Petr Lampa for suggesting
+	that system calls in a signal handler is bad magic.  Now the
+	signal handler sets a flag which is responded to inside of
+	thread_main_loop().
+
 2002-04-17  Robert James Kaes  <rjkaes@flarenet.com>
 
 	* configure.ac: Added test for pthread_cancel() since it doesn't
-- 
cgit v1.2.3