[vim: 21/25] - patchlevel 657
Karsten Hopp
karsten at fedoraproject.org
Mon Mar 9 13:12:16 UTC 2015
commit deccd7629688909cc17ac50e81602b540905825e
Author: Karsten Hopp <karsten at redhat.com>
Date: Sat Mar 7 18:00:03 2015 +0100
- patchlevel 657
7.4.657 | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 70 insertions(+)
---
diff --git a/7.4.657 b/7.4.657
new file mode 100644
index 0000000..7b02475
--- /dev/null
+++ b/7.4.657
@@ -0,0 +1,70 @@
+To: vim_dev at googlegroups.com
+Subject: Patch 7.4.657
+Fcc: outbox
+From: Bram Moolenaar <Bram at moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.4.657 (after 7.4.656)
+Problem: Compiler warnings for pointer mismatch.
+Solution: Add a typecast. (John Marriott)
+Files: src/misc1.c
+
+
+*** ../vim-7.4.656/src/misc1.c 2015-03-05 21:21:14.497360702 +0100
+--- src/misc1.c 2015-03-06 21:34:00.343452890 +0100
+***************
+*** 10175,10181 ****
+ if (*path_end != NUL)
+ backslash_halve(buf + len + 1);
+ /* add existing file or symbolic link */
+! if ((flags & EW_ALLLINKS) ? mch_lstat(buf, &sb) >= 0
+ : mch_getperm(buf) >= 0)
+ {
+ #ifdef MACOS_CONVERT
+--- 10175,10181 ----
+ if (*path_end != NUL)
+ backslash_halve(buf + len + 1);
+ /* add existing file or symbolic link */
+! if ((flags & EW_ALLLINKS) ? mch_lstat((char *)buf, &sb) >= 0
+ : mch_getperm(buf) >= 0)
+ {
+ #ifdef MACOS_CONVERT
+***************
+*** 10937,10943 ****
+
+ /* if the file/dir/link doesn't exist, may not add it */
+ if (!(flags & EW_NOTFOUND) && ((flags & EW_ALLLINKS)
+! ? mch_lstat(f, &sb) < 0 : mch_getperm(f) < 0))
+ return;
+
+ #ifdef FNAME_ILLEGAL
+--- 10937,10943 ----
+
+ /* if the file/dir/link doesn't exist, may not add it */
+ if (!(flags & EW_NOTFOUND) && ((flags & EW_ALLLINKS)
+! ? mch_lstat((char *)f, &sb) < 0 : mch_getperm(f) < 0))
+ return;
+
+ #ifdef FNAME_ILLEGAL
+*** ../vim-7.4.656/src/version.c 2015-03-05 21:21:14.497360702 +0100
+--- src/version.c 2015-03-06 21:35:14.050606301 +0100
+***************
+*** 743,744 ****
+--- 743,746 ----
+ { /* Add new patch number below this line */
++ /**/
++ 657,
+ /**/
+
+--
+You got to work at a mill? Lucky! I got sent back to work in the
+acid-mines for my daily crust of stale bread... which not even the
+birds would eat.
+
+ /// Bram Moolenaar -- Bram at Moolenaar.net -- 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 ///
More information about the scm-commits
mailing list