[IRCServices] Restarting...

Nick Krassas dreamer at darkness.gr
Mon Sep 20 05:51:55 PDT 1999


Greetings all,
	I've notice something during some tests on the services 4.3pre0,
that is not fixed yet, and is reported at the KnownBugs file.
The problem take place when an admin tries to restast the services for
second time. The services just ingore the restart command, and do nothing. 
This feature is reported untill now only at linux systems, ( i don't know
if this problem exist in other platforms) and is due to the signal
manipulation at main.c. 

line 43 : static jmp_buf panic_jmp; 
line 54 : signal(SIGHUP, SIG_INT); // the signal is ignored from now on
line 58 : longjmp(panic_jmp, 1);

The longjmp function should be changed to siglongjmp() and jmp_buf to
sigjmp_buf.


Dinos 

Admin @darkness.irc.gr
http://www.irc.gr 

---------------------------------------------------------------
To unsubscribe, send email to majordomo at ender.shadowfire.org
with "unsubscribe ircservices" in the body, without the quotes.