Explorar o código

* Use forcedirectories instead of createdir, patch by petr (bug ID 36672)

git-svn-id: trunk@44126 -
michael %!s(int64=5) %!d(string=hai) anos
pai
achega
dffb35575b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/paszlib/src/zipper.pp

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

@@ -2810,7 +2810,7 @@ Begin
       end
     else if Item.IsDirectory then
       begin
-        if (NOT Flat) then CreateDir(OutputFileName);
+        if (NOT Flat) then ForceDirectories(OutputFileName);
       end
     else
       begin