On Fri, 10 Sep 2010 15:35:59 +0100 Nick Treleaven nick.treleaven@btinternet.com wrote:
I've still been using a GLib 2.14 system (so haven't personally tested this), but I think we ought to try using GIO for document saving as it may fix the network file truncation problems.
I attach an edited version of Алексей's patch, which doesn't make backups. Please test - if GIO saving is used then you should see a debug message "Using GIO to save: /path/foo.c" on saving. File permissions hopefully will be maintained.
I suggest we apply it (but maybe with a new hidden pref use_old_file_saving if we include it in a release, in case it doesn't work for some people).
I've now committed this patch to SVN for further testing. Thanks again to Алексей.
Nick