R0.12c patch 1
March 11, 2017 On the exFAT volume, FAT entry can be collapsed when write or lseek operation to the existing file is performed. (Appeared at R0.12c)
This commit is contained in:
@@ -3439,6 +3439,7 @@ FRESULT f_open (
|
|||||||
fp->obj.sclust = ld_dword(fs->dirbuf + XDIR_FstClus); /* Get object allocation info */
|
fp->obj.sclust = ld_dword(fs->dirbuf + XDIR_FstClus); /* Get object allocation info */
|
||||||
fp->obj.objsize = ld_qword(fs->dirbuf + XDIR_FileSize);
|
fp->obj.objsize = ld_qword(fs->dirbuf + XDIR_FileSize);
|
||||||
fp->obj.stat = fs->dirbuf[XDIR_GenFlags] & 2;
|
fp->obj.stat = fs->dirbuf[XDIR_GenFlags] & 2;
|
||||||
|
fp->obj.n_frag = 0;
|
||||||
} else
|
} else
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user