]> git.pld-linux.org Git - packages/vim.git/blob - 7.0.131
- new
[packages/vim.git] / 7.0.131
1 To: vim-dev@vim.org
2 Subject: Patch 7.0.131
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 7.0.131
11 Problem:    Win32: "vim -r" does not list all the swap files.
12 Solution:   Also check for swap files starting with a dot.
13 Files:      src/memline.c
14
15
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
18 ***************
19 *** 1400,1407 ****
20                 names[0] = vim_strsave((char_u *)"*.sw?");
21   # endif
22   #endif
23 ! #ifdef UNIX
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?");
27                 num_names = 3;
28 --- 1400,1408 ----
29                 names[0] = vim_strsave((char_u *)"*.sw?");
30   # endif
31   #endif
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?");
37                 num_names = 3;
38 ***************
39 *** 1430,1437 ****
40                 names[0] = concat_fnames(dir_name, (char_u *)"*.sw?", TRUE);
41   # endif
42   #endif
43 ! #ifdef UNIX
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);
47                 num_names = 3;
48 --- 1431,1439 ----
49                 names[0] = concat_fnames(dir_name, (char_u *)"*.sw?", TRUE);
50   # endif
51   #endif
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);
57                 num_names = 3;
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
60 ***************
61 *** 668,669 ****
62 --- 668,671 ----
63   {   /* Add new patch number below this line */
64 + /**/
65 +     131,
66   /**/
67
68 -- 
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.
73
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    ///
This page took 0.036079 seconds and 3 git commands to generate.