From c645fdc26495e26936c8ad329986e6f6dee2e410 Mon Sep 17 00:00:00 2001 From: Roberto Oliveira Date: Sat, 30 Jun 2018 17:49:23 +0000 Subject: community/ztd: upgrade to 1.3.5 Applied 2 upstream patches that fix a behavior when stdin is not a tty. --- .../allow-invoking-list-when-stdin-not-tty.patch | 67 ++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 community/zstd/allow-invoking-list-when-stdin-not-tty.patch (limited to 'community/zstd/allow-invoking-list-when-stdin-not-tty.patch') diff --git a/community/zstd/allow-invoking-list-when-stdin-not-tty.patch b/community/zstd/allow-invoking-list-when-stdin-not-tty.patch new file mode 100644 index 0000000000..47fa3e59a7 --- /dev/null +++ b/community/zstd/allow-invoking-list-when-stdin-not-tty.patch @@ -0,0 +1,67 @@ +From 712a9fd9721c314f4b0238577d803b012845f6d2 Mon Sep 17 00:00:00 2001 +From: "W. Felix Handte" +Date: Fri, 29 Jun 2018 15:33:44 -0400 +Subject: [PATCH] Allow Invoking `zstd --list` When `stdin` is not a `tty` + +Also now returns an error when no inputs are given. + +New proposed behavior: + +``` +felix@odin:~/prog/zstd (list-stdin-check)$ ./zstd -l; echo $? +No files given +1 +felix@odin:~/prog/zstd (list-stdin-check)$ ./zstd -l Makefile.zst; echo $? +Frames Skips Compressed Uncompressed Ratio Check Filename + 1 0 3.08 KB 10.92 KB 3.544 XXH64 Makefile.zst +0 +felix@odin:~/prog/zstd (list-stdin-check)$ ./zstd -l