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 #3463)
This commit is contained in:
Bram Moolenaar
2018-09-21 14:48:53 +02:00
parent 4ff4290de1
commit 0bd4051732
4 changed files with 5 additions and 12 deletions

View File

@ -26,7 +26,6 @@
#define BINARY_FILE_IO
#define USE_EXE_NAME /* use argv[0] for $VIM */
#define SYNC_DUP_CLOSE /* sync() a file with dup() and close() */
#define USE_TERM_CONSOLE
#ifndef HAVE_STRING_H
# define HAVE_STRING_H