Patch 8.0.1737
Problem: fchown() used when it is not supported.
Solution: Add #ifdef.
Files: src/fileio.c
*** ../vim-8.0.1736/src/fileio.c 2018-04-08 13:07:18.742034802 +0200
--- src/fileio.c 2018-04-19 21:10:26.438281314 +0200
***************
*** 712,719 ****
if (mch_stat((char *)swap_fname, &swap_st) >= 0
&& st.st_gid != swap_st.st_gid
&& fchown(curbuf->b_ml.ml_mfp->mf_fd, -1, st.st_gid)
! == -1)
swap_mode &= 0600;
}
--- 712,722 ----
if (mch_stat((char *)swap_fname, &swap_st) >= 0
&& st.st_gid != swap_st.st_gid
+ # ifdef HAVE_FCHOWN
&& fchown(curbuf->b_ml.ml_mfp->mf_fd, -1, st.st_gid)
! # endif
! == -1
! )
swap_mode &= 0600;
}
*** ../vim-8.0.1736/src/version.c 2018-04-19 20:39:34.463728396 +0200
--- src/version.c 2018-04-19 21:11:31.761810361 +0200
***************
*** 764,765 ****
--- 764,767 ----
{ /* Add new patch number below this line */
+ /**/
+ 1737,
/**/
--
The term "free software" is defined by Richard M. Stallman as
being software that isn't necessarily for free. Confusing?
Let's call it "Stallman software" then!
-- Bram Moolenaar
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.