diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2007-11-08 23:53:03 +0000 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2007-11-08 23:53:03 +0000 |
commit | b70b35ea659d9a859de3cb480580ceb98a6b63e0 (patch) | |
tree | 02188a1ca0fcdb25721d073f71786d5b361236a3 | |
parent | a7c2aedcecd3763464e83f80bd6c4f1216f58428 (diff) |
Improve error display on crash to get better bug reports.
-rw-r--r-- | CRT.c | 3 | ||||
-rw-r--r-- | CRT.h | 1 | ||||
-rw-r--r-- | configure.ac | 2 |
3 files changed, 4 insertions, 2 deletions
@@ -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); } @@ -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]) |