xz: Avoid raise() also on OpenVMS.
authorLasse Collin <lasse.collin@tukaani.org>
Tue, 12 Oct 2010 12:13:30 +0000 (15:13 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Tue, 12 Oct 2010 12:13:30 +0000 (15:13 +0300)
This is similar to DOS/DJGPP that killing the program
with a signal will print a backtrace or a similar message.

src/xz/signals.c

index ff524d1..4d6a9da 100644 (file)
@@ -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.