Updated copyright notices to include the year 2018.
Updated copyright notices to include the year 2017.
lib: Fix str_truncate() when string size is already smaller. Previous behavior either added extra NULs to the string or assert-crashed.
lib: Added more unit tests to str_*()
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/'
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>
liblib: Fixed crash using str_c() in different stack frame with str_new(0) allocated string.
Copyright updated to 2014 in two more places
buffer: Always keep +1 byte available for str_c()'s NUL.