Updated copyright notices to include the year 2018.
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/'
Remove now-unnecessary direct stdlib.h #includes.
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.
hostpid_init() should die if hostname is invalid. This was accidentally changes during last commit.
my_hostname was broken because of recent change.
Master looks up system hostdomain now and sends it to child processes via environment. This avoids doing a gethostbyname() lookup at startup for each process that needs it.
Free my_hostdomain at deinit.
Oops :) Update copyrights to 2013 without breaking all .c files.
Updated copyright notices to include year 2013.
hostpid_init(): Don't allow gethostname() to fail. Be more strict about what chars it can contain.
hostpid_init(): Don't waste memory from data stack. Even though it's only a few bytes, it was being wasted permanently for all processes.
Make sure we check all the functions' return values. Minor API changes to simplify this. Checked using a patched clang that adds attribute(warn_unused_result) to all functions. This commit fixes several error handling mistakes.
Updated copyright notices to include year 2012.
Updated copyright notices to include year 2011.
Die if system hostname contains '/' character. --HG-- branch : HEAD
Updated copyright notices to include year 2010. --HG-- branch : HEAD
Added my_hostdomain() function which mbox code now uses instead of doing that internally. Based on patch by Apple. --HG-- branch : HEAD
Updated copyright notices to include year 2009. --HG-- branch : HEAD
hostpid_init(): If called again, update the hostname/pid. --HG-- branch : HEAD
Updated copyright notices to include year 2008. --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 strocpy() to i_strocpy(). --HG-- branch : HEAD
Removed most of the license comments from src/lib/*.c. It's just fine to keep them in a single COPYING.MIT file. Changed a few other comments as well. --HG-- branch : HEAD
Buffer related cleanups. Use PATH_MAX instead of hardcoded 1024 for paths. Added str_path() and str_ppath() functions. i_snprintf() now returns only -1 or 0 depending on if buffer got full. dec2str() returns the string allocated from data stack. Instead of just casting to (long) or (int), we now use dec2str() with printf-like functions. Added o_stream_send_str(). Added strocpy() and replaced all strcpy()s and strncpy()s with it. Pretty much untested, hope it doesn't break too badly :) --HG-- branch : HEAD
Renamed largest_t to uintmax_t which already exists in C99. --HG-- branch : HEAD
added dec2str() function and largest_t type, removed itoa() and ltoa() macros and did some other cleanups. --HG-- branch : HEAD
Initial revision --HG-- branch : HEAD