Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: fopen /dev/urandom in binary mode
This makes a difference with mingw builds on Wine, where the subsequent fread() may abort early in the default text mode. The Microsoft C docs say: "In text mode, CTRL+Z is interpreted as an EOF character on input."
- Loading branch information