From: Vlad S. <vl...@cr...> - 2005-10-21 19:48:50
|
On Linux it exits and NsRestoreSignals sets all handlers back to SIG_DFL which makes it exit on sigint Zoran Vasiljevic wrote: > > Am 21.10.2005 um 21:23 schrieb Zoran Vasiljevic: > >> >> Am 21.10.2005 um 21:19 schrieb Vlad Seryakov: >> >> >>> if (mode == 'c') { >>> /* >>> * Initialize Tcl and start interpreting commands. >>> * This function never returns, so no clean shutdown. >>> */ >>> >>> NsRestoreSignals(); >>> >>> >> >> No, this is totally unrelated. >> See my other email. > > > > The problem is that signal handling is completely messed up. > Not only that it does not correctly handle the sigint, it > also fails when opening pipes (exec) and alike. On Linux it > breaks as well, but with core. > > This is very very bad... > > Zoran > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > naviserver-devel mailing list > nav...@li... > https://lists.sourceforge.net/lists/listinfo/naviserver-devel -- Vlad Seryakov 571 262-8608 office vl...@cr... http://www.crystalballinc.com/vlad/ |