diff options
-rw-r--r-- | NEWS | 6 | ||||
-rw-r--r-- | driver.c | 6 | ||||
-rw-r--r-- | fetchmail.c | 4 | ||||
-rw-r--r-- | report.c | 16 |
4 files changed, 25 insertions, 7 deletions
@@ -11,6 +11,12 @@ Release Notes: ------------------------------------------------------------------------------ +fetchmail-4.3.1 () +* Minor portation fixes for early AIX version and NextSTEP. + +There are 280 people on fetchmail-friends and 8 on fetchmail-announce. + +------------------------------------------------------------------------------ fetchmail-4.3.0 (Mon Oct 6 16:44:38 EDT 1997) * Rearranged IMAP authentication so CAPABILITY is done first, * FAQ update, including a major new item on how to protect your password. @@ -27,6 +27,10 @@ #endif #if defined(HAVE_ALLOCA_H) #include <alloca.h> +#else +#ifdef _AIX + #pragma alloca +#endif #endif #if defined(HAVE_SYS_ITIMER_H) #include <sys/itimer.h> @@ -870,7 +874,7 @@ int num; /* index of message */ desthost = "localhost"; length = strlen(ctl->mda) + 1; - before = strdup(ctl->mda); + before = xstrdup(ctl->mda); /* sub user addresses for %T (or %s for backward compatibility) */ cp = (char *)NULL; diff --git a/fetchmail.c b/fetchmail.c index 4c4fdd5f..73a1cb3f 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -16,6 +16,10 @@ #endif #if defined(HAVE_ALLOCA_H) #include <alloca.h> +#else +#ifdef _AIX + #pragma alloca +#endif #endif #include <string.h> #include <signal.h> @@ -33,10 +33,14 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #endif #if defined(HAVE_ALLOCA_H) #include <alloca.h> +#else +#ifdef _AIX + #pragma alloca +#endif #endif -#if HAVE_VPRINTF || HAVE_DOPRNT || _LIBC -# if __STDC__ +#if HAVE_VPRINTF || HAVE_DOPRNT || _LIBC || HAVE_STDARG_H +# if HAVE_STDARG_H # include <stdarg.h> # define VA_START(args, lastarg) va_start(args, lastarg) # else @@ -118,7 +122,7 @@ private_strerror (errnum) /* VARARGS */ void -#if defined(VA_START) && __STDC__ +#ifdef HAVE_STDARG_H error (int status, int errnum, const char *message, ...) #else error (status, errnum, message, va_alist) @@ -263,7 +267,7 @@ int foreground; /* VARARGS */ void -#if defined(VA_START) && __STDC__ +#ifdef HAVE_STDARG_H error_build (const char *message, ...) #else error_build (message, va_alist) @@ -363,7 +367,7 @@ error_build (message, va_alist) /* VARARGS */ void -#if defined(VA_START) && __STDC__ +#ifdef HAVE_STDARG_H error_complete (int status, int errnum, const char *message, ...) #else error_complete (status, errnum, message, va_alist) @@ -478,7 +482,7 @@ error_complete (status, errnum, message, va_alist) int error_one_per_line; void -#if defined(VA_START) && __STDC__ +#ifdef HAVE_STDARG_H error_at_line (int status, int errnum, const char *file_name, unsigned int line_number, const char *message, ...) #else |