Updated copyright notices to include the year 2018.
Updated copyright notices to include the year 2017.
lib: remove autoclose parameter from [io]_stream_create_fd Use [io]_stream_create_fd_autoclose() for autoclose.
lib: Fixed file_copy() after recent changes.
o_stream_send_istream() API changed again The new API enforces the caller to correctly handle all the possible situations. It also makes in unambiguous whether to wait for input or output stream.
global: Simplify code with the new o_stream_send_istream() API
global: Don't assume o_stream_send_istream() return bytes sent. This won't be true soon after its API changes.
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/'
Replaced unlink() calls with i_unlink*() wherever possible.
global: freshen copyright Robomatically: git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-4]/$1-2015/g;s/ (201[0-4]) Dovecot/ $1-2015 Dovecot/' Happy 2015 everyone! Signed-off-by: Phil Carmody <phil@dovecot.fi>
Updated copyright notices to include year 2014.
Oops :) Update copyrights to 2013 without breaking all .c files.
Updated copyright notices to include year 2013.
Changed i_close_fd() API to set the fd to -1 after closing.
Replaced (void)close(fd) and close_keep_errno() with i_close_fd(). i_close_fd() preserves the errno and logs an error if the close() fails.
Updated copyright notices to include year 2012.
istream: Don't treat max_block_size=0 as unlimited.
Updated copyright notices to include year 2011.
Updated copyright notices to include year 2010. --HG-- branch : HEAD
Updated copyright notices to include year 2009. --HG-- branch : HEAD
Renamed T_FRAME_BEGIN/END to T_BEGIN/END. Removed T_FRAME() macro and replaced them with T_BEGIN/END calls. T_FRAME() made it difficult to debug code with gdb. --HG-- branch : HEAD
Updated copyright notices to include year 2008. --HG-- branch : HEAD
Replaced t_push/t_pop calls with T_FRAME*() macros. --HG-- branch : HEAD
If o_stream_send_istream() fails, log an error. --HG-- branch : HEAD
Log an error if fchown() fails, but not because of EPERM. --HG-- branch : HEAD
Replaced my Copyright notices. The year range always ends with 2007 now. My name was replaced with "Dovecot authors". In many cases I didn't really even own the copyright, so this is more correct. --HG-- branch : HEAD
Renamed i_stream_create_file() to i_stream_create_fd(). --HG-- branch : HEAD
Split o_stream_create_file() to _create_fd() and _create_fd_file(). --HG-- branch : HEAD
Removed memory pool parameter from iostreams. Default pool was almost always used, and the stream usually required destroying anyway so it didn't even make freeing memory easier. --HG-- branch : HEAD
Try to preserve file's mode and group when copying it. --HG-- branch : HEAD
If destination file already existed, we didn't overwrite it with link() copying. --HG-- branch : HEAD
Added file_copy(). --HG-- branch : HEAD