summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2007-11-08 23:53:03 +0000
committerHisham Muhammad <hisham@gobolinux.org>2007-11-08 23:53:03 +0000
commitb70b35ea659d9a859de3cb480580ceb98a6b63e0 (patch)
tree02188a1ca0fcdb25721d073f71786d5b361236a3
parenta7c2aedcecd3763464e83f80bd6c4f1216f58428 (diff)
Improve error display on crash to get better bug reports.
-rw-r--r--CRT.c3
-rw-r--r--CRT.h1
-rw-r--r--configure.ac2
3 files changed, 4 insertions, 2 deletions
diff --git a/CRT.c b/CRT.c
index 97104522..f922a9b6 100644
--- a/CRT.c
+++ b/CRT.c
@@ -14,6 +14,7 @@ in the source distribution for its full text.
#include "String.h"
+#include "config.h"
#include "debug.h"
#define ColorPair(i,j) COLOR_PAIR((7-i)*8+j)
@@ -181,7 +182,7 @@ void CRT_enableDelay() {
void CRT_handleSIGSEGV(int signal) {
CRT_done();
- fprintf(stderr, "Aborted. Please report bug at http://htop.sf.net");
+ fprintf(stderr, "htop " VERSION " aborted. Please report bug at http://htop.sf.net\n");
exit(1);
}
diff --git a/CRT.h b/CRT.h
index 76a3b08c..41de032f 100644
--- a/CRT.h
+++ b/CRT.h
@@ -17,6 +17,7 @@ in the source distribution for its full text.
#include "String.h"
+#include "config.h"
#include "debug.h"
#define ColorPair(i,j) COLOR_PAIR((7-i)*8+j)
diff --git a/configure.ac b/configure.ac
index 038343a0..2e3a581c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.57)
-AC_INIT([htop],[0.6.6],[loderunner@users.sourceforge.net])
+AC_INIT([htop],[0.7],[loderunner@users.sourceforge.net])
AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR([htop.c])
AC_CONFIG_HEADER([config.h])

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