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:
Bart Oldeman 2004-03-17 20:32:55 +00:00
parent 0f56cb2b3b
commit 77331799bd
1 changed files with 1 additions and 4 deletions

View File

@ -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())