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.1 / 7.1.328 < prev    next >
Encoding:
Internet Message Format  |  2008-06-20  |  1.8 KB

  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.   #ifdef VMS
  29.       fname = vms_fixfilename(fname);
  30. ***************
  31. *** 2287,2293 ****
  32.       /*
  33.        * This helps for when "/etc/hosts" is a symlink to "c:/something/hosts".
  34.        */
  35. !     cygwin_conv_to_posix_path(fname, fname);
  36.   #endif
  37.   
  38.       /* expand it if forced or not an absolute path */
  39. --- 2291,2298 ----
  40.       /*
  41.        * This helps for when "/etc/hosts" is a symlink to "c:/something/hosts".
  42.        */
  43. !     cygwin_conv_to_posix_path(fname, posix_fname);
  44. !     fname = posix_fname;
  45.   #endif
  46.   
  47.       /* expand it if forced or not an absolute path */
  48. *** ../vim-7.1.327/src/version.c    Fri Jun 20 21:29:01 2008
  49. --- src/version.c    Sat Jun 21 13:10:39 2008
  50. ***************
  51. *** 668,669 ****
  52. --- 673,676 ----
  53.   {   /* Add new patch number below this line */
  54. + /**/
  55. +     328,
  56.   /**/
  57.  
  58. -- 
  59. Q: Should I clean my house or work on Vim?
  60. A: Whatever contains more bugs.
  61.  
  62.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  63. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  64. \\\        download, build and distribute -- http://www.A-A-P.org        ///
  65.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  66.