|
From: Howard C. <hig...@us...> - 2006-12-29 18:48:35
|
Update of /cvsroot/mingw/msys/rt/src/winsup/cygwin In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv17528 Modified Files: ChangeLog.MSYS exceptions.cc Log Message: 2006.12.29 Howard Chu <hig...@us...> * exceptions.cc (ctrl_c_handler): Handle CTRL_LOGOFF_EVENT too, since that's sent during a Shutdown. Resolves Tracker #1174106. Index: ChangeLog.MSYS =================================================================== RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/ChangeLog.MSYS,v retrieving revision 1.85 retrieving revision 1.86 diff -C2 -d -r1.85 -r1.86 *** ChangeLog.MSYS 7 Aug 2006 17:18:59 -0000 1.85 --- ChangeLog.MSYS 29 Dec 2006 18:48:31 -0000 1.86 *************** *** 1,2 **** --- 1,7 ---- + 2006.12.29 Howard Chu <hig...@us...> + + * exceptions.cc (ctrl_c_handler): Handle CTRL_LOGOFF_EVENT too, + since that's sent during a Shutdown. Resolves Tracker #1174106. + 2006.08.07 Earnie Boyd <ea...@us...> Index: exceptions.cc =================================================================== RCS file: /cvsroot/mingw/msys/rt/src/winsup/cygwin/exceptions.cc,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** exceptions.cc 13 Jun 2003 18:38:42 -0000 1.5 --- exceptions.cc 29 Dec 2006 18:48:31 -0000 1.6 *************** *** 901,907 **** ctrl_c_handler (DWORD type) { - if (type == CTRL_LOGOFF_EVENT) - return TRUE; - /* Return FALSE to prevent an "End task" dialog box from appearing for each Cygwin process window that's open when the computer --- 901,904 ---- *************** *** 912,916 **** return FALSE; } ! if (type == CTRL_CLOSE_EVENT) { sig_send (NULL, SIGHUP); --- 909,913 ---- return FALSE; } ! if (type == CTRL_CLOSE_EVENT || type == CTRL_LOGOFF_EVENT) { sig_send (NULL, SIGHUP); |