Fixed a possible crash in case a VFAT file system is used without compiling VDR with VFAT=1

This commit is contained in:
Klaus Schmidinger
2003-08-02 13:23:58 +02:00
parent 44992533f0
commit 746b232299
4 changed files with 20 additions and 17 deletions

View File

@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: recorder.c 1.6 2003/05/16 13:33:04 kls Exp $
* $Id: recorder.c 1.7 2003/08/02 13:01:19 kls Exp $
*/
#include <stdarg.h>
@@ -34,12 +34,6 @@ cRecorder::cRecorder(const char *FileName, int Ca, int Priority, int VPid, int A
fileSize = 0;
active = false;
lastDiskSpaceCheck = time(NULL);
isyslog("record %s", FileName);
// Create directories if necessary:
if (!MakeDirs(FileName, true))
return;
// Make sure the disk is up and running: