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 / old / 5.6.046 < prev    next >
Encoding:
Internet Message Format  |  2000-03-30  |  1.5 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 5.6.046
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. ------------
  6.  
  7. Patch 5.6.046
  8. Problem:    Systems with backslash in file name: With 'shellslash' set, "vim
  9.         */*.c" only uses a slash for the first file name.  (Har'El)
  10. Solution:   Fix slashes in file name arguments after reading the vimrc file.
  11. Files:        src/option.c
  12.  
  13.  
  14. *** ../vim-5.6.45/src/option.c    Fri Mar 31 14:23:12 2000
  15. --- src/option.c    Fri Mar 31 16:15:31 2000
  16. ***************
  17. *** 1902,1907 ****
  18. --- 1902,1920 ----
  19.   #ifdef WANT_TITLE
  20.       set_title_defaults();
  21.   #endif
  22. + #ifdef BACKSLASH_IN_FILENAME
  23. +     /* If 'shellslash' was set in a vimrc file, need to adjust the file name
  24. +      * arguments. */
  25. +     if (p_ssl)
  26. +     {
  27. +     int i;
  28. +     for (i = 0; i < arg_file_count; ++i)
  29. +         if (arg_files[i] != NULL)
  30. +         slash_adjust(arg_files[i]);
  31. +     }
  32. + #endif
  33.   }
  34.   
  35.   #ifdef USE_GUI
  36. *** ../vim-5.6.45/src/version.c    Fri Mar 31 14:23:13 2000
  37. --- src/version.c    Fri Mar 31 16:15:52 2000
  38. ***************
  39. *** 420,421 ****
  40. --- 420,423 ----
  41.   {   /* Add new patch number below this line */
  42. + /**/
  43. +     46,
  44.   /**/
  45.  
  46. -- 
  47.    Arthur pulls Pin out.  The MONK blesses the grenade as ...
  48. ARTHUR:  (quietly) One, two, five ...
  49. GALAHAD: Three, sir!
  50. ARTHUR:  Three.
  51.                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
  52.  
  53. /-/-- Bram Moolenaar --- Bram@moolenaar.net --- http://www.moolenaar.net --\-\
  54. \-\-- Vim: http://www.vim.org ---- ICCF Holland: http://www.vim.org/iccf --/-/
  55.