aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2010-10-12 15:13:30 +0300
committerLasse Collin <lasse.collin@tukaani.org>2010-10-12 15:13:30 +0300
commitf0fa880d247e73264d2c04fe31fb3412318a0026 (patch)
tree2da4b04eef386e48f026c1bfe807f56b9e339471
parentxz: Avoid SA_RESTART for portability reasons. (diff)
downloadxz-f0fa880d247e73264d2c04fe31fb3412318a0026.tar.xz
xz: Avoid raise() also on OpenVMS.
This is similar to DOS/DJGPP that killing the program with a signal will print a backtrace or a similar message.
-rw-r--r--src/xz/signals.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xz/signals.c b/src/xz/signals.c
index ff524d18..4d6a9da3 100644
--- a/src/xz/signals.c
+++ b/src/xz/signals.c
@@ -148,7 +148,7 @@ signals_exit(void)
const int sig = exit_signal;
if (sig != 0) {
-#ifdef TUKLIB_DOSLIKE
+#if defined(TUKLIB_DOSLIKE) || defined(__VMS)
// Don't raise(), set only exit status. This avoids
// printing unwanted message about SIGINT when the user
// presses C-c.