C stdio trickery for read/write mode
authorP. F. Chimento <philip.chimento@gmail.com>
Sat, 18 Jun 2011 19:16:57 +0000 (21:16 +0200)
committerP. F. Chimento <philip.chimento@gmail.com>
Sat, 18 Jun 2011 20:08:14 +0000 (22:08 +0200)
As pointed out in the new version of the Glk spec, when opening a file
for appending, you cannot seek in it. We must open the file for
appending, to make sure it is created, then close it and reopen it
for read/writing.

Fixes part of #34.


No differences found