git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add new converter (useable to get movie creation time and duration)
[enigma2.git]
/
lib
/
base
/
eerror.cpp
diff --git
a/lib/base/eerror.cpp
b/lib/base/eerror.cpp
index 241b2d3df9e8c3e48be90b80336599cc256c9c00..8766f5ec48b5dba927305dcc7c4eb6457bc4bdf7 100644
(file)
--- a/
lib/base/eerror.cpp
+++ b/
lib/base/eerror.cpp
@@
-69,11
+69,13
@@
void DumpUnfreed()
#endif
Signal2<void, int, const std::string&> logOutput;
#endif
Signal2<void, int, const std::string&> logOutput;
-int logOutputConsole=
0
;
+int logOutputConsole=
1
;
static pthread_mutex_t DebugLock =
PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP;
static pthread_mutex_t DebugLock =
PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP;
+extern void bsodFatal();
+
void eFatal(const char* fmt, ...)
{
char buf[1024];
void eFatal(const char* fmt, ...)
{
char buf[1024];
@@
-84,7
+86,7
@@
void eFatal(const char* fmt, ...)
singleLock s(DebugLock);
logOutput(lvlFatal, buf);
fprintf(stderr, "FATAL: %s\n",buf );
singleLock s(DebugLock);
logOutput(lvlFatal, buf);
fprintf(stderr, "FATAL: %s\n",buf );
-
_exit(0
);
+
bsodFatal(
);
}
#ifdef DEBUG
}
#ifdef DEBUG