Commit b70b35ea authored by Hisham Muhammad's avatar Hisham Muhammad
Browse files

Improve error display on crash to get better bug reports.

parent a7c2aedc
...@@ -14,6 +14,7 @@ in the source distribution for its full text. ...@@ -14,6 +14,7 @@ in the source distribution for its full text.
#include "String.h" #include "String.h"
#include "config.h"
#include "debug.h" #include "debug.h"
#define ColorPair(i,j) COLOR_PAIR((7-i)*8+j) #define ColorPair(i,j) COLOR_PAIR((7-i)*8+j)
...@@ -181,7 +182,7 @@ void CRT_enableDelay() { ...@@ -181,7 +182,7 @@ void CRT_enableDelay() {
void CRT_handleSIGSEGV(int signal) { void CRT_handleSIGSEGV(int signal) {
CRT_done(); 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); exit(1);
} }
......
...@@ -17,6 +17,7 @@ in the source distribution for its full text. ...@@ -17,6 +17,7 @@ in the source distribution for its full text.
#include "String.h" #include "String.h"
#include "config.h"
#include "debug.h" #include "debug.h"
#define ColorPair(i,j) COLOR_PAIR((7-i)*8+j) #define ColorPair(i,j) COLOR_PAIR((7-i)*8+j)
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script. # Process this file with autoconf to produce a configure script.
AC_PREREQ(2.57) 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 AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR([htop.c]) AC_CONFIG_SRCDIR([htop.c])
AC_CONFIG_HEADER([config.h]) AC_CONFIG_HEADER([config.h])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment