Selaa lähdekoodia

* Fix bug #31587

git-svn-id: trunk@35644 -
michael 8 vuotta sitten
vanhempi
commit
3148129d6f
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      packages/fcl-json/src/jsonconf.pp

+ 1 - 1
packages/fcl-json/src/jsonconf.pp

@@ -724,7 +724,7 @@ Var
   F : TFileStream;
 
 begin
-  F:=TFileStream.Create(AFileName,fmopenRead);
+  F:=TFileStream.Create(AFileName,fmopenRead or fmShareDenyWrite);
   try
     LoadFromStream(F);
   finally