mirror of
https://github.com/FDOS/kernel.git
synced 2025-04-08 17:15:17 +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,11 +749,8 @@ COUNT DosCloseSft(int sft_idx, BOOL commitonly)
|
||||
}
|
||||
return SUCCESS;
|
||||
}
|
||||
if (commitonly)
|
||||
if (commitonly || sftp->sft_count > 0)
|
||||
return dos_commit(sftp->sft_status);
|
||||
|
||||
if (sftp->sft_count > 0)
|
||||
return SUCCESS;
|
||||
|
||||
/* /// Added for SHARE *** CURLY BRACES ADDED ALSO!!! ***. - Ron Cemer */
|
||||
if (IsShareInstalled())
|
||||
|
Loading…
x
Reference in New Issue
Block a user