projects
/
platform
/
upstream
/
xz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac462b1
)
xz: Avoid raise() also on OpenVMS.
author
Lasse Collin
<lasse.collin@tukaani.org>
Tue, 12 Oct 2010 12:13:30 +0000
(15:13 +0300)
committer
Lasse 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
patch
|
blob
|
history
diff --git
a/src/xz/signals.c
b/src/xz/signals.c
index
ff524d1
..
4d6a9da
100644
(file)
--- 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) {
-#if
def 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.