GNOME Bugzilla – Bug 168341
g_file_get_contents() doesn't work on non-NT systems
Last modified: 2005-03-12 13:58:09 UTC
The get_contents_win32() uses _wfopen() which is only available on WinNT+. This simple patch makes it use the nice new gstdio g_fopen() that takes care of checking which fopen to use.
Created attachment 37872 [details] [review] Patch to make g_file_get_contents() work on win98/ME I've tested this on a winME machine and it works for me.
I just realized that the patch is reversed. Oops.
Thanks. Patch applied to HEAD and glib-2-6.
*** Bug 169750 has been marked as a duplicate of this bug. ***