From: terry jones Date: March 22 1999 8:07pm Subject: small problem in sql/mysqld.cc List-Archive: http://lists.mysql.com/mysql/795 Message-Id: <199903222007.MAA26347@cliffs.ucsd.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit sql/mysqld.cc contains the following (starts on line 753 in version 3.22.19a): | #ifdef __WIN32__ | static void init_signals(void) | { | int signals[7] = {SIGINT,SIGILL,SIGFPE,SIGSEGV,SIGTERM,SIGABRT } ; | for (uint i=0 ; i < 7 ; i++) | signal( signals[i], kill_server) ; | signal(SIGBREAK,SIG_IGN); //ignore SIGBREAK for NT | } those 7's should surely be a 6's? in any case, it would be better to just use sizeof(signals) / sizeof(int). if you want to reply to me, please use Cc, as i'm not currently on the mailing list. Regards, Terry.