git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: fd leaked when reading recordings.epl
[enigma2.git]
/
lib
/
base
/
eerror.cpp
diff --git
a/lib/base/eerror.cpp
b/lib/base/eerror.cpp
index af78040634f2fa1ea6322c9f20dd4fdf6468db5f..3239ddc54023450b96314c78d63031146573ab2a 100644
(file)
--- a/
lib/base/eerror.cpp
+++ b/
lib/base/eerror.cpp
@@
-29,7
+29,7
@@
void eFatal(const char* fmt, ...)
vsnprintf(buf, 1024, fmt, ap);
va_end(ap);
logOutput(lvlFatal, buf);
vsnprintf(buf, 1024, fmt, ap);
va_end(ap);
logOutput(lvlFatal, buf);
- fprintf(stderr, "%s\n",buf );
+ fprintf(stderr, "
FATAL:
%s\n",buf );
#if 0
if (!infatal)
{
#if 0
if (!infatal)
{
@@
-80,3
+80,15
@@
void eWarning(const char* fmt, ...)
fprintf(stderr, "%s\n", buf);
}
#endif // DEBUG
fprintf(stderr, "%s\n", buf);
}
#endif // DEBUG
+
+void ePythonOutput(const char *string)
+{
+ logOutput(lvlWarning, string);
+ if (logOutputConsole)
+ fwrite(string, 1, strlen(string), stderr);
+}
+
+void eWriteCrashdump()
+{
+ /* implement me */
+}