g_file_set_contents(): use unistd instead of stdio
Use a normal write() system call instead of fdopen() and fwrite(). This will definitely work on UNIX system and should work on Windows as well... As an added bonus, we can use g_close() now as well. https://bugzilla.gnome.org/show_bug.cgi?id=701560
parent
c152ceba
Please register or sign in to comment