On Oct 23, 6:41 pm, Bram Moolenaar <[email protected]> wrote:
> [repost, somehow it didn't show up yet]
>
> Patch 7.3.034
> Problem:    Win32: may be loading .dll from the wrong directory.
> Solution:   Go to the Vim executable directory when opening a library.
> Files:      src/gui_w32.c, src/if_lua.c, src/if_mzsch.c, src/if_perl.xs,
>             src/if_python.c, src/if_python3.c, src/if_ruby.c, src/mbyte.c,
>             src/os_mswin.c, src/os_win32.c, src/proto/os_win32.pro

> !           if (STRLEN(p) + STRLEN(exe_path) + 2 < MAXPATHL);

The stray semicolon at the end causes the following block to be
executed always resulting in a crash when $PATH is bigger than
MAXPATHL. Further exe_path would not be appended to $PATH if the
resultant path is quite long (possible with apps clobbering the PATH
variable); this was not the case before; is this a desired change or
just accidental?

-- 
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

Raspunde prin e-mail lui