summaryrefslogtreecommitdiff
path: root/tools.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-02-12 10:19:03 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2005-02-12 10:19:03 +0100
commit5b4507da05453538b40d6c8801223238b11cc482 (patch)
tree870a31634a799acc1a3f81e98832880b88dd7587 /tools.h
parent7f244d5c9c6a176bd1008f0ea10c9649dba7c1a9 (diff)
downloadvdr-5b4507da05453538b40d6c8801223238b11cc482.tar.gz
vdr-5b4507da05453538b40d6c8801223238b11cc482.tar.bz2
Fixed handling symbolic links in cRecordings::ScanVideoDir()
Diffstat (limited to 'tools.h')
-rw-r--r--tools.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools.h b/tools.h
index bf190890..be8782bf 100644
--- a/tools.h
+++ b/tools.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: tools.h 1.66 2005/02/05 10:00:22 kls Exp $
+ * $Id: tools.h 1.67 2005/02/12 10:17:14 kls Exp $
*/
#ifndef __TOOLS_H
@@ -95,7 +95,7 @@ bool DirectoryOk(const char *DirName, bool LogErrors = false);
bool MakeDirs(const char *FileName, bool IsDirectory = false);
bool RemoveFileOrDir(const char *FileName, bool FollowSymlinks = false);
bool RemoveEmptyDirectories(const char *DirName, bool RemoveThis = false);
-char *ReadLink(const char *FileName);
+char *ReadLink(const char *FileName); ///< returns a new strings allocated on the heap, which the caller must delete (or NULL in case of an error)
bool SpinUpDisk(const char *FileName);
time_t LastModifiedTime(const char *FileName);
cString WeekDayName(int WeekDay);