From a06ecab7a5159e744448ace731036f0dc5f87dd4 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 16 Jul 2016 14:47:36 +0200 Subject: patch 7.4.2048 Problem: There is still code and help for unsupported systems. Solution: Remove the code and text. (Hirohito Higashi) --- src/memfile.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/memfile.c') 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)) -- cgit v1.2.1