1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

No longer stopping removing empty directories if an error occurs

This commit is contained in:
Klaus Schmidinger 2006-08-12 13:32:06 +02:00
parent 713093670f
commit 1c3acf28af
3 changed files with 5 additions and 3 deletions

View File

@ -639,6 +639,7 @@ Oliver Endriss <o.endriss@gmx.de>
against invalid data against invalid data
for reporting a problem in extracting APIVERSION with older versions of 'sed' for reporting a problem in extracting APIVERSION with older versions of 'sed'
for fixing broken APIVERSION extraction line in 'newplugin' for fixing broken APIVERSION extraction line in 'newplugin'
for making VDR no longer stop removing empty directories if an error occurs
Reinhard Walter Buchner <rw.buchner@freenet.de> Reinhard Walter Buchner <rw.buchner@freenet.de>
for adding some satellites to 'sources.conf' for adding some satellites to 'sources.conf'

View File

@ -4870,3 +4870,5 @@ Video Disk Recorder Revision History
CAMs better available, even if this means recording on the primary device (reported CAMs better available, even if this means recording on the primary device (reported
by Jörn Reder; thanks to Anssi Hannula for improving handling Transfer Mode devices by Jörn Reder; thanks to Anssi Hannula for improving handling Transfer Mode devices
in this). in this).
- No longer stopping removing empty directories if an error occurs (thanks to
Oliver Endriss).

View File

@ -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 1.119 2006/06/17 09:45:32 kls Exp $ * $Id: tools.c 1.120 2006/08/12 13:30:07 kls Exp $
*/ */
#include "tools.h" #include "tools.h"
@ -422,8 +422,7 @@ bool RemoveEmptyDirectories(const char *DirName, bool RemoveThis)
} }
else { else {
LOG_ERROR_STR(buffer); LOG_ERROR_STR(buffer);
free(buffer); empty = false;
return false;
} }
free(buffer); free(buffer);
} }