git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix clean all script for renamed armv7 arch
[tpg/acess2.git]
/
Kernel
/
vfs
/
dir.c
diff --git
a/Kernel/vfs/dir.c
b/Kernel/vfs/dir.c
index
64c5d37
..
8cc3fa8
100644
(file)
--- a/
Kernel/vfs/dir.c
+++ b/
Kernel/vfs/dir.c
@@
-59,9
+59,9
@@
int VFS_MkNod(const char *Path, Uint Flags)
// Check for root
if(absPath[0] == '\0')
// Check for root
if(absPath[0] == '\0')
- parent = VFS_ParsePath("/", NULL);
+ parent = VFS_ParsePath("/", NULL
, NULL
);
else
else
- parent = VFS_ParsePath(absPath, NULL);
+ parent = VFS_ParsePath(absPath, NULL
, NULL
);
LOG("parent = %p", parent);
LOG("parent = %p", parent);
@@
-127,10
+127,14
@@
int VFS_Symlink(const char *Name, const char *Link)
return -1;
}
return -1;
}
+ destNode = VFS_ParsePath( _link, &realLink, NULL );
+ #if 0
// Get true path and node
// Get true path and node
- destNode = VFS_ParsePath( _link, &realLink );
free(_link);
_link = NULL;
free(_link);
_link = NULL;
+ #else
+ realLink = _link;
+ #endif
// Check if destination exists
if(!destNode) {
// Check if destination exists
if(!destNode) {
UCC
git Repository :: git.ucc.asn.au