Mercurial > vim
comparison src/os_mac.h @ 14822:aa9c7588d30a v8.1.0423
patch 8.1.0423: MS-Windows: using dup-close for flushing a file
commit https://github.com/vim/vim/commit/0bd405173234b7d749aac144f60b68fee2135cb3
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Sep 21 14:48:53 2018 +0200
patch 8.1.0423: MS-Windows: using dup-close for flushing a file
Problem: MS-Windows: using dup-close for flushing a file.
Solution: Use _commit(). (Ken Takata, closes https://github.com/vim/vim/issues/3463)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 21 Sep 2018 15:00:06 +0200 |
parents | 65c29bd4548b |
children | 62b3805506b3 |
comparison
equal
deleted
inserted
replaced
14821:edc3d7023442 | 14822:aa9c7588d30a |
---|---|
99 #define BINARY_FILE_IO | 99 #define BINARY_FILE_IO |
100 #define EOL_DEFAULT EOL_MAC | 100 #define EOL_DEFAULT EOL_MAC |
101 #define HAVE_AVAIL_MEM | 101 #define HAVE_AVAIL_MEM |
102 | 102 |
103 #ifndef HAVE_CONFIG_H | 103 #ifndef HAVE_CONFIG_H |
104 /* #define SYNC_DUP_CLOSE sync() a file with dup() and close() */ | |
105 # define HAVE_STRING_H | 104 # define HAVE_STRING_H |
106 # define HAVE_STRCSPN | 105 # define HAVE_STRCSPN |
107 # define HAVE_MEMSET | 106 # define HAVE_MEMSET |
108 # define USE_TMPNAM /* use tmpnam() instead of mktemp() */ | 107 # define USE_TMPNAM /* use tmpnam() instead of mktemp() */ |
109 # define HAVE_FCNTL_H | 108 # define HAVE_FCNTL_H |