mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Now assuming the lock when removing deleted recordings even if the disk is full
This commit is contained in:
parent
74460f22bf
commit
786245efe5
@ -3516,6 +3516,8 @@ Claus Muus <email@clausmuus.de>
|
|||||||
".../Volume linearize"
|
".../Volume linearize"
|
||||||
for reporting multiple recording entries in case a recording is started during the
|
for reporting multiple recording entries in case a recording is started during the
|
||||||
initial reading of the video directory
|
initial reading of the video directory
|
||||||
|
for reporting that getting the lock for removing deleted recordings may fail if the
|
||||||
|
disk is full
|
||||||
|
|
||||||
Dieter Ferdinand <dieter.ferdinand@gmx.de>
|
Dieter Ferdinand <dieter.ferdinand@gmx.de>
|
||||||
for reporting a problem with jumping to an absolute position via the Red key in
|
for reporting a problem with jumping to an absolute position via the Red key in
|
||||||
|
4
HISTORY
4
HISTORY
@ -9780,9 +9780,11 @@ Video Disk Recorder Revision History
|
|||||||
out by Onur Sentürk).
|
out by Onur Sentürk).
|
||||||
- Official release.
|
- Official release.
|
||||||
|
|
||||||
2022-03-03:
|
2022-11-04:
|
||||||
|
|
||||||
- Added UPDATE-2.6.0, which was missing in the official 2.6.0 release.
|
- Added UPDATE-2.6.0, which was missing in the official 2.6.0 release.
|
||||||
- Fixed unexpected calls of the '-r' script when a recording is interrupted and
|
- Fixed unexpected calls of the '-r' script when a recording is interrupted and
|
||||||
the timer has not yet finished.
|
the timer has not yet finished.
|
||||||
- Now dropping capabilities after opening terminal.
|
- Now dropping capabilities after opening terminal.
|
||||||
|
- Now assuming the lock when removing deleted recordings even if the disk is full
|
||||||
|
(reported by Claus Muus).
|
||||||
|
6
tools.c
6
tools.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: tools.c 5.5 2021/12/30 14:35:40 kls Exp $
|
* $Id: tools.c 5.6 2022/11/04 14:30:01 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "tools.h"
|
#include "tools.h"
|
||||||
@ -2050,6 +2050,10 @@ bool cLockFile::Lock(int WaitSeconds)
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
LOG_ERROR_STR(fileName);
|
LOG_ERROR_STR(fileName);
|
||||||
|
if (errno == ENOSPC) {
|
||||||
|
esyslog("ERROR: can't create lock file '%s' - assuming lock anyway!", fileName);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (WaitSeconds)
|
if (WaitSeconds)
|
||||||
|
Loading…
Reference in New Issue
Block a user