Windows requires re-setting the signal handler each time it is used
and thus ctrl-c was not behaving properly on Windows
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 34168 Build 34167: arc lint + arc unit
Event Timeline
tools/driver/Driver.cpp | ||
---|---|---|
711 | It seems like you'd want to do it for every non-fatal signal, not just signint? |
tools/driver/Driver.cpp | ||
---|---|---|
711 | signal(SIGINT, sigint_handler); #if !defined(_MSC_VER) signal(SIGPIPE, SIG_IGN); signal(SIGWINCH, sigwinch_handler); signal(SIGTSTP, sigtstp_handler); signal(SIGCONT, sigcont_handler); #endif Windows doesn't have them, thus they re ifdefed out. |
It seems like you'd want to do it for every non-fatal signal, not just signint?