I meant,
+ char *TargetName = realpath(FileName, NULL);
On 4 January 2012 22:11, Theunis Potgieter theunis.potgieter@gmail.com wrote:
I would change:
- char *TargetName = canonicalize_file_name(FileName);
- char *TargetName = MALLOC(char, PATH_MAX);
- TargetName = realpath(FileName, TargetName);
to
- char *TargetName = canonicalize_file_name(FileName);
- TargetName = realpath(FileName, NULL);
From http://linux.die.net/man/3/realpath%C2%A0To prevent a memory leak.
Theunis
On 4 January 2012 21:59, Infonux infonux@gmail.com wrote:
Wed, 4 Jan 2012 14:46:18 +0100 Infonux <infonux__gmail.com> wrote:
solved by removing FADVISE and ...
http://svn.exactcode.de/t2/trunk/package/base/uclibc/patches/vdr-realpath.pa... http://www.vdr-portal.de/index.php?page=Thread&postid=641884
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr