From b3891d831901da5e6ced3c022a3245a8f9f0bed7 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Thu, 26 Jan 2012 10:04:01 +0100 Subject: Symbolic links are no longer resolved in cRecordings::ScanVideoDir() --- recording.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'recording.c') 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)) { -- cgit v1.2.3