Share September 2005: Project of the Month

MinGW - Minimalist GNU for Windows

Tracker: Patches

5 Fix Ctrl-C Handler - ID: 1624635
Last Update: Attachment added ( highlandsun )

This is an improved patch for propagating Ctrl-C/Ctrl-Break events from
MSYS to regular Windows apps. It was originally posted here
http://thread.gmane.org/gmane.comp.gnu.mingw.msys/3793/focus=3797
This patch also supersedes
https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1333217&group_
id=2435

This code assumes that the target program has been linked with an MSVC
CRT DLL. If it can find one of these DLLs attached to the target, then
it will find the raise() entry point in the DLL, and use that to send
signals to the target. One advantage of this approach is that it will
work even if the target program doesn't use a Console. The obvious
disadvantage is that it's pretty invasive. If there's no MSVCRT, then it
does nothing.


Howard Chu ( highlandsun ) - 2006-12-29 22:24

5

Open

None

Earnie Boyd

msys

None

Public


Comments

No follow-up comments have been posted.

Attached File ( 1 )

Filename Description Download
ctrl_c.patch Patch for winsup/cygwin/... Download

Change ( 1 )

Field Old Value Date By
File Added 208992: ctrl_c.patch 2006-12-29 22:24 highlandsun