Patch 8.0.0512
Problem: Check for available characters takes too long.
Solution: Only check did_start_blocking if wtime is negative. (Daisuke
Suzuki, closes #1591)
Files: src/os_unix.c
*** ../vim-8.0.0511/src/os_unix.c 2017-03-12 20:09:59.484468262 +0100
--- src/os_unix.c 2017-03-25 20:08:32.223982419 +0100
***************
*** 511,517 ****
|| interrupted
#endif
|| wait_time > 0
! || !did_start_blocking)
continue;
/* no character available or interrupted */
--- 511,517 ----
|| interrupted
#endif
|| wait_time > 0
! || (wtime < 0 && !did_start_blocking))
continue;
/* no character available or interrupted */
*** ../vim-8.0.0511/src/version.c 2017-03-25 20:14:28.053457561 +0100
--- src/version.c 2017-03-25 20:15:01.265222708 +0100
***************
*** 766,767 ****
--- 766,769 ----
{ /* Add new patch number below this line */
+ /**/
+ 512,
/**/
--
msdn.microsoft.com:
ERROR_SUCCESS 0 (0x0) The operation completed successfully.
I have always suspected that for Microsoft success is an error.
/// 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.