summaryrefslogtreecommitdiffstats
path: root/patches/source/vim/patches/7.4.239
blob: 5943d69f936ca9f0eb9fd091cc711fb46c67f0d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
To: vim_dev@googlegroups.com
Subject: Patch 7.4.239
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

Patch 7.4.239
Problem:    ":e +" does not position cursor at end of the file.
Solution:   Check for "+" being the last character (ZyX)
Files:	    src/ex_docmd.c


*** ../vim-7.4.238/src/ex_docmd.c	2014-04-01 18:54:44.312837673 +0200
--- src/ex_docmd.c	2014-04-02 14:18:02.247877546 +0200
***************
*** 4841,4847 ****
      if (*arg == '+')	    /* +[command] */
      {
  	++arg;
! 	if (vim_isspace(*arg))
  	    command = dollar_command;
  	else
  	{
--- 4841,4847 ----
      if (*arg == '+')	    /* +[command] */
      {
  	++arg;
! 	if (vim_isspace(*arg) || *arg == NUL)
  	    command = dollar_command;
  	else
  	{
*** ../vim-7.4.238/src/version.c	2014-04-02 14:05:34.003887839 +0200
--- src/version.c	2014-04-02 14:17:40.923877840 +0200
***************
*** 736,737 ****
--- 736,739 ----
  {   /* Add new patch number below this line */
+ /**/
+     239,
  /**/

-- 
Q: What is the difference betwee open-source and commercial software?
A: If you have a problem with commercial software you can call a phone
   number and they will tell you it might be solved in a future version.
   For open-source software there isn't a phone number to call, but you
   get the solution within a day.

 /// Bram Moolenaar -- Bram@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    ///