]> git.ipfire.org Git - thirdparty/zstd.git/commit
OpenBSD is unable to write to /dev/zero
authorBjörn Ketelaars <bjorn.ketelaars@hydroxide.nl>
Sat, 30 Jun 2018 11:01:58 +0000 (13:01 +0200)
committerBjörn Ketelaars <bjorn.ketelaars@hydroxide.nl>
Sat, 30 Jun 2018 11:54:34 +0000 (13:54 +0200)
commit276988f7948d95d917584a08d1d17a634d396890
treeaef5f38a073652decfd326f313de74fd20b78a55
parentb5207aadfaa0769a63bda0837a662957cbcd1f55
OpenBSD is unable to write to /dev/zero

https://github.com/facebook/zstd/pull/1124 fixes an issue with GNU/Hurd
being unable to write to /dev/zero. Implemented fix is writing to
/dev/random instead.

On OpenBSD a regular user is unable to write to /dev/random because of
permissions set on this device. Result is failing a regression test.

Proposed solution should work for all platforms.
tests/playTests.sh