|
Karsten Hopp |
23de0b |
To: vim-dev@vim.org
|
|
Karsten Hopp |
23de0b |
Subject: Patch 7.0.131
|
|
Karsten Hopp |
23de0b |
Fcc: outbox
|
|
Karsten Hopp |
23de0b |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
23de0b |
Mime-Version: 1.0
|
|
Karsten Hopp |
23de0b |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
23de0b |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
23de0b |
------------
|
|
Karsten Hopp |
23de0b |
|
|
Karsten Hopp |
23de0b |
Patch 7.0.131
|
|
Karsten Hopp |
23de0b |
Problem: Win32: "vim -r" does not list all the swap files.
|
|
Karsten Hopp |
23de0b |
Solution: Also check for swap files starting with a dot.
|
|
Karsten Hopp |
23de0b |
Files: src/memline.c
|
|
Karsten Hopp |
23de0b |
|
|
Karsten Hopp |
23de0b |
|
|
Karsten Hopp |
23de0b |
*** ../vim-7.0.130/src/memline.c Tue Oct 10 16:20:51 2006
|
|
Karsten Hopp |
23de0b |
--- src/memline.c Tue Oct 10 21:54:21 2006
|
|
Karsten Hopp |
23de0b |
***************
|
|
Karsten Hopp |
23de0b |
*** 1400,1407 ****
|
|
Karsten Hopp |
23de0b |
names[0] = vim_strsave((char_u *)"*.sw?");
|
|
Karsten Hopp |
23de0b |
# endif
|
|
Karsten Hopp |
23de0b |
#endif
|
|
Karsten Hopp |
23de0b |
! #ifdef UNIX
|
|
Karsten Hopp |
23de0b |
! /* for Unix names starting with a dot are special */
|
|
Karsten Hopp |
23de0b |
names[1] = vim_strsave((char_u *)".*.sw?");
|
|
Karsten Hopp |
23de0b |
names[2] = vim_strsave((char_u *)".sw?");
|
|
Karsten Hopp |
23de0b |
num_names = 3;
|
|
Karsten Hopp |
23de0b |
--- 1400,1408 ----
|
|
Karsten Hopp |
23de0b |
names[0] = vim_strsave((char_u *)"*.sw?");
|
|
Karsten Hopp |
23de0b |
# endif
|
|
Karsten Hopp |
23de0b |
#endif
|
|
Karsten Hopp |
23de0b |
! #if defined(UNIX) || defined(WIN3264)
|
|
Karsten Hopp |
23de0b |
! /* For Unix names starting with a dot are special. MS-Windows
|
|
Karsten Hopp |
23de0b |
! * supports this too, on some file systems. */
|
|
Karsten Hopp |
23de0b |
names[1] = vim_strsave((char_u *)".*.sw?");
|
|
Karsten Hopp |
23de0b |
names[2] = vim_strsave((char_u *)".sw?");
|
|
Karsten Hopp |
23de0b |
num_names = 3;
|
|
Karsten Hopp |
23de0b |
***************
|
|
Karsten Hopp |
23de0b |
*** 1430,1437 ****
|
|
Karsten Hopp |
23de0b |
names[0] = concat_fnames(dir_name, (char_u *)"*.sw?", TRUE);
|
|
Karsten Hopp |
23de0b |
# endif
|
|
Karsten Hopp |
23de0b |
#endif
|
|
Karsten Hopp |
23de0b |
! #ifdef UNIX
|
|
Karsten Hopp |
23de0b |
! /* for Unix names starting with a dot are special */
|
|
Karsten Hopp |
23de0b |
names[1] = concat_fnames(dir_name, (char_u *)".*.sw?", TRUE);
|
|
Karsten Hopp |
23de0b |
names[2] = concat_fnames(dir_name, (char_u *)".sw?", TRUE);
|
|
Karsten Hopp |
23de0b |
num_names = 3;
|
|
Karsten Hopp |
23de0b |
--- 1431,1439 ----
|
|
Karsten Hopp |
23de0b |
names[0] = concat_fnames(dir_name, (char_u *)"*.sw?", TRUE);
|
|
Karsten Hopp |
23de0b |
# endif
|
|
Karsten Hopp |
23de0b |
#endif
|
|
Karsten Hopp |
23de0b |
! #if defined(UNIX) || defined(WIN3264)
|
|
Karsten Hopp |
23de0b |
! /* For Unix names starting with a dot are special. MS-Windows
|
|
Karsten Hopp |
23de0b |
! * supports this too, on some file systems. */
|
|
Karsten Hopp |
23de0b |
names[1] = concat_fnames(dir_name, (char_u *)".*.sw?", TRUE);
|
|
Karsten Hopp |
23de0b |
names[2] = concat_fnames(dir_name, (char_u *)".sw?", TRUE);
|
|
Karsten Hopp |
23de0b |
num_names = 3;
|
|
Karsten Hopp |
23de0b |
*** ../vim-7.0.130/src/version.c Tue Oct 10 18:43:50 2006
|
|
Karsten Hopp |
23de0b |
--- src/version.c Tue Oct 10 21:55:02 2006
|
|
Karsten Hopp |
23de0b |
***************
|
|
Karsten Hopp |
23de0b |
*** 668,669 ****
|
|
Karsten Hopp |
23de0b |
--- 668,671 ----
|
|
Karsten Hopp |
23de0b |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
23de0b |
+ /**/
|
|
Karsten Hopp |
23de0b |
+ 131,
|
|
Karsten Hopp |
23de0b |
/**/
|
|
Karsten Hopp |
23de0b |
|
|
Karsten Hopp |
23de0b |
--
|
|
Karsten Hopp |
23de0b |
Apparently, 1 in 5 people in the world are Chinese. And there are 5
|
|
Karsten Hopp |
23de0b |
people in my family, so it must be one of them. It's either my mum
|
|
Karsten Hopp |
23de0b |
or my dad. Or my older brother Colin. Or my younger brother
|
|
Karsten Hopp |
23de0b |
Ho-Cha-Chu. But I think it's Colin.
|
|
Karsten Hopp |
23de0b |
|
|
Karsten Hopp |
23de0b |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
23de0b |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
23de0b |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
23de0b |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|