Merged in master (pull request #1)

wstat: update opath after a rename

Approved-by: Charles Forsyth
This commit is contained in:
Iruatã Souza 2021-01-24 23:15:10 +00:00 committed by Charles Forsyth
commit d65923fd17
1 changed files with 1 additions and 0 deletions

1
u9fs.c
View File

@ -1041,6 +1041,7 @@ rwstat(Fcall *rx, Fcall *tx)
free(old);
free(dir);
free(opath);
opath = npath;
}
if((u64int)d.length != (u64int)~0 && truncate(opath, d.length) < 0){