diff options
| author | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2015-02-22 01:25:21 +0300 |
|---|---|---|
| committer | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2015-02-22 01:25:21 +0300 |
| commit | b939bb92e820f0fcfc93aae94e17ee3132ec70ab (patch) | |
| tree | 8f154d320b6a042bbda6f5467ba18ac83776f73f /ChangeLog | |
| parent | channel-type.c (print_channel, _scm_from_channel_data): Cleanup (diff) | |
| download | guile-ssh-b939bb92e820f0fcfc93aae94e17ee3132ec70ab.tar.gz | |
ssh/channel-type.c (ptob_fill_input): Fix a bug
`ssh_channel_read' sometimes returns 0 even if `ssh_channel_poll'
returns a positive value. So we must ensure that res != 0 otherwise
an assertion in `scm_i_fill_input' won't be meet (see `ports.c' in
Guile 2.0.9).
* ssh/channel-type.c (ptob_fill_input): Return EOF if
`ssh_channel_read' returns 0.
* NEWS: Update.
Diffstat (limited to 'ChangeLog')
| -rw-r--r-- | ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,14 @@ +2015-02-22 Artyom Poptsov <poptsov.artyom@gmail.com> + + `ssh_channel_read' sometimes returns 0 even if `ssh_channel_poll' + returns a positive value. So we must ensure that res != 0 otherwise + an assertion in `scm_i_fill_input' won't be meet (see `ports.c' in + Guile 2.0.9). + + * ssh/channel-type.c (ptob_fill_input): Return EOF if + `ssh_channel_read' returns 0. + * NEWS: Update. + 2015-02-12 Artyom Poptsov <poptsov.artyom@gmail.com> * ssh/channel-type.c (print_channel, _scm_from_channel_data): Remove |
