diff options
author | KWSys Robot <kwrobot@kitware.com> | 2014-07-18 12:32:24 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-07-18 14:15:20 (GMT) |
commit | d4d1b7f7d1d6592f12a6692dfb8068aa495bd454 (patch) | |
tree | 9f4a7d7bacb149276334e8e7afadafb91c7f5e2f /SystemInformation.cxx | |
parent | 3d127627f8e28d97ecc44515e274b3780ae3f4b9 (diff) | |
download | CMake-d4d1b7f7d1d6592f12a6692dfb8068aa495bd454.zip CMake-d4d1b7f7d1d6592f12a6692dfb8068aa495bd454.tar.gz CMake-d4d1b7f7d1d6592f12a6692dfb8068aa495bd454.tar.bz2 |
KWSys 2014-07-18 (65b36ede)
Extract upstream KWSys using the following shell commands.
$ git archive --prefix=upstream-kwsys/ 65b36ede | tar x
$ git shortlog --no-merges --abbrev=8 --format='%h %s' c2a329ce..65b36ede
Bob E (1):
697b1401 SystemInformation: No SA_RESTART on QNX
Clinton Stimpson (1):
65b36ede Encoding: Fix testProcess to work with unicode paths.
Steve Dougherty (1):
5f28a52b Terminal: Fix spelling of 'definitely' in comments
Change-Id: I224745dc0ca9603ff915b727e798ef293c462d8f
Diffstat (limited to 'SystemInformation.cxx')
-rw-r--r-- | SystemInformation.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/SystemInformation.cxx b/SystemInformation.cxx index 6544098..2521aac 100644 --- a/SystemInformation.cxx +++ b/SystemInformation.cxx @@ -3696,7 +3696,10 @@ void SystemInformationImplementation::SetStackTraceOnError(int enable) // install ours struct sigaction sa; sa.sa_sigaction=(SigAction)StacktraceSignalHandler; - sa.sa_flags=SA_SIGINFO|SA_RESTART|SA_RESETHAND; + sa.sa_flags=SA_SIGINFO|SA_RESETHAND; +# ifdef SA_RESTART + sa.sa_flags|=SA_RESTART; +# endif sigemptyset(&sa.sa_mask); sigaction(SIGABRT,&sa,0); |