From f19a9d7e00271ffbba6e827da3b553b900acc33c Mon Sep 17 00:00:00 2001 From: John Hodge Date: Wed, 15 Aug 2012 09:19:51 +0800 Subject: [PATCH] Kernel/vfs - TODO in open.c for relative symlinks --- KernelLand/Kernel/vfs/open.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.20.1