1
0
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:
Klaus Schmidinger 2022-11-04 14:30:01 +01:00
parent 74460f22bf
commit 786245efe5
3 changed files with 10 additions and 2 deletions

View File

@ -3516,6 +3516,8 @@ Claus Muus <email@clausmuus.de>
".../Volume linearize"
for reporting multiple recording entries in case a recording is started during the
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>
for reporting a problem with jumping to an absolute position via the Red key in

View File

@ -9780,9 +9780,11 @@ Video Disk Recorder Revision History
out by Onur Sentürk).
- Official release.
2022-03-03:
2022-11-04:
- 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
the timer has not yet finished.
- Now dropping capabilities after opening terminal.
- Now assuming the lock when removing deleted recordings even if the disk is full
(reported by Claus Muus).

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* 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"
@ -2050,6 +2050,10 @@ bool cLockFile::Lock(int WaitSeconds)
}
else {
LOG_ERROR_STR(fileName);
if (errno == ENOSPC) {
esyslog("ERROR: can't create lock file '%s' - assuming lock anyway!", fileName);
return true;
}
break;
}
if (WaitSeconds)