]> git.pld-linux.org Git - packages/vim.git/blob - 7.1.194
- updated to 7.1.285
[packages/vim.git] / 7.1.194
1 To: vim-dev@vim.org
2 Subject: Patch 7.1.194
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.1.194
11 Problem:    ":echo glob('~/{}')" results in /home/user//.
12 Solution:   Don't add a slash if there already is one.
13 Files:      src/os_unix.c
14
15
16 *** ../vim-7.1.193/src/os_unix.c        Sat Dec  1 17:18:45 2007
17 --- src/os_unix.c       Thu Jan  3 18:52:22 2008
18 ***************
19 *** 5482,5488 ****
20         {
21             STRCPY(p, (*file)[i]);
22             if (dir)
23 !               STRCAT(p, "/");     /* add '/' to a directory name */
24             (*file)[j++] = p;
25         }
26       }
27 --- 5482,5488 ----
28         {
29             STRCPY(p, (*file)[i]);
30             if (dir)
31 !               add_pathsep(p);     /* add '/' to a directory name */
32             (*file)[j++] = p;
33         }
34       }
35 *** ../vim-7.1.193/src/version.c        Thu Jan  3 17:53:41 2008
36 --- src/version.c       Thu Jan  3 18:54:41 2008
37 ***************
38 *** 668,669 ****
39 --- 668,671 ----
40   {   /* Add new patch number below this line */
41 + /**/
42 +     194,
43   /**/
44
45 -- 
46 ARTHUR:    Will you ask your master if he wants to join my court at Camelot?!
47 GUARD #1:  But then of course African swallows are not migratory.
48 GUARD #2:  Oh, yeah...
49 GUARD #1:  So they couldn't bring a coconut back anyway...
50                                   The Quest for the Holy Grail (Monty Python)
51
52  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
53 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
54 \\\        download, build and distribute -- http://www.A-A-P.org        ///
55  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.034981 seconds and 3 git commands to generate.