fopen(..., "wb") to make ports to other operating systems easier
authorH. Peter Anvin <hpa@zytor.com>
Mon, 7 Jan 2008 04:20:04 +0000 (20:20 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 7 Jan 2008 04:20:04 +0000 (20:20 -0800)
commitd4c3b8e6300e9b2b1bc9c8abd6194a46f8737ceb
treeebb214e1a23d3f4cbf09d120f89d543c0ee100d0
parent2f068a5b96fe5fd1d7d9d35bbd9a20e2b8668554
fopen(..., "wb") to make ports to other operating systems easier

"wb" is the same as "w" for Unix, but for some other OSes it matter.
Right now the code isn't inherently portable (due to mmap()), but it
should be easy enough to port.
main.c