Procházet zdrojové kódy

* Changed sharing mode

git-svn-id: trunk@24805 -
michael před 12 roky
rodič
revize
6411d31787
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      packages/paszlib/src/zipper.pp

+ 1 - 1
packages/paszlib/src/zipper.pp

@@ -1605,7 +1605,7 @@ Begin
   if Assigned(FOnOpenInputStream) then
   if Assigned(FOnOpenInputStream) then
     FOnOpenInputStream(Self, FZipStream);
     FOnOpenInputStream(Self, FZipStream);
   if FZipStream = nil then
   if FZipStream = nil then
-    FZipStream:=TFileStream.Create(FFileName,fmOpenRead);
+    FZipStream:=TFileStream.Create(FFileName,fmOpenRead or fmShareDenyWrite);
 End;
 End;