changeset 13988:68290d296dc9 v8.1.0012

patch 8.1.0012: misplaced #endif commit https://github.com/vim/vim/commit/1f131aee0ed4383009c0a67cc15581cc4c0dcad7 Author: Bram Moolenaar <Bram@vim.org> Date: Mon May 21 13:39:40 2018 +0200 patch 8.1.0012: misplaced #endif Problem: Misplaced #endif. Solution: Move the #endif to after the expression. (David Binderman)
author Christian Brabandt <cb@256bit.org>
date Mon, 21 May 2018 13:45:05 +0200
parents 381f04622c20
children 12d747cf6cb2
files src/fileio.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -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)
+									  == -1
 # endif
-									  == -1
 		   )
 		    swap_mode &= 0600;
 	    }
--- a/src/version.c
+++ b/src/version.c
@@ -762,6 +762,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    12,
+/**/
     11,
 /**/
     10,