diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-08-04 14:57:29 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-08-04 14:57:29 +0200 |
commit | 15cc1733e0e7bf005362fad61a3ccbbefe1cbceb (patch) | |
tree | 7bab620fbfb760f31daa464445f791f3fc0cf322 /tools.c | |
parent | 61ccfd5fab3e009bb6feda0647cd958107258819 (diff) | |
download | vdr-15cc1733e0e7bf005362fad61a3ccbbefe1cbceb.tar.gz vdr-15cc1733e0e7bf005362fad61a3ccbbefe1cbceb.tar.bz2 |
Changed the cDevice class to allow plugins to implement their own devices
Diffstat (limited to 'tools.c')
-rw-r--r-- | tools.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: tools.c 1.67 2002/05/18 15:10:45 kls Exp $ + * $Id: tools.c 1.68 2002/08/03 15:44:53 kls Exp $ */ #include "tools.h" @@ -407,7 +407,7 @@ bool RemoveEmptyDirectories(const char *DirName, bool RemoveThis) char *ReadLink(const char *FileName) { - char RealName[_POSIX_PATH_MAX]; + char RealName[PATH_MAX]; const char *TargetName = NULL; int n = readlink(FileName, RealName, sizeof(RealName) - 1); if (n < 0) { |