A user recently reported that Halibut's font-file handling doesn't
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 27 Feb 2010 23:42:39 +0000 (23:42 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 27 Feb 2010 23:42:39 +0000 (23:42 +0000)
commitc437c4c4d294b54c99a58f3130c82013a1bf7024
tree554a5baf54effc464a45187e4ae6e48077308515
parent1d1da251ac6656094a13788ff273d9922d58f927
A user recently reported that Halibut's font-file handling doesn't
work on Windows, because input files are never opened in binary
mode. Introduce a small piece of compensatory mechanism, which opens
files initially in binary mode and then reopens them as text if
they're determined not to match any binary file type. I hope.

git-svn-id: svn://svn.tartarus.org/sgt/halibut@8889 cda61777-01e9-0310-a592-d414129be87e
input.c