0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.3.083

Problem:    When a read() or write() is interrupted by a signal it fails.
Solution:   Add read_eintr() and write_eintr().
This commit is contained in:
Bram Moolenaar
2010-12-17 16:27:16 +01:00
parent 45d9d02d71
commit 540fc6fbdb
8 changed files with 76 additions and 23 deletions

View File

@@ -4454,7 +4454,7 @@ mch_call_shell(cmd, options)
++noread_cnt;
while (RealWaitForChar(fromshell_fd, 10L, NULL))
{
len = read(fromshell_fd, (char *)buffer
len = read_eintr(fromshell_fd, buffer
# ifdef FEAT_MBYTE
+ buffer_off, (size_t)(BUFLEN - buffer_off)
# else