Fix binary output on files created by mkstemp!
authorMike Gran <spk121@yahoo.com>
Sun, 10 Feb 2019 00:59:38 +0000 (16:59 -0800)
committerMike Gran <spk121@yahoo.com>
Sun, 10 Feb 2019 00:59:38 +0000 (16:59 -0800)
commit78468baa118d316050a27e43250966e52ffd3d54
tree872501b436bf0e10b1bcd2f6ef2d7aab63cbfaef
parent1437b76777e576b3d000e2f80c5ecdb33a74ac33
Fix binary output on files created by mkstemp!

Some operating systems require a O_BINARY flag.

* libguile/filesys.c (scm_i_mkstemp): Don't mask out O_BINARY flag
* test-suite/tests/posix.test ("binary mode honored"): new test
libguile/filesys.c
test-suite/tests/posix.test