Mercurial > vim
comparison src/proto/channel.pro @ 9003:072556995a8e v7.4.1787
commit https://github.com/vim/vim/commit/b2658a1ab02cd0ba848164f70c7c464fdc398162
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Apr 26 17:16:24 2016 +0200
patch 7.4.1787
Problem: When a job ends the close callback is invoked before other
callbacks. On Windows the close callback is not called.
Solution: First invoke out/err callbacks before the close callback.
Make the close callback work on Windows.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 26 Apr 2016 17:30:05 +0200 |
parents | e1b84109506a |
children | d5c6f1c5cd28 |
comparison
equal
deleted
inserted
replaced
9002:67438eefdbac | 9003:072556995a8e |
---|---|
24 void channel_info(channel_T *channel, dict_T *dict); | 24 void channel_info(channel_T *channel, dict_T *dict); |
25 void channel_close(channel_T *channel, int invoke_close_cb); | 25 void channel_close(channel_T *channel, int invoke_close_cb); |
26 char_u *channel_peek(channel_T *channel, int part); | 26 char_u *channel_peek(channel_T *channel, int part); |
27 void channel_clear(channel_T *channel); | 27 void channel_clear(channel_T *channel); |
28 void channel_free_all(void); | 28 void channel_free_all(void); |
29 void channel_read(channel_T *channel, int part, char *func); | |
30 char_u *channel_read_block(channel_T *channel, int part, int timeout); | 29 char_u *channel_read_block(channel_T *channel, int part, int timeout); |
31 int channel_read_json_block(channel_T *channel, int part, int timeout_arg, int id, typval_T **rettv); | 30 int channel_read_json_block(channel_T *channel, int part, int timeout_arg, int id, typval_T **rettv); |
32 void common_channel_read(typval_T *argvars, typval_T *rettv, int raw); | 31 void common_channel_read(typval_T *argvars, typval_T *rettv, int raw); |
33 channel_T *channel_fd2channel(sock_T fd, int *partp); | 32 channel_T *channel_fd2channel(sock_T fd, int *partp); |
34 void channel_handle_events(void); | 33 void channel_handle_events(void); |