]> granicus.if.org Git - vim/commitdiff
patch 8.1.0012: misplaced #endif v8.1.0012
authorBram Moolenaar <Bram@vim.org>
Mon, 21 May 2018 11:39:40 +0000 (13:39 +0200)
committerBram Moolenaar <Bram@vim.org>
Mon, 21 May 2018 11:39:40 +0000 (13:39 +0200)
Problem:    Misplaced #endif.
Solution:   Move the #endif to after the expression. (David Binderman)

src/fileio.c
src/version.c

index 98631e074a5f6a8d01502c526a16fe6238c677b3..d34605ca78e9b6241946318e59427b0e906020d2 100644 (file)
@@ -714,8 +714,8 @@ readfile(
                        && st.st_gid != swap_st.st_gid
 # ifdef HAVE_FCHOWN
                        && fchown(curbuf->b_ml.ml_mfp->mf_fd, -1, st.st_gid)
-# endif
                                                                          == -1
+# endif
                   )
                    swap_mode &= 0600;
            }
index 3ebeb772ddf1094390ff97d000610e8f78e795d2..6dfc3aaef18429ffb8a50f7315847cbf49c9ee52 100644 (file)
@@ -761,6 +761,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    12,
 /**/
     11,
 /**/