You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the first complete is extracting in a new directory
the second complete is trying to overwrite to the previously created directory
$ git clone https://github.com/ewnd9/tar-unpack-issue
$ cd tar-unpack-issue
$ npm install
$ bash ./run.sh
31740 written in demo-in/input.txt
completecomplete
31741 written in demo-in/input.txt
completecomplete
31742 written in demo-in/input.txt
completecomplete
31743 written in demo-in/input.txt
completecomplete
31744 written in demo-in/input.txt
completecomplete
31745 written in demo-in/input.txt
complete
31746 written in demo-in/input.txt
complete
Expected Behavior
should emit close with strict: false
System info
macOS 10.15.7
node v12.19.0
npm 6.14.8
tar 6.0.5 (latest)
The text was updated successfully, but these errors were encountered:
The fs-minipass WriteStream always returns false from a write() call if
it did not successfully open the file descriptor. This makes the
Parse/Unpack stream get backed up if the file was large enough that it
did not already move on to the next entry in the archive.
Fix: #264
What / Why
tar
never emitsclose
on extracting errors with files greater or equals than31745 bytes
withstrict: false
Steps to Reproduce
https://github.com/ewnd9/tar-unpack-issue
complete
is extracting in a new directorycomplete
is trying to overwrite to the previously created directoryExpected Behavior
should emit
close
withstrict: false
System info
10.15.7
v12.19.0
6.14.8
6.0.5
(latest)The text was updated successfully, but these errors were encountered: