On Thu 17-Jul-08 2:12pm -0600, Jan Minář wrote:

> On Thu, Jul 17, 2008 at 7:39 PM, Jan Minář <[EMAIL PROTECTED]> wrote:
>> Today, I have something that isn't a real vulnerability, but I have
>> fixed it anyway.  The vimtutor (vimtutor.bat on Windows, vimtutor.com
>
> Version 2: I have updated the ``gvimtutor'' command as well.  Please
> use this patch instead.
>
> Please find the updated patch attached.

I just patched vimtutor.bat for Windows.  Running
vimtutor.bat on WinXP essentially does:

    SET TUTORCOPY=
    start "dummy" /b /w gvim -u NONE -c "runtime tutor/tutor.vim"
    GOTO end

The first line is strange, since tutor/tutor.vim stores its
result there.

The second line is strange (same as Bram's) because it
flashes Gvim at the user - this should be a Vim batch run.

The third line is simply wrong.  The "GOTO end" means to
branch to an ":end" label - you patch that away.

More important - you never start the tutor file.

-- 
Best regards,
Bill


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui