Hi John,

2018/8/19 Sun 8:26:52 UTC+9 John Marriott wrote:
> On 19-Aug.-2018 06:38, John Marriott wrote:
> >
> > On 19-Aug.-2018 04:20, Bram Moolenaar wrote:
> >> Patch 8.1.0294
> >> Problem:    MS-Windows: sometimes uses short directory name.
> >> Solution:   Expand to long file name with correct caps. (Nobuhiro 
> >> Takasaki,
> >>              closes #3334)
> >> Files:        src/os_win32.c
> >>
> >>
> > After this patch, starting Vim or gVim with one or more files as 
> > arguments causes it to crash on Windows (8.1 x64 compiled using 
> > mingw64 gcc version 8.2). Windows just says that the program has 
> > stopped working.
> >
> > FEAT_MBYTE is defined.
> >
> > Unfortunately, I haven't been able to work out exactly what the 
> > problem is.
> >
> > Cheers
> > John
> >
> After a little investigation, I am wondering if the line (# 3150):
> 
> vim_strncpy(abuf, buf, len - 1);
> 
> should be:
> 
> vim_strncpy(buf, abuf, len - 1);

Agree. You are right.

Regards,
Ken Takata

-- 
-- 
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/d/optout.

Raspunde prin e-mail lui