home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 7.0 / 7.0.228 < prev    next >
Encoding:
Internet Message Format  |  2007-04-25  |  1.7 KB

  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.   #if defined(HAVE_SELECT)
  30.   extern int   select __ARGS((int, fd_set *, fd_set *, fd_set *, struct timeval *));
  31.   #endif
  32. ***************
  33. *** 2228,2233 ****
  34. --- 2258,2270 ----
  35.   
  36.   #ifdef VMS
  37.       fname = vms_fixfilename(fname);
  38. + #endif
  39. + #ifdef __CYGWIN__
  40. +     /*
  41. +      * This helps for when "/etc/hosts" is a symlink to "c:/something/hosts".
  42. +      */
  43. +     cygwin_conv_to_posix_path(fname, fname);
  44.   #endif
  45.   
  46.       /* expand it if forced or not an absolute path */
  47. *** ../vim-7.0.227/src/version.c    Thu Apr 26 16:11:47 2007
  48. --- src/version.c    Thu Apr 26 16:27:29 2007
  49. ***************
  50. *** 668,669 ****
  51. --- 668,671 ----
  52.   {   /* Add new patch number below this line */
  53. + /**/
  54. +     228,
  55.   /**/
  56.  
  57. -- 
  58. hundred-and-one symptoms of being an internet addict:
  59. 19. All of your friends have an @ in their names.
  60.  
  61.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  62. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  63. \\\        download, build and distribute -- http://www.A-A-P.org        ///
  64.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  65.