]> git.ipfire.org Git - thirdparty/zstd.git/commit
improved test mode `-t`
authorYann Collet <cyan@fb.com>
Thu, 17 Oct 2019 23:09:53 +0000 (16:09 -0700)
committerYann Collet <cyan@fb.com>
Thu, 17 Oct 2019 23:09:53 +0000 (16:09 -0700)
commit0ee360982d1b8e4f959f6da32bf1608935a867e8
treef616dd72105eb3c9549093d1878111776c8056dc
parent1795133c450e839aa7b766d30a8c33989b7aad56
improved test mode `-t`

The test mode do no longer open a file `/dev/null` nor write anything to output.

This is supposed to be more efficient than writing to `/dev/null`,
and more universal too : the previous method was failing on Windows.
programs/fileio.c
programs/fileio.h
programs/zstdcli.c