summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2002-04-18 16:57:06 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2002-04-18 16:57:06 +0000
commit5822ec3d44aa6ad2261d9e3ce07d589a7e6a3dcb (patch)
tree6367565772fd4a626c328e7f396113c213bd8eb3 /ChangeLog
parent6a588826c1411d3ea259a83f96f6744b20de65d6 (diff)
downloadtinyproxy-5822ec3d44aa6ad2261d9e3ce07d589a7e6a3dcb.tar.gz
tinyproxy-5822ec3d44aa6ad2261d9e3ce07d589a7e6a3dcb.zip
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.
Diffstat (limited to '')
-rw-r--r--ChangeLog9
1 files changed, 9 insertions, 0 deletions
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