From c3bb716979d671c1564070806c33ea3f0d66f698 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 8 Oct 1997 16:17:20 +0000 Subject: Port fixes. svn path=/trunk/; revision=1489 --- driver.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'driver.c') diff --git a/driver.c b/driver.c index 8eb7494f..c8b76d08 100644 --- a/driver.c +++ b/driver.c @@ -27,6 +27,10 @@ #endif #if defined(HAVE_ALLOCA_H) #include +#else +#ifdef _AIX + #pragma alloca +#endif #endif #if defined(HAVE_SYS_ITIMER_H) #include @@ -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; -- cgit v1.2.3