[exim-dev] [Bug 1007] tod_stamp uses non-reentrant localtime…

Top Page
Delete this message
Reply to this message
Author: Phil Pennock
Date:  
To: exim-dev
Subject: [exim-dev] [Bug 1007] tod_stamp uses non-reentrant localtime()
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1007




--- Comment #2 from Phil Pennock <pdp@???> 2010-07-09 03:15:09 ---
Thank you, but we do know that, as does anyone who has programmed a POSIX
environment for any time.

Exim generally avoids doing work in signal handlers and is very cautious about
what it does do, mostly using only its own functions. Normally, there's an
alarm handler, a child handler and the USR1 glue.

A little less time showing off that you've learnt a factoid and a little more
time looking at what the code does would perhaps have helped you here.

In this case, there's an oversight which has led to a race from signal handlers
for the support code for a tool normally only invoked by administrators. It
will be fixed.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email