components/vim/vim72-patches/7.2.128
changeset 379 c6a17bba1da3
parent 378 f0b61ed1d10d
child 380 e92b3b4a1c66
equal deleted inserted replaced
378:f0b61ed1d10d 379:c6a17bba1da3
     1 To: [email protected]
       
     2 Subject: Patch 7.2.128
       
     3 Fcc: outbox
       
     4 From: Bram Moolenaar <[email protected]>
       
     5 Mime-Version: 1.0
       
     6 Content-Type: text/plain; charset=ISO-8859-1
       
     7 Content-Transfer-Encoding: 8bit
       
     8 ------------
       
     9 
       
    10 Patch 7.2.128 (after 7.2.055)
       
    11 Problem:    Using ":lcd" makes session files not work.
       
    12 Solution:   Compare return value of mch_chdir() properly. (Andreas Bernauer)
       
    13 Files:      src/ex_docmd.c
       
    14 
       
    15 
       
    16 *** ../vim-7.2.127/src/ex_docmd.c	Sat Feb 21 20:36:30 2009
       
    17 --- src/ex_docmd.c	Sun Mar  1 02:39:38 2009
       
    18 ***************
       
    19 *** 8792,8798 ****
       
    20   		else if (*dirnow != NUL
       
    21   			&& (ssop_flags & SSOP_CURDIR) && globaldir != NULL)
       
    22   		{
       
    23 ! 		    if (mch_chdir((char *)globaldir) == OK)
       
    24   			shorten_fnames(TRUE);
       
    25   		}
       
    26   
       
    27 --- 8799,8805 ----
       
    28   		else if (*dirnow != NUL
       
    29   			&& (ssop_flags & SSOP_CURDIR) && globaldir != NULL)
       
    30   		{
       
    31 ! 		    if (mch_chdir((char *)globaldir) == 0)
       
    32   			shorten_fnames(TRUE);
       
    33   		}
       
    34   
       
    35 *** ../vim-7.2.127/src/version.c	Tue Feb 24 04:36:50 2009
       
    36 --- src/version.c	Sun Mar  1 02:42:47 2009
       
    37 ***************
       
    38 *** 678,679 ****
       
    39 --- 678,681 ----
       
    40   {   /* Add new patch number below this line */
       
    41 + /**/
       
    42 +     128,
       
    43   /**/
       
    44 
       
    45 -- 
       
    46 hundred-and-one symptoms of being an internet addict:
       
    47 138. You develop a liking for cold coffee.
       
    48 
       
    49  /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
       
    50 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
       
    51 \\\        download, build and distribute -- http://www.A-A-P.org        ///
       
    52  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///