From: John Hodge Date: Wed, 15 Aug 2012 01:19:51 +0000 (+0800) Subject: Kernel/vfs - TODO in open.c for relative symlinks X-Git-Tag: rel0.15~706^2~44 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=f19a9d7e00271ffbba6e827da3b553b900acc33c;p=tpg%2Facess2.git Kernel/vfs - TODO in open.c for relative symlinks --- diff --git a/KernelLand/Kernel/vfs/open.c b/KernelLand/Kernel/vfs/open.c index 983a2b23..e4d2bb2f 100644 --- a/KernelLand/Kernel/vfs/open.c +++ b/KernelLand/Kernel/vfs/open.c @@ -338,6 +338,7 @@ restart_parse: path_buffer[ curNode->Size ] = '\0'; LOG("path_buffer = '%s'", path_buffer); strcat(path_buffer, Path + ofs+nextSlash); + // TODO: Pass to VFS_GetAbsPath to handle ../. in the symlink Path = path_buffer; // Log_Debug("VFS", "VFS_ParsePath: Symlink translated to '%s'", Path);