fs/io/FileOutputStream: use O_TMPFILE if available

The Linux feature allows writing new files to an invisible file, and
then replace the old file.  This preserves the old file if we get
interrupted by some event.
This commit is contained in:
Max Kellermann
2015-01-05 20:24:59 +01:00
parent ac62586bad
commit 8b217d5313
4 changed files with 70 additions and 9 deletions

1
NEWS
View File

@@ -18,6 +18,7 @@ ver 0.20 (not yet released)
* mixer
- null: new plugin
* reset song priority on playback
* write database and state file atomically
* remove dependency on GLib
ver 0.19.8 (not yet released)