mirror of
https://github.com/FDOS/kernel.git
synced 2025-07-28 16:24:08 +02:00
Commit each close, even if the ref count is > 0.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@798 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
parent
0f56cb2b3b
commit
77331799bd
@ -749,12 +749,9 @@ COUNT DosCloseSft(int sft_idx, BOOL commitonly)
|
|||||||
}
|
}
|
||||||
return SUCCESS;
|
return SUCCESS;
|
||||||
}
|
}
|
||||||
if (commitonly)
|
if (commitonly || sftp->sft_count > 0)
|
||||||
return dos_commit(sftp->sft_status);
|
return dos_commit(sftp->sft_status);
|
||||||
|
|
||||||
if (sftp->sft_count > 0)
|
|
||||||
return SUCCESS;
|
|
||||||
|
|
||||||
/* /// Added for SHARE *** CURLY BRACES ADDED ALSO!!! ***. - Ron Cemer */
|
/* /// Added for SHARE *** CURLY BRACES ADDED ALSO!!! ***. - Ron Cemer */
|
||||||
if (IsShareInstalled())
|
if (IsShareInstalled())
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user