patch 8.1.0012: misplaced #endif
Problem: Misplaced #endif.
Solution: Move the #endif to after the expression. (David Binderman)
diff --git a/src/fileio.c b/src/fileio.c
index 98631e0..d34605c 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -714,8 +714,8 @@
&& 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;
}
diff --git a/src/version.c b/src/version.c
index 3ebeb77..6dfc3aa 100644
--- a/src/version.c
+++ b/src/version.c
@@ -762,6 +762,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 12,
+/**/
11,
/**/
10,