mirror of https://github.com/xzeldon/htop.git
Improve error display on crash to get better bug reports.
This commit is contained in:
parent
a7c2aedcec
commit
b70b35ea65
3
CRT.c
3
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);
|
||||
}
|
||||
|
||||
|
|
1
CRT.h
1
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)
|
||||
|
|
|
@ -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])
|
||||
|
|
Loading…
Reference in New Issue