home *** CD-ROM | disk | FTP | other *** search
- To: vim-dev@vim.org
- Subject: Patch 5.6.046
- Fcc: outbox
- From: Bram Moolenaar <Bram@moolenaar.net>
- ------------
-
- Patch 5.6.046
- Problem: Systems with backslash in file name: With 'shellslash' set, "vim
- */*.c" only uses a slash for the first file name. (Har'El)
- Solution: Fix slashes in file name arguments after reading the vimrc file.
- Files: src/option.c
-
-
- *** ../vim-5.6.45/src/option.c Fri Mar 31 14:23:12 2000
- --- src/option.c Fri Mar 31 16:15:31 2000
- ***************
- *** 1902,1907 ****
- --- 1902,1920 ----
- #ifdef WANT_TITLE
- set_title_defaults();
- #endif
- +
- + #ifdef BACKSLASH_IN_FILENAME
- + /* If 'shellslash' was set in a vimrc file, need to adjust the file name
- + * arguments. */
- + if (p_ssl)
- + {
- + int i;
- +
- + for (i = 0; i < arg_file_count; ++i)
- + if (arg_files[i] != NULL)
- + slash_adjust(arg_files[i]);
- + }
- + #endif
- }
-
- #ifdef USE_GUI
- *** ../vim-5.6.45/src/version.c Fri Mar 31 14:23:13 2000
- --- src/version.c Fri Mar 31 16:15:52 2000
- ***************
- *** 420,421 ****
- --- 420,423 ----
- { /* Add new patch number below this line */
- + /**/
- + 46,
- /**/
-
- --
- Arthur pulls Pin out. The MONK blesses the grenade as ...
- ARTHUR: (quietly) One, two, five ...
- GALAHAD: Three, sir!
- ARTHUR: Three.
- "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
-
- /-/-- Bram Moolenaar --- Bram@moolenaar.net --- http://www.moolenaar.net --\-\
- \-\-- Vim: http://www.vim.org ---- ICCF Holland: http://www.vim.org/iccf --/-/
-