log src/lib/compat.h @ 8076:bbfbc84f795c HEAD

age author description
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
Fri, 09 Aug 2002 12:15:38 +0300 Timo Sirainen Initial revision HEAD