mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-05-28 23:44:31 +00:00
Update chdir() implementation
Use SetWorkingDirectory()
This commit is contained in:
parent
ddf6a53412
commit
e8e2aa4a5f
@ -1903,8 +1903,8 @@ static int linux_chdir(SysFrm *, const char *path)
|
||||
if (!n)
|
||||
return -linux_ENOENT;
|
||||
|
||||
pcb->SetWorkingDirectory(n);
|
||||
debug("Changed cwd to \"%s\"", n->GetPath().c_str());
|
||||
pcb->CWD = n;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user