Browse Source

* Changed sharing mode

git-svn-id: trunk@24805 -
michael 12 years ago
parent
commit
6411d31787
1 changed files with 1 additions and 1 deletions
  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;