Patch 7.4.707
Problem: Undo files can have their executable bit set.
Solution: Strip of the executable bit. (Mikael Berthe)
Files: src/undo.c
*** ../vim-7.4.706/src/undo.c 2015-02-17 13:43:35.562216149 +0100
--- src/undo.c 2015-04-21 16:01:51.702508121 +0200
***************
*** 1614,1621 ****
#endif
}
! /* strip any s-bit */
! perm = perm & 0777;
/* If the undo file already exists, verify that it actually is an undo
* file, and delete it. */
--- 1614,1621 ----
#endif
}
! /* strip any s-bit and executable bit */
! perm = perm & 0666;
/* If the undo file already exists, verify that it actually is an undo
* file, and delete it. */
*** ../vim-7.4.706/src/version.c 2015-04-21 15:43:00.342397536 +0200
--- src/version.c 2015-04-21 16:00:54.979103468 +0200
***************
*** 743,744 ****
--- 743,746 ----
{ /* Add new patch number below this line */
+ /**/
+ 707,
/**/
--
FIRST VILLAGER: We have found a witch. May we burn her?
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// 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.