mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed a possible crash when displaying the "Low disk space!" message from a background thread
This commit is contained in:
parent
78990eb188
commit
df13d22c6c
@ -1557,3 +1557,7 @@ Holger Brunn <holger.brunn@stud.uni-karlsruhe.de>
|
|||||||
Christian Vogt <c.v@nexgo.de>
|
Christian Vogt <c.v@nexgo.de>
|
||||||
for suggesting to take deleted recordings into account when displaying the
|
for suggesting to take deleted recordings into account when displaying the
|
||||||
amount of free disk space
|
amount of free disk space
|
||||||
|
|
||||||
|
Christof Steininger <christof.steininger@t-online.de>
|
||||||
|
for fixing a possible crash when displaying the "Low disk space!" message from
|
||||||
|
a background thread
|
||||||
|
2
HISTORY
2
HISTORY
@ -3984,3 +3984,5 @@ Video Disk Recorder Revision History
|
|||||||
- Fixed handling the DELETEDLIFETIME when removing deleted recordings. Now
|
- Fixed handling the DELETEDLIFETIME when removing deleted recordings. Now
|
||||||
a deleted recording is retained at least DELETEDLIFETIME seconds before
|
a deleted recording is retained at least DELETEDLIFETIME seconds before
|
||||||
actually removing it (unless a new recording requires the disk space).
|
actually removing it (unless a new recording requires the disk space).
|
||||||
|
- Fixed a possible crash when displaying the "Low disk space!" message from
|
||||||
|
a background thread (thanks to Christof Steininger).
|
||||||
|
@ -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: recording.c 1.126 2005/12/18 12:06:36 kls Exp $
|
* $Id: recording.c 1.127 2005/12/18 12:37:10 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "recording.h"
|
#include "recording.h"
|
||||||
@ -144,7 +144,7 @@ void AssertFreeDiskSpace(int Priority)
|
|||||||
}
|
}
|
||||||
// Unable to free disk space, but there's nothing we can do about that...
|
// Unable to free disk space, but there's nothing we can do about that...
|
||||||
isyslog("...no old recording found, giving up");
|
isyslog("...no old recording found, giving up");
|
||||||
Interface->Confirm(tr("Low disk space!"), 30);
|
Skins.QueueMessage(mtWarning, tr("Low disk space!"), 5, -1);
|
||||||
}
|
}
|
||||||
LastFreeDiskCheck = time(NULL);
|
LastFreeDiskCheck = time(NULL);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user