]> git.pld-linux.org Git - packages/vim.git/blob - 7.0.228
- updated to 0.7.3
[packages/vim.git] / 7.0.228
1 To: vim-dev@vim.org
2 Subject: patch 7.0.228
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.228
11 Problem:    Cygwin: problem with symlink to DOS style path.
12 Solution:   Invoke cygwin_conv_to_posix_path(). (Luca Masini)
13 Files:      src/os_unix.c
14
15
16 *** ../vim-7.0.227/src/os_unix.c        Tue Mar  6 20:27:03 2007
17 --- src/os_unix.c       Mon Apr 23 22:27:16 2007
18 ***************
19 *** 55,60 ****
20 --- 55,66 ----
21   # endif
22   #endif
23   
24 + #ifdef __CYGWIN__
25 + # ifndef WIN32
26 + #  include <sys/cygwin.h>     /* for cygwin_conv_to_posix_path() */
27 + # endif
28 + #endif
29
30   #if defined(HAVE_SELECT)
31   extern int   select __ARGS((int, fd_set *, fd_set *, fd_set *, struct timeval *));
32   #endif
33 ***************
34 *** 2228,2233 ****
35 --- 2258,2270 ----
36   
37   #ifdef VMS
38       fname = vms_fixfilename(fname);
39 + #endif
40
41 + #ifdef __CYGWIN__
42 +     /*
43 +      * This helps for when "/etc/hosts" is a symlink to "c:/something/hosts".
44 +      */
45 +     cygwin_conv_to_posix_path(fname, fname);
46   #endif
47   
48       /* expand it if forced or not an absolute path */
49 *** ../vim-7.0.227/src/version.c        Thu Apr 26 16:11:47 2007
50 --- src/version.c       Thu Apr 26 16:27:29 2007
51 ***************
52 *** 668,669 ****
53 --- 668,671 ----
54   {   /* Add new patch number below this line */
55 + /**/
56 +     228,
57   /**/
58
59 -- 
60 hundred-and-one symptoms of being an internet addict:
61 19. All of your friends have an @ in their names.
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.037759 seconds and 3 git commands to generate.