summaryrefslogtreecommitdiff
path: root/src/memfile.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-07-16 14:47:36 +0200
committerBram Moolenaar <Bram@vim.org>2016-07-16 14:47:36 +0200
commita06ecab7a5159e744448ace731036f0dc5f87dd4 (patch)
tree9474754ee4ef21fefea517d5fa2deae7c30c458d /src/memfile.c
parentbfafb4c4a01db3f8c508716daf689e0dfe92b649 (diff)
downloadvim-git-a06ecab7a5159e744448ace731036f0dc5f87dd4.tar.gz
patch 7.4.2048v7.4.2048
Problem: There is still code and help for unsupported systems. Solution: Remove the code and text. (Hirohito Higashi)
Diffstat (limited to 'src/memfile.c')
-rw-r--r--src/memfile.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/memfile.c b/src/memfile.c
index 6b1a341e2..e2fadc2e5 100644
--- a/src/memfile.c
+++ b/src/memfile.c
@@ -602,16 +602,7 @@ mf_sync(memfile_T *mfp, int flags)
# ifdef HAVE_FSYNC
/*
* most Unixes have the very useful fsync() function, just what we need.
- * However, with OS/2 and EMX it is also available, but there are
- * reports of bad problems with it (a bug in HPFS.IFS).
- * So we disable use of it here in case someone tries to be smart
- * and changes os_os2_cfg.h... (even though there is no __EMX__ test
- * in the #if, as __EMX__ does not have sync(); we hope for a timely
- * sync from the system itself).
*/
-# if defined(__EMX__)
- error "Don't use fsync with EMX! Read emxdoc.doc or emxfix01.doc for info."
-# endif
if (STRCMP(p_sws, "fsync") == 0)
{
if (fsync(mfp->mf_fd))