[dovecot-cvs] dovecot/src/lib-storage/index/mbox istream-raw-mbox.c, 1.45, 1.46

tss at dovecot.org tss at dovecot.org
Tue Feb 6 10:40:20 UTC 2007


Update of /var/lib/cvs/dovecot/src/lib-storage/index/mbox
In directory talvi:/tmp/cvs-serv19479/lib-storage/index/mbox

Modified Files:
	istream-raw-mbox.c 
Log Message:
Added istream->blocking setting. It's now used to assert-crash early if a
blocking stream unexpectedly returns "need more data".



Index: istream-raw-mbox.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/mbox/istream-raw-mbox.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- istream-raw-mbox.c	15 Oct 2006 22:47:50 -0000	1.45
+++ istream-raw-mbox.c	6 Feb 2007 10:40:17 -0000	1.46
@@ -367,6 +367,8 @@
 	rstream->istream.sync = _sync;
 	rstream->istream.stat = _stat;
 
+	rstream->istream.istream.blocking = input->blocking;
+	rstream->istream.istream.seekable = input->seekable;
 	return _i_stream_create(&rstream->istream, pool, -1,
 				input->real_stream->abs_start_offset);
 }



More information about the dovecot-cvs mailing list