log src/lib/compat.h @ 22664:fea53c2725c0

age author description
Fri, 07 Apr 2017 09:14:27 +0300 Timo Sirainen lib: Redefine NULL only if HAVE_TYPE_CHECKS is set
Fri, 07 Apr 2017 09:11:53 +0300 Timo Sirainen lib: Add a common HAVE_TYPE_CHECKS
Mon, 06 Feb 2017 10:55:40 +0200 Timo Sirainen lib: Make sure NULL is defined to be ((void *)0)
Sat, 29 Aug 2015 14:42:49 +0300 Stephan Bosch Removed all invocations of strtoll() and friends.
Thu, 28 Aug 2014 23:52:46 +0900 Timo Sirainen Added UNLINK_EISDIR() helper macro.
Fri, 15 Aug 2014 14:41:03 +0300 Timo Sirainen Handle "out of disk space" and "out of user quota" as separate cases.
Sun, 22 Sep 2013 02:23:30 +0300 Timo Sirainen If EOVERFLOW errno isn't defined by system, fallback to ERANGE instead of EINVAL.
Fri, 28 Sep 2012 15:12:28 +0300 Timo Sirainen Compiling fix for HURD
Tue, 13 Mar 2012 16:32:56 +0200 Timo Sirainen lib-storage: Don't log errors if trying to open a mailbox with too long name.
Wed, 11 May 2011 16:58:07 +0300 Timo Sirainen Compile fix for HP-UX
Fri, 08 Apr 2011 19:50:31 +0300 Timo Sirainen Linux NFS: fstat() may return ENOENT instead of ESTALE in some kernel versions.
Fri, 14 May 2010 10:40:24 +0200 Timo Sirainen Use IO_BLOCK_SIZE macro to specify how large read/write syscalls to use. HEAD
Mon, 25 Jan 2010 01:02:27 +0200 Timo Sirainen Removed my_strptime(). HEAD
Fri, 20 Nov 2009 15:27:07 -0500 Timo Sirainen OS X: Fixed compiler warning about missing fdatasync() prototypes. HEAD
Thu, 19 Nov 2009 17:21:03 -0500 Timo Sirainen Added a wrapper for strptime() to work around issues with glibc. HEAD
Thu, 08 Oct 2009 20:09:20 -0400 Timo Sirainen compat: Renamed all my_*() fallback functions to i_my_*(). HEAD
Thu, 07 Aug 2008 15:05:40 -0400 Timo Sirainen Added clock_gettime() compatibility function for systems without it. HEAD
Fri, 13 Jun 2008 00:28:18 +0300 Timo Sirainen Support systems with non-C99 vsnprintf(). HEAD
Thu, 12 Jun 2008 23:31:51 +0300 Timo Sirainen Added more fallbacks if strtoll() or strtoull() isn't implemented HEAD
Thu, 12 Jun 2008 00:01:21 +0300 Timo Sirainen HP-UX: pread() and pwrite() are broken, use our own implementation. HEAD
Fri, 30 May 2008 12:00:29 +0300 Timo Sirainen Previous fix broke CMP_ST_CTIME() nsec checks. HEAD
Fri, 30 May 2008 11:58:56 +0300 Timo Sirainen Fixed compiling in BSD systems. HEAD
Sat, 17 May 2008 01:00:22 +0300 Timo Sirainen Replaced HAVE_ST_NSEC macro checks with more generic ST_?TIME_NSEC() macros HEAD
Sun, 16 Sep 2007 11:31:27 +0300 Timo Sirainen Changed .h ifdef/defines to use <NAME>_H format. HEAD
Wed, 20 Jun 2007 01:07:30 +0300 Timo Sirainen Added CMP_ST_MTIME() and CMP_ST_CTIME() macros that compare also nanoseconds HEAD
Sat, 16 Dec 2006 01:08:42 +0200 Timo Sirainen Added EDESTDIREXISTS() macro, and changed rename() calls to use it. HEAD
Sat, 17 Jun 2006 18:56:59 +0300 Timo Sirainen Handle EMLINK and EPERM errors the same way as EXDEV when handling hardlink HEAD
Sun, 22 Jan 2006 18:10:52 +0200 Timo Sirainen Include sys/mkdev.h with UnixWare for major() and minor() HEAD
Sun, 22 Jan 2006 17:53:48 +0200 Timo Sirainen If uoff_t type already exists, use it (UnixWare has it). HEAD
Fri, 13 Jan 2006 22:25:57 +0200 Timo Sirainen Added "bool" type and changed all ints that were used as booleans to bool. HEAD
Thu, 20 Oct 2005 12:27:47 +0300 Timo Sirainen #ifdef TRU64 -> __osf__ HEAD
Thu, 20 Oct 2005 12:15:57 +0300 Timo Sirainen Include inttypes.h with Tru64 to get uint32_t etc. types defined. HEAD
Tue, 27 Sep 2005 22:49:59 +0300 Timo Sirainen Use IOV_MAX instead of UIO_MAXIOV when available. HEAD
Sun, 27 Mar 2005 17:42:20 +0300 Timo Sirainen Added setegid() emulation for HP-UX. HEAD
Mon, 20 Dec 2004 06:39:47 +0200 Timo Sirainen If strtoull() isn't supported, fallback to strtouq(). If that's not found HEAD
Mon, 08 Nov 2004 04:45:59 +0200 Timo Sirainen Check for libgen.h and if it's not found, use my_basename(). Also HEAD
Fri, 08 Oct 2004 16:33:03 +0300 Timo Sirainen Add seteuid() wrapper for HP-UX HEAD
Tue, 27 Apr 2004 23:25:52 +0300 Timo Sirainen importing new index code. mbox still broken. HEAD
Wed, 29 Oct 2003 16:19:28 +0200 Timo Sirainen more kludgeing to get pread/pwrite working HEAD
Wed, 29 Oct 2003 15:50:36 +0200 Timo Sirainen pread/pwrite fixes HEAD
Fri, 03 Oct 2003 17:50:48 +0300 Timo Sirainen If we don't have function foo, do it always as #define foo my_foo and create HEAD
Wed, 06 Aug 2003 22:46:51 +0300 Timo Sirainen Added pwrite() compatibility HEAD
Sun, 18 May 2003 19:02:46 +0300 Timo Sirainen More robust error handling for mbox. HEAD
Sun, 30 Mar 2003 15:48:36 +0300 Timo Sirainen Handle EDQUOT errno as "not enough disk space" like ENOSPC. HEAD
Mon, 06 Jan 2003 13:15:26 +0200 Timo Sirainen Use separate check for uint_fast32_t. HEAD
Sun, 05 Jan 2003 15:09:51 +0200 Timo Sirainen Naming style changes, finally got tired of most of the typedefs. Also the HEAD
Wed, 18 Dec 2002 17:15:41 +0200 Timo Sirainen Marked all non-trivial buffer modifications with @UNSAFE tag. Several HEAD
Tue, 26 Nov 2002 22:22:09 +0200 Timo Sirainen writev()'s 3rd parameter is declared as "int" pretty much everywhere, so we HEAD
Tue, 26 Nov 2002 21:30:34 +0200 Timo Sirainen Reverted back the isdigit()/etc. They're defined to get int argument, so we HEAD
Tue, 26 Nov 2002 21:09:00 +0200 Timo Sirainen Cast chars to (unsigned int) instead of (int) in i_isdigit() etc. macros. HEAD
Tue, 26 Nov 2002 21:03:49 +0200 Timo Sirainen And the missing sys/sysmacros.h include.. HEAD
Tue, 26 Nov 2002 21:01:24 +0200 Timo Sirainen Added CMP_DEV_T macro which uses major()/minor() if possible but fallbacks HEAD
Tue, 26 Nov 2002 15:07:53 +0200 Timo Sirainen Renamed largest_t to uintmax_t which already exists in C99. HEAD
Mon, 04 Nov 2002 07:20:42 +0200 Timo Sirainen EOVERFLOW doesn't exist everywhere, fallback it to EINVAL. HEAD
Thu, 24 Oct 2002 03:34:20 +0300 Timo Sirainen Check fdatasync() from -lrt if it's not in libc (solaris). Also fallback to HEAD
Mon, 14 Oct 2002 02:49:11 +0300 Timo Sirainen Split IOBuffer into mmaped IBuffer, file IBuffer, memory data IBuffer and HEAD
Mon, 09 Sep 2002 16:32:00 +0300 Timo Sirainen cast i_toupper() and i_tolower() return as char, so comparing highascii HEAD
Sun, 08 Sep 2002 14:36:03 +0300 Timo Sirainen added dec2str() function and largest_t type, removed itoa() and ltoa() HEAD
Wed, 28 Aug 2002 02:39:53 +0300 Timo Sirainen 64bit off_t fixes HEAD
Thu, 22 Aug 2002 01:10:20 +0300 Timo Sirainen Message data is parsed in blocks (no longer entirely mmap()ed). Several HEAD