aboutsummaryrefslogtreecommitdiff
path: root/nix
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-06-13 17:52:08 +0200
committerLudovic Courtès <ludo@gnu.org>2016-06-13 18:05:54 +0200
commit1752a17a1e6f7138892eeeb4806cd04ccb3ca1b0 (patch)
treeb214b397e41996725a20c81da83bc4cd4187383e /nix
parent9f8ee3fe0ed615a89520618c4df66647845b15b3 (diff)
downloadguix-1752a17a1e6f7138892eeeb4806cd04ccb3ca1b0.tar.gz
guix-1752a17a1e6f7138892eeeb4806cd04ccb3ca1b0.zip
utils: 'with-atomic-file-output' calls 'fdatasync'.
Suggested by Danny Milosavljevic <dannym@scratchpost.org> at <https://lists.gnu.org/archive/html/guix-devel/2016-06/msg00456.html>. * guix/build/syscalls.scm (fdatasync): New procedure. * guix/utils.scm (with-atomic-file-output): Use it. Use 'close-port' instead of 'close'.
Diffstat (limited to 'nix')
0 files changed, 0 insertions, 0 deletions