Ken Takata wrote:

> 2016/4/21 Thu 3:20:48 UTC+9 Bram Moolenaar wrote:
> > Patch 7.4.1759
> > Problem:    When using feedkeys() in a timer the inserted characters are not
> >             used right away.
> > Solution:   Break the wait loop when characters have been added to typebuf.
> >             use this for testing CursorHoldI.
> > Files:      src/gui.c, src/os_win32.c, src/os_unix.c,
> >             src/testdir/test_autocmd.vim
> 
> > --- 5210,5216 ----
> >     /* See above for type of argv. */
> >     execvp(argv[0], argv);
> >   
> > !   // perror("executing job failed");
> >     _exit(EXEC_FAILED);         /* exec failed, return failure code */
> >       }
> 
> C++ style comment is used here.
> Is this intended?

That's an unrelated change, should not have been in this patch.

It's something that I didn't finish investigating: If the external
command can't be executed we get to this perror().  But if stderr was
closed then it causes a crash.  Probably needs a condition that stderr
is working.

-- 
Vim is like Emacs without all the typing.  (John "Johann" Spetz)

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

Raspunde prin e-mail lui