summaryrefslogtreecommitdiff
path: root/recording.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-01-26 10:04:01 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2012-01-26 10:04:01 +0100
commitb3891d831901da5e6ced3c022a3245a8f9f0bed7 (patch)
tree3ac8f993a10664c3d146702e511f0a69eb5085e4 /recording.c
parent9e7a2134b4398d2b7851d4f7e2ad888bc04bfb42 (diff)
downloadvdr-b3891d831901da5e6ced3c022a3245a8f9f0bed7.tar.gz
vdr-b3891d831901da5e6ced3c022a3245a8f9f0bed7.tar.bz2
Symbolic links are no longer resolved in cRecordings::ScanVideoDir()
Diffstat (limited to 'recording.c')
-rw-r--r--recording.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/recording.c b/recording.c
index 0d47d3f9..87886557 100644
--- a/recording.c
+++ b/recording.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: recording.c 2.45 2012/01/25 09:32:39 kls Exp $
+ * $Id: recording.c 2.46 2012/01/26 10:02:29 kls Exp $
*/
#include "recording.h"
@@ -1120,11 +1120,6 @@ void cRecordings::ScanVideoDir(const char *DirName, bool Foreground, int LinkLev
continue;
}
Link = 1;
- buffer = ReadLink(buffer);
- if (!*buffer)
- continue;
- if (stat(buffer, &st) != 0)
- continue;
}
if (S_ISDIR(st.st_mode)) {
if (endswith(buffer, deleted ? DELEXT : RECEXT)) {