Improve error display on crash to get better bug reports.

This commit is contained in:
Hisham Muhammad 2007-11-08 23:53:03 +00:00
parent a7c2aedcec
commit b70b35ea65
3 changed files with 4 additions and 2 deletions

3
CRT.c
View File

@ -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);
}

1
CRT.h
View File

@ -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)

View File

@ -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])