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
Debug
[tpg/acess2.git]
/
Kernel
/
vfs
/
open.c
diff --git
a/Kernel/vfs/open.c
b/Kernel/vfs/open.c
index
54838e9
..
e075fb7
100644
(file)
--- a/
Kernel/vfs/open.c
+++ b/
Kernel/vfs/open.c
@@
-520,13
+520,12
@@
int VFS_ChDir(char *New)
// Close node
if(node->Close) node->Close(node);
- // Copy over
- strcpy(buf, New);
-
// Free old and set new
free( CFGPTR(CFG_VFS_CWD) );
CFGPTR(CFG_VFS_CWD) = buf;
+ Log("Updated CWD to '%s'", buf);
+
return 1;
}
UCC
git Repository :: git.ucc.asn.au