Nikolay Pavlov wrote:

> On Jul 3, 2013 11:19 PM, "Bram Moolenaar" <[email protected]> wrote:
> >
> >
> > Patch 7.3.1301
> > Problem:    Some tests fail on MS-Windows.
> > Solution:   Fix path separators in test 89 and 96.  Omit test 97, escaping
> >             works differently.  Make findfile() work on MS-Windows.
> > Files:      src/testdir/Make_dos.mak, src/testdir/Make_ming.mak,
> >             src/testdir/Make_os2.mak, src/testdir/test89.in,
> >             src/testdir/test96.in, src/misc2.c
> 
> Not escaping $ on windows is a bug I reported far earlier. This symbol is a
> completely valid filename character and not escaping it breaks the purpose
> of fnameescape(). Assuming fnameescape() is fixed I would also expect
> glob() accept escaped $ thus disabling the test is invalid.

It's the other way around: On MS-Windows you can do:

        :e foo\$bar

That is editing the file "$bar" in directory "foo".  On Unix this has a
different meaning, editing file "foo$bar", thus not using $bar as an
environment variable. That's why test 97 won't work on MS-Windows.

-- 
TIM:    Too late.
ARTHUR: What?
TIM:    There he is!
   [They all turn, and see a large white RABBIT lollop a few yards out of the
   cave.  Accompanied by terrifying chord and jarring metallic monster noise.]
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui