mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-05 05:27:19 +01:00
* fixed fmShareDenyNone for Solaris
git-svn-id: trunk@12684 -
This commit is contained in:
parent
c13f553b9b
commit
78f6e5ff6e
@ -190,7 +190,7 @@ begin
|
||||
exclusive locks for files only opened for reading nor shared
|
||||
locks for files opened only for writing
|
||||
}
|
||||
if ((mode and (fmShareCompat or fmShareExclusive or fmShareDenyWrite or fmShareDenyRead)) = 0) then
|
||||
if ((mode and (fmShareCompat or fmShareExclusive or fmShareDenyWrite or fmShareDenyRead or fmShareDenyNone)) = 0) then
|
||||
begin
|
||||
mode := mode and not(fmShareCompat);
|
||||
if ((mode and (fmOpenRead or fmOpenWrite or fmOpenReadWrite)) = fmOpenWrite) then
|
||||
|
||||
Loading…
Reference in New Issue
Block a user