Updated copyright notices to include the year 2018.
lib: istream-failure-at: Allow setting the the stream_errno to something other than EIO.
Updated copyright notices to include the year 2017.
global: freshen copyright git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-5]/$1-2016/g;s/ (201[0-5]) Dovecot/ $1-2016 Dovecot/'
lib: make test-istream-failure-at not leak memory This permits Valgrind to run without complaint. Signed-off-by: Phil Carmody <phil@dovecot.fi>
lib: Added i_stream_create_failure_at() to inject EIO at given offset in istream.