comparison src/fileio.c @ 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 31bb8e1f7625
children e124262d435e
comparison
equal deleted inserted replaced
13987:381f04622c20 13988:68290d296dc9
712 712
713 if (mch_stat((char *)swap_fname, &swap_st) >= 0 713 if (mch_stat((char *)swap_fname, &swap_st) >= 0
714 && st.st_gid != swap_st.st_gid 714 && st.st_gid != swap_st.st_gid
715 # ifdef HAVE_FCHOWN 715 # ifdef HAVE_FCHOWN
716 && fchown(curbuf->b_ml.ml_mfp->mf_fd, -1, st.st_gid) 716 && fchown(curbuf->b_ml.ml_mfp->mf_fd, -1, st.st_gid)
717 == -1
717 # endif 718 # endif
718 == -1
719 ) 719 )
720 swap_mode &= 0600; 720 swap_mode &= 0600;
721 } 721 }
722 722
723 (void)mch_setperm(swap_fname, (long)swap_mode); 723 (void)mch_setperm(swap_fname, (long)swap_mode);