Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
htop
Commits
f919ed7c
Commit
f919ed7c
authored
Nov 20, 2010
by
Hisham Muhammad
Browse files
Don't ask for bug reports when running on unsupported platforms.
parent
4e29c823
Changes
1
Hide whitespace changes
Inline
Side-by-side
CRT.c
View file @
f919ed7c
...
...
@@ -124,7 +124,11 @@ void *backtraceArray[128];
static
void
CRT_handleSIGSEGV
(
int
sgn
)
{
(
void
)
sgn
;
CRT_done
();
#if __linux
fprintf
(
stderr
,
"
\n\n
htop "
VERSION
" aborting. Please report bug at http://htop.sf.net
\n
"
);
#else
fprintf
(
stderr
,
"
\n\n
htop "
VERSION
" aborting. Unsupported platform.
\n
"
);
#endif
size_t
size
=
backtrace
(
backtraceArray
,
sizeof
(
backtraceArray
));
fprintf
(
stderr
,
"Backtrace:
\n
"
);
backtrace_symbols_fd
(
backtraceArray
,
size
,
2
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment