Make fn_open and fn_close take a struct file_handle instead of char *
authorJohn Darrington <john@darrington.wattle.id.au>
Wed, 18 Nov 2015 17:52:24 +0000 (18:52 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 21 Nov 2015 15:17:18 +0000 (16:17 +0100)
This change alters the signature of the fn_open and fn_close functions,
and changes all callers appropriately.  The purpose of such a change is
so that the encoding of the filename is passed to fn_open from wherever
it was created.

It also changes the implementation of fn_open on windows systems to call
_wfopen instead of fopen.  This should fix the problem of windows builds
not being able to open files whose pathnames included non-ascii characters.

As a bonus, we no longer require the rather contrived function
local_to_filename_encoding.

Some related issues (what about the pspprc file?) remain.


No differences found