aboutsummaryrefslogtreecommitdiffstats
path: root/unsupported/UnsupportedCRT.c
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2016-04-11 13:01:08 +0200
committerDaniel Lange <DLange@git.local>2016-04-11 13:01:08 +0200
commit0063095c92e95190a0376ad245509345e5b690ed (patch)
tree0b8b7f9aac6410df323a3953423e7a1bdd121e1b /unsupported/UnsupportedCRT.c
parent43997d37137cc1e4a1a5be654aa16d4992045e34 (diff)
parentff9409b1737627857eb47f64f536a3f66b6a09a4 (diff)
downloaddebian_htop-0063095c92e95190a0376ad245509345e5b690ed.tar.gz
debian_htop-0063095c92e95190a0376ad245509345e5b690ed.tar.bz2
debian_htop-0063095c92e95190a0376ad245509345e5b690ed.zip
Merge tag 'upstream/2.0.0'
Upstream version 2.0.0
Diffstat (limited to 'unsupported/UnsupportedCRT.c')
-rw-r--r--unsupported/UnsupportedCRT.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/unsupported/UnsupportedCRT.c b/unsupported/UnsupportedCRT.c
new file mode 100644
index 0000000..5c3a9de
--- /dev/null
+++ b/unsupported/UnsupportedCRT.c
@@ -0,0 +1,21 @@
+/*
+htop - UnsupportedCRT.c
+(C) 2014 Hisham H. Muhammad
+Released under the GNU GPL, see the COPYING file
+in the source distribution for its full text.
+*/
+
+#include "config.h"
+#include "CRT.h"
+#include <stdio.h>
+#include <stdlib.h>
+
+void CRT_handleSIGSEGV(int sgn) {
+ (void) sgn;
+ CRT_done();
+ fprintf(stderr, "\n\nhtop " VERSION " aborting.\n");
+ fprintf(stderr, "\nUnfortunately, you seem to be using an unsupported platform!");
+ fprintf(stderr, "\nPlease contact your platform package maintainer!\n\n");
+ abort();
+}
+

© 2014-2024 Faster IT GmbH | imprint | privacy policy