summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorArtyom V. Poptsov <poptsov.artyom@gmail.com>2015-02-22 01:25:21 +0300
committerArtyom V. Poptsov <poptsov.artyom@gmail.com>2015-02-22 01:25:21 +0300
commitb939bb92e820f0fcfc93aae94e17ee3132ec70ab (patch)
tree8f154d320b6a042bbda6f5467ba18ac83776f73f /ChangeLog
parentchannel-type.c (print_channel, _scm_from_channel_data): Cleanup (diff)
downloadguile-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--ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 77d4fc7..1d5d654 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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