mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Added a note to the log, indicating that no further invalid lock sequences will be reported until VDR is restarted
This commit is contained in:
parent
027ae738a8
commit
39294e0147
2
HISTORY
2
HISTORY
@ -9154,3 +9154,5 @@ Video Disk Recorder Revision History
|
|||||||
so plugin authors should switch to the new one.
|
so plugin authors should switch to the new one.
|
||||||
- Now using readdir() instead of readdir_r(), if GLIBC version 2.24 or newer is used
|
- Now using readdir() instead of readdir_r(), if GLIBC version 2.24 or newer is used
|
||||||
(suggested by Frank Neumann).
|
(suggested by Frank Neumann).
|
||||||
|
- Added a note to the log, indicating that no further invalid lock sequences will be
|
||||||
|
reported until VDR is restarted.
|
||||||
|
3
thread.c
3
thread.c
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: thread.c 4.10 2017/06/22 15:10:42 kls Exp $
|
* $Id: thread.c 4.11 2017/06/25 12:08:16 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "thread.h"
|
#include "thread.h"
|
||||||
@ -634,6 +634,7 @@ void cStateLockLog::Dump(const char *Name, tThreadId ThreadId)
|
|||||||
dsyslog("full backtrace:");
|
dsyslog("full backtrace:");
|
||||||
cBackTrace::BackTrace(NULL, 2);
|
cBackTrace::BackTrace(NULL, 2);
|
||||||
dsyslog("--- end invalid lock sequence report");
|
dsyslog("--- end invalid lock sequence report");
|
||||||
|
dsyslog("--- THERE WILL BE NO FURTHER REPORTS UNTIL VDR IS RESTARTED!");
|
||||||
fprintf(stderr, "invalid lock sequence at %s\n", *DayDateTime(time(NULL)));
|
fprintf(stderr, "invalid lock sequence at %s\n", *DayDateTime(time(NULL)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user