[PATCH cygport] lib/src_prep.cygpart: Fix incorrect options passed to unzstd in unpack()

yak_ex yak1ex@gmail.com
Sat Jul 29 20:55:50 GMT 2023


Hi maintainers,

This is my first post here.
The attached tiny patch fixes incorrect options passed to unzstd in unpack()
in lib/src_prep.cygpart.

`unpack()` invokes `unzstd` for a *.zst file as
`unzstd -qo file.zst`
Then, an error occurs as 'stdin is a console, aborting',
because the `-o` option is to specify an output file name.

There are some choices to fix it. This patch aligns with handling .gz
and .bz2 like
`unzstd -c file.zst > file`.

Regards,
Yasutaka ATARASHI
---
Yasutaka ATARASHI <yak1ex@gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: src_prep_unpack.patch
Type: application/octet-stream
Size: 336 bytes
Desc: not available
URL: <https://cygwin.com/pipermail/cygwin-apps/attachments/20230730/26a97330/attachment.obj>


More information about the Cygwin-apps mailing list