|
Karsten Hopp |
3595c2 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
3595c2 |
Subject: Patch 7.2.128
|
|
Karsten Hopp |
3595c2 |
Fcc: outbox
|
|
Karsten Hopp |
3595c2 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
3595c2 |
Mime-Version: 1.0
|
|
Karsten Hopp |
3595c2 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
3595c2 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
3595c2 |
------------
|
|
Karsten Hopp |
3595c2 |
|
|
Karsten Hopp |
3595c2 |
Patch 7.2.128 (after 7.2.055)
|
|
Karsten Hopp |
3595c2 |
Problem: Using ":lcd" makes session files not work.
|
|
Karsten Hopp |
3595c2 |
Solution: Compare return value of mch_chdir() properly. (Andreas Bernauer)
|
|
Karsten Hopp |
3595c2 |
Files: src/ex_docmd.c
|
|
Karsten Hopp |
3595c2 |
|
|
Karsten Hopp |
3595c2 |
|
|
Karsten Hopp |
3595c2 |
*** ../vim-7.2.127/src/ex_docmd.c Sat Feb 21 20:36:30 2009
|
|
Karsten Hopp |
3595c2 |
--- src/ex_docmd.c Sun Mar 1 02:39:38 2009
|
|
Karsten Hopp |
3595c2 |
***************
|
|
Karsten Hopp |
3595c2 |
*** 8792,8798 ****
|
|
Karsten Hopp |
3595c2 |
else if (*dirnow != NUL
|
|
Karsten Hopp |
3595c2 |
&& (ssop_flags & SSOP_CURDIR) && globaldir != NULL)
|
|
Karsten Hopp |
3595c2 |
{
|
|
Karsten Hopp |
3595c2 |
! if (mch_chdir((char *)globaldir) == OK)
|
|
Karsten Hopp |
3595c2 |
shorten_fnames(TRUE);
|
|
Karsten Hopp |
3595c2 |
}
|
|
Karsten Hopp |
3595c2 |
|
|
Karsten Hopp |
3595c2 |
--- 8799,8805 ----
|
|
Karsten Hopp |
3595c2 |
else if (*dirnow != NUL
|
|
Karsten Hopp |
3595c2 |
&& (ssop_flags & SSOP_CURDIR) && globaldir != NULL)
|
|
Karsten Hopp |
3595c2 |
{
|
|
Karsten Hopp |
3595c2 |
! if (mch_chdir((char *)globaldir) == 0)
|
|
Karsten Hopp |
3595c2 |
shorten_fnames(TRUE);
|
|
Karsten Hopp |
3595c2 |
}
|
|
Karsten Hopp |
3595c2 |
|
|
Karsten Hopp |
3595c2 |
*** ../vim-7.2.127/src/version.c Tue Feb 24 04:36:50 2009
|
|
Karsten Hopp |
3595c2 |
--- src/version.c Sun Mar 1 02:42:47 2009
|
|
Karsten Hopp |
3595c2 |
***************
|
|
Karsten Hopp |
3595c2 |
*** 678,679 ****
|
|
Karsten Hopp |
3595c2 |
--- 678,681 ----
|
|
Karsten Hopp |
3595c2 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
3595c2 |
+ /**/
|
|
Karsten Hopp |
3595c2 |
+ 128,
|
|
Karsten Hopp |
3595c2 |
/**/
|
|
Karsten Hopp |
3595c2 |
|
|
Karsten Hopp |
3595c2 |
--
|
|
Karsten Hopp |
3595c2 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
3595c2 |
138. You develop a liking for cold coffee.
|
|
Karsten Hopp |
3595c2 |
|
|
Karsten Hopp |
3595c2 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
3595c2 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
3595c2 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
3595c2 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|