]> git.pld-linux.org Git - packages/vim.git/blob - 7.1.328
- typo
[packages/vim.git] / 7.1.328
1 To: vim-dev@vim.org
2 Subject: Patch 7.1.328
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.328
11 Problem:    Crash when using Cygwin and non-posix path name in tags file.
12 Solution:   Use separate buffer for posix path. (Ben Schmidt)
13 Files:      src/os_unix.c
14
15
16 *** ../vim-7.1.327/src/os_unix.c        Fri Jun 20 11:58:27 2008
17 --- src/os_unix.c       Sat Jun 21 13:06:45 2008
18 ***************
19 *** 2278,2283 ****
20 --- 2278,2287 ----
21       char_u    olddir[MAXPATHL];
22       char_u    *p;
23       int               retval = OK;
24 + #ifdef __CYGWIN__
25 +     char_u    posix_fname[MAX_PATH];
26 + #endif
27
28   
29   #ifdef VMS
30       fname = vms_fixfilename(fname);
31 ***************
32 *** 2287,2293 ****
33       /*
34        * This helps for when "/etc/hosts" is a symlink to "c:/something/hosts".
35        */
36 !     cygwin_conv_to_posix_path(fname, fname);
37   #endif
38   
39       /* expand it if forced or not an absolute path */
40 --- 2291,2298 ----
41       /*
42        * This helps for when "/etc/hosts" is a symlink to "c:/something/hosts".
43        */
44 !     cygwin_conv_to_posix_path(fname, posix_fname);
45 !     fname = posix_fname;
46   #endif
47   
48       /* expand it if forced or not an absolute path */
49 *** ../vim-7.1.327/src/version.c        Fri Jun 20 21:29:01 2008
50 --- src/version.c       Sat Jun 21 13:10:39 2008
51 ***************
52 *** 668,669 ****
53 --- 673,676 ----
54   {   /* Add new patch number below this line */
55 + /**/
56 +     328,
57   /**/
58
59 -- 
60 Q: Should I clean my house or work on Vim?
61 A: Whatever contains more bugs.
62
63  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
64 ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
65 \\\        download, build and distribute -- http://www.A-A-P.org        ///
66  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
This page took 0.027785 seconds and 3 git commands to generate.