summaryrefslogtreecommitdiffstats
path: root/contrib/sendmail/libsm
diff options
context:
space:
mode:
authorgshapiro <gshapiro@FreeBSD.org>2003-03-29 19:12:53 +0000
committergshapiro <gshapiro@FreeBSD.org>2003-03-29 19:12:53 +0000
commit3c5a1e863a66866807948f160122c79d2dd388f5 (patch)
tree386651c7612a011fa164c3c96d8196d02de68386 /contrib/sendmail/libsm
parent8b739caa56202c57ac3a53e04d5b561d17b20b6c (diff)
downloadFreeBSD-src-3c5a1e863a66866807948f160122c79d2dd388f5.zip
FreeBSD-src-3c5a1e863a66866807948f160122c79d2dd388f5.tar.gz
Import sendmail 8.12.9
Diffstat (limited to 'contrib/sendmail/libsm')
-rw-r--r--contrib/sendmail/libsm/clock.c6
-rw-r--r--contrib/sendmail/libsm/config.c7
2 files changed, 8 insertions, 5 deletions
diff --git a/contrib/sendmail/libsm/clock.c b/contrib/sendmail/libsm/clock.c
index 4a8bf38..970bb1f 100644
--- a/contrib/sendmail/libsm/clock.c
+++ b/contrib/sendmail/libsm/clock.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998-2002 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 1998-2003 Sendmail, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved.
* Copyright (c) 1988, 1993
@@ -12,7 +12,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: clock.c,v 1.35.2.2 2002/06/27 23:24:20 gshapiro Exp $")
+SM_RCSID("@(#)$Id: clock.c,v 1.35.2.3 2003/03/03 19:57:40 ca Exp $")
#include <unistd.h>
#include <time.h>
#include <errno.h>
@@ -167,7 +167,7 @@ sm_sigsafe_seteventm(intvl, func, arg)
(void) setitimer(ITIMER_REAL, &itime, NULL);
# else /* SM_CONF_SETITIMER */
intvl = SmEventQueue->ev_time - now;
- (void) alarm((unsigned) intvl < 1 ? 1 : intvl);
+ (void) alarm((unsigned) (intvl < 1 ? 1 : intvl));
# endif /* SM_CONF_SETITIMER */
if (wasblocked == 0)
(void) sm_releasesignal(SIGALRM);
diff --git a/contrib/sendmail/libsm/config.c b/contrib/sendmail/libsm/config.c
index 53cbe3d..ea6aeb9 100644
--- a/contrib/sendmail/libsm/config.c
+++ b/contrib/sendmail/libsm/config.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2003 Sendmail, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -9,7 +9,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: config.c,v 1.27 2002/01/23 17:30:48 gshapiro Exp $")
+SM_RCSID("@(#)$Id: config.c,v 1.27.2.1 2003/03/06 02:16:24 ca Exp $")
#include <stdlib.h>
#include <sm/heap.h>
@@ -197,6 +197,9 @@ char *SmCompileOptions[] =
#if SM_CONF_SETITIMER
"SM_CONF_SETITIMER",
#endif /* SM_CONF_SETITIMER */
+#if SM_CONF_SIGSETJMP
+ "SM_CONF_SIGSETJMP",
+#endif /* SM_CONF_SIGSETJMP */
#if SM_CONF_SHM
"SM_CONF_SHM",
#endif /* SM_CONF_SHM */
OpenPOWER on IntegriCloud