]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
updated for version 7.0-110 v7.0.110
authorBram Moolenaar <Bram@vim.org>
Tue, 26 Sep 2006 11:48:34 +0000 (11:48 +0000)
committerBram Moolenaar <Bram@vim.org>
Tue, 26 Sep 2006 11:48:34 +0000 (11:48 +0000)
src/memfile.c
src/version.c

index aeeb8cba91e942a3e9ef080df88941e92629b79a..0f0709119cdea3a93fc61c43441d00aca889a777 100644 (file)
@@ -517,7 +517,7 @@ mf_free(mfp, hp)
        mf_ins_free(mfp, hp);   /* put *hp in the free list */
 }
 
-#if defined(__MORPHOS__)
+#if defined(__MORPHOS__) && defined(__libnix__)
 /* function is missing in MorphOS libnix version */
 extern unsigned long *__stdfiledes;
 
@@ -677,15 +677,19 @@ mf_sync(mfp, flags)
 #  else
 #   if defined(_DCC) || defined(__GNUC__) || defined(__MORPHOS__)
        {
-#    if defined(__GNUC__) && !defined(__MORPHOS__)
+#    if defined(__GNUC__) && !defined(__MORPHOS__) && defined(__libnix__)
            /* Have function (in libnix at least),
             * but ain't got no prototype anywhere. */
            extern unsigned long fdtofh(int filedescriptor);
 #    endif
+#    if !defined(__libnix__)
+           fflush(NULL);
+#    else
            BPTR fh = (BPTR)fdtofh(mfp->mf_fd);
 
            if (fh != 0)
                Flush(fh);
+#    endif
        }
 #   else /* assume Manx */
            Flush(_devtab[mfp->mf_fd].fd);
index 3a4c118b8433742dbdbeb04b2cda152289241703..d5ba9054c5dd2c98bb49f252d34a330a08597d35 100644 (file)
@@ -666,6 +666,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    110,
 /**/
     109,
 /**/