Mercurial > vim
comparison src/globals.h @ 12857:ffdf2e4b5d9a v8.0.1305
patch 8.0.1305: writefile() never calls fsync()
commit https://github.com/vim/vim/commit/7567d0b115e332f61a9f390aaccdf7825b891227
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Nov 16 23:04:15 2017 +0100
patch 8.0.1305: writefile() never calls fsync()
Problem: Writefile() never calls fsync().
Solution: Follow the 'fsync' option with override to enable or disable.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 16 Nov 2017 23:15:05 +0100 |
parents | 351cf7c67bbe |
children | ebb4f6c93598 |
comparison
equal
deleted
inserted
replaced
12856:4c4a02a946f0 | 12857:ffdf2e4b5d9a |
---|---|
1447 EXTERN char_u e_isadir2[] INIT(= N_("E17: \"%s\" is a directory")); | 1447 EXTERN char_u e_isadir2[] INIT(= N_("E17: \"%s\" is a directory")); |
1448 #endif | 1448 #endif |
1449 #ifdef FEAT_LIBCALL | 1449 #ifdef FEAT_LIBCALL |
1450 EXTERN char_u e_libcall[] INIT(= N_("E364: Library call failed for \"%s()\"")); | 1450 EXTERN char_u e_libcall[] INIT(= N_("E364: Library call failed for \"%s()\"")); |
1451 #endif | 1451 #endif |
1452 #ifdef HAVE_FSYNC | |
1453 EXTERN char_u e_fsync[] INIT(= N_("E667: Fsync failed")); | |
1454 #endif | |
1452 #if defined(DYNAMIC_PERL) \ | 1455 #if defined(DYNAMIC_PERL) \ |
1453 || defined(DYNAMIC_PYTHON) || defined(DYNAMIC_PYTHON3) \ | 1456 || defined(DYNAMIC_PYTHON) || defined(DYNAMIC_PYTHON3) \ |
1454 || defined(DYNAMIC_RUBY) \ | 1457 || defined(DYNAMIC_RUBY) \ |
1455 || defined(DYNAMIC_TCL) \ | 1458 || defined(DYNAMIC_TCL) \ |
1456 || defined(DYNAMIC_ICONV) \ | 1459 || defined(DYNAMIC_ICONV) \ |