Properly propagate sharing bits.

git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@459 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
Bart Oldeman 2002-11-09 19:11:26 +00:00
parent 807602f895
commit dce580f3bc
1 changed files with 1 additions and 1 deletions

View File

@ -575,7 +575,7 @@ long DosOpenSft(char FAR * fname, unsigned flags, unsigned attrib)
{
if ((sftp->sft_shroff =
share_open_check(PriPathName, cu_psp,
flags & 0x03, (flags >> 2) & 0x07)) < 0)
flags & 0x03, (flags >> 4) & 0x07)) < 0)
return sftp->sft_shroff;
}