The following patch avoids the creation of zero sized vdr.nnn files if a recording is disturbed (loss of signal etc.). Without this patch it is possible to fill up a recording directory with 0-sized files up to the maximum vdr.255 quite fast.
Testers and feedback welcome.
Wolfgang