]> granicus.if.org Git - xz/commitdiff
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 ff524d180b0cb292e310c54afe800998f4988c13..4d6a9da316248364103116e315be9d4ea34d892a 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.