Skip to content

Commit

Permalink
fixed linux error
Browse files Browse the repository at this point in the history
  • Loading branch information
insign committed Apr 7, 2024
1 parent 12c603e commit cb7bc95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file added archive.tar
Binary file not shown.
4 changes: 2 additions & 2 deletions src/SevenZip.php
Original file line number Diff line number Diff line change
Expand Up @@ -1172,7 +1172,7 @@ public function executeUntarAfter(string $tarFile, array $extractCommand): strin
if ($this->shouldKeepFileInfoOnTar()) {
$sz
->addFlag('snoi')
->addFlag('snon')
// ->addFlag('snon') // @FIXME on linux causes a error "Segmentation fault"
->addFlag('mtc', 'on')
->addFlag('mta', 'on')
->addFlag('mtm', 'on');
Expand Down Expand Up @@ -1417,7 +1417,7 @@ protected function executeTarBefore(): self
if ($this->shouldKeepFileInfoOnTar()) {
$sz
->addFlag("snoi")
->addFlag("snon")
// ->addFlag("snon") // @FIXME on linux causes a error "Segmentation fault"
->addFlag("mtc", "on")
->addFlag("mta", "on")
->addFlag("mtm", "on");
Expand Down

0 comments on commit cb7bc95

Please sign in to comment.