No, gedit does not use GIO unmodified, it carries a workaround to the GIO issue (which leaves a truncated file in some cases, its described in the wiki article), and that workaround depends on the internal workings of GIO AFAICT.
That may be fine for something like gedit where it is part of the Gnome infrastructure and tightly coupled with GIO versions, but its harder for separate apps that may be installed on systems with differing versions of GIO. You can find all these discussions if you search the issues and mailing list archives, its all been discussed before.
Anyway nobody has ported the GIO patch from gedit to Geany so its portability and supportability is a moot point. Contributors on all those other editors have clearly have not considered it worth the effort either, the same as Geany contributors.
statvfs
has two problems:
as I said above, for file systems that use delayed allocation (including ext4) the free space number may be inaccurate.
its racey, after Geany does a statvfs there is nothing stopping some other process using the free space before Geany can write it.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.