[vim/f18] - patchlevel 690
Karsten Hopp
karsten at fedoraproject.org
Mon Nov 12 14:32:10 UTC 2012
commit 10632fe285c1ac1a2c1385f60bf79dabe8a40e1f
Author: Karsten Hopp <karsten at redhat.com>
Date: Mon Nov 12 15:31:10 2012 +0100
- patchlevel 690
7.3.690 | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 68 insertions(+), 0 deletions(-)
---
diff --git a/7.3.690 b/7.3.690
new file mode 100644
index 0000000..c638e26
--- /dev/null
+++ b/7.3.690
@@ -0,0 +1,68 @@
+To: vim_dev at googlegroups.com
+Subject: Patch 7.3.690
+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.3.690
+Problem: When the current directory name is exactly the maximum path length
+ Vim may crash.
+Solution: Only add "/" when there is room. (Danek Duvall)
+Files: src/os_unix.c
+
+
+*** ../vim-7.3.689/src/os_unix.c 2012-08-15 17:26:53.000000000 +0200
+--- src/os_unix.c 2012-10-14 04:28:40.000000000 +0200
+***************
+*** 2512,2526 ****
+ }
+
+ l = STRLEN(buf);
+! if (l >= len)
+! retval = FAIL;
+ #ifndef VMS
+! else
+! {
+! if (l > 0 && buf[l - 1] != '/' && *fname != NUL
+ && STRCMP(fname, ".") != 0)
+! STRCAT(buf, "/");
+! }
+ #endif
+ }
+
+--- 2512,2523 ----
+ }
+
+ l = STRLEN(buf);
+! if (l >= len - 1)
+! retval = FAIL; /* no space for trailing "/" */
+ #ifndef VMS
+! else if (l > 0 && buf[l - 1] != '/' && *fname != NUL
+ && STRCMP(fname, ".") != 0)
+! STRCAT(buf, "/");
+ #endif
+ }
+
+*** ../vim-7.3.689/src/version.c 2012-10-14 03:41:54.000000000 +0200
+--- src/version.c 2012-10-14 04:26:17.000000000 +0200
+***************
+*** 721,722 ****
+--- 721,724 ----
+ { /* Add new patch number below this line */
++ /**/
++ 690,
+ /**/
+
+--
+SOLDIER: What? Ridden on a horse?
+ARTHUR: Yes!
+SOLDIER: You're using coconuts!
+ "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
+
+ /// 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