Fix for fchdir().
This commit is contained in:
parent
3bddaaf580
commit
f806a66edf
1 changed files with 1 additions and 0 deletions
|
@ -38,6 +38,7 @@ PUBLIC int do_fchdir()
|
|||
|
||||
/* Is the file descriptor valid? */
|
||||
if ( (rfilp = get_filp(m_in.fd)) == NIL_FILP) return(err_code);
|
||||
dup_inode(rfilp->filp_ino);
|
||||
return change_into(&fp->fp_workdir, rfilp->filp_ino);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue