dovecot-2.2: Various passthrough istreams didn't preserve readab...
dovecot at dovecot.org
dovecot at dovecot.org
Mon Sep 7 19:42:38 UTC 2015
details: http://hg.dovecot.org/dovecot-2.2/rev/bb80b907a116
changeset: 19115:bb80b907a116
user: Timo Sirainen <tss at iki.fi>
date: Mon Sep 07 22:35:30 2015 +0300
description:
Various passthrough istreams didn't preserve readable_fd.
diffstat:
src/lib-storage/index/istream-mail.c | 1 +
src/lib/istream-failure-at.c | 1 +
src/lib/istream-hash.c | 1 +
src/lib/istream-timeout.c | 1 +
4 files changed, 4 insertions(+), 0 deletions(-)
diffs (44 lines):
diff -r c6554cb1961d -r bb80b907a116 src/lib-storage/index/istream-mail.c
--- a/src/lib-storage/index/istream-mail.c Thu Jul 16 14:41:24 2015 +0200
+++ b/src/lib-storage/index/istream-mail.c Mon Sep 07 22:35:30 2015 +0300
@@ -146,6 +146,7 @@
mstream->istream.read = i_stream_mail_read;
+ mstream->istream.istream.readable_fd = input->readable_fd;
mstream->istream.istream.blocking = input->blocking;
mstream->istream.istream.seekable = input->seekable;
return i_stream_create(&mstream->istream, input,
diff -r c6554cb1961d -r bb80b907a116 src/lib/istream-failure-at.c
--- a/src/lib/istream-failure-at.c Thu Jul 16 14:41:24 2015 +0200
+++ b/src/lib/istream-failure-at.c Mon Sep 07 22:35:30 2015 +0300
@@ -72,6 +72,7 @@
fstream->istream.read = i_stream_failure_at_read;
fstream->istream.iostream.destroy = i_stream_failure_at_destroy;
+ fstream->istream.istream.readable_fd = input->readable_fd;
fstream->istream.istream.blocking = input->blocking;
fstream->istream.istream.seekable = input->seekable;
diff -r c6554cb1961d -r bb80b907a116 src/lib/istream-hash.c
--- a/src/lib/istream-hash.c Thu Jul 16 14:41:24 2015 +0200
+++ b/src/lib/istream-hash.c Mon Sep 07 22:35:30 2015 +0300
@@ -74,6 +74,7 @@
hstream->istream.read = i_stream_hash_read;
hstream->istream.seek = i_stream_hash_seek;
+ hstream->istream.istream.readable_fd = input->readable_fd;
hstream->istream.istream.blocking = input->blocking;
hstream->istream.istream.seekable = input->seekable;
diff -r c6554cb1961d -r bb80b907a116 src/lib/istream-timeout.c
--- a/src/lib/istream-timeout.c Thu Jul 16 14:41:24 2015 +0200
+++ b/src/lib/istream-timeout.c Mon Sep 07 22:35:30 2015 +0300
@@ -135,6 +135,7 @@
tstream->istream.switch_ioloop = i_stream_timeout_switch_ioloop;
tstream->istream.iostream.close = i_stream_timeout_close;
+ tstream->istream.istream.readable_fd = input->readable_fd;
tstream->istream.istream.blocking = input->blocking;
tstream->istream.istream.seekable = input->seekable;
return i_stream_create(&tstream->istream, input,
More information about the dovecot-cvs
mailing list