4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Win32: "vim -r" does not list all the swap files.
12 Solution: Also check for swap files starting with a dot.
16 *** ../vim-7.0.130/src/memline.c Tue Oct 10 16:20:51 2006
17 --- src/memline.c Tue Oct 10 21:54:21 2006
20 names[0] = vim_strsave((char_u *)"*.sw?");
24 ! /* for Unix names starting with a dot are special */
25 names[1] = vim_strsave((char_u *)".*.sw?");
26 names[2] = vim_strsave((char_u *)".sw?");
29 names[0] = vim_strsave((char_u *)"*.sw?");
32 ! #if defined(UNIX) || defined(WIN3264)
33 ! /* For Unix names starting with a dot are special. MS-Windows
34 ! * supports this too, on some file systems. */
35 names[1] = vim_strsave((char_u *)".*.sw?");
36 names[2] = vim_strsave((char_u *)".sw?");
40 names[0] = concat_fnames(dir_name, (char_u *)"*.sw?", TRUE);
44 ! /* for Unix names starting with a dot are special */
45 names[1] = concat_fnames(dir_name, (char_u *)".*.sw?", TRUE);
46 names[2] = concat_fnames(dir_name, (char_u *)".sw?", TRUE);
49 names[0] = concat_fnames(dir_name, (char_u *)"*.sw?", TRUE);
52 ! #if defined(UNIX) || defined(WIN3264)
53 ! /* For Unix names starting with a dot are special. MS-Windows
54 ! * supports this too, on some file systems. */
55 names[1] = concat_fnames(dir_name, (char_u *)".*.sw?", TRUE);
56 names[2] = concat_fnames(dir_name, (char_u *)".sw?", TRUE);
58 *** ../vim-7.0.130/src/version.c Tue Oct 10 18:43:50 2006
59 --- src/version.c Tue Oct 10 21:55:02 2006
63 { /* Add new patch number below this line */
69 Apparently, 1 in 5 people in the world are Chinese. And there are 5
70 people in my family, so it must be one of them. It's either my mum
71 or my dad. Or my older brother Colin. Or my younger brother
72 Ho-Cha-Chu. But I think it's Colin.
74 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
75 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
76 \\\ download, build and distribute -- http://www.A-A-P.org ///
77 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///