summaryrefslogtreecommitdiff
path: root/libsm
diff options
context:
space:
mode:
Diffstat (limited to 'libsm')
-rwxr-xr-xlibsm/Build6
-rw-r--r--libsm/Makefile.m45
-rw-r--r--libsm/README4
-rw-r--r--libsm/assert.c4
-rw-r--r--libsm/b-strcmp.c4
-rw-r--r--libsm/b-strl.c4
-rw-r--r--libsm/cf.c4
-rw-r--r--libsm/clock.c4
-rw-r--r--libsm/clrerr.c4
-rw-r--r--libsm/config.c4
-rw-r--r--libsm/debug.c4
-rw-r--r--libsm/errstring.c4
-rw-r--r--libsm/exc.c4
-rw-r--r--libsm/fclose.c4
-rw-r--r--libsm/feof.c4
-rw-r--r--libsm/ferror.c4
-rw-r--r--libsm/fflush.c4
-rw-r--r--libsm/fget.c4
-rw-r--r--libsm/findfp.c4
-rw-r--r--libsm/flags.c4
-rw-r--r--libsm/fopen.c4
-rw-r--r--libsm/fpos.c4
-rw-r--r--libsm/fprintf.c4
-rw-r--r--libsm/fpurge.c4
-rw-r--r--libsm/fput.c4
-rw-r--r--libsm/fread.c4
-rw-r--r--libsm/fscanf.c4
-rw-r--r--libsm/fseek.c4
-rw-r--r--libsm/fvwrite.c4
-rw-r--r--libsm/fvwrite.h4
-rw-r--r--libsm/fwalk.c4
-rw-r--r--libsm/fwrite.c4
-rw-r--r--libsm/get.c4
-rw-r--r--libsm/glue.h4
-rw-r--r--libsm/heap.c4
-rw-r--r--libsm/inet6_ntop.c58
-rw-r--r--libsm/ldap.c4
-rw-r--r--libsm/local.h4
-rw-r--r--libsm/makebuf.c4
-rw-r--r--libsm/match.c4
-rw-r--r--libsm/mbdb.c25
-rw-r--r--libsm/memstat.c4
-rw-r--r--libsm/mpeix.c4
-rw-r--r--libsm/niprop.c4
-rw-r--r--libsm/path.c4
-rw-r--r--libsm/put.c4
-rw-r--r--libsm/refill.c4
-rw-r--r--libsm/rewind.c4
-rw-r--r--libsm/rpool.c4
-rw-r--r--libsm/sem.c4
-rw-r--r--libsm/setvbuf.c4
-rw-r--r--libsm/shm.c4
-rw-r--r--libsm/signal.c4
-rw-r--r--libsm/smstdio.c4
-rw-r--r--libsm/snprintf.c4
-rw-r--r--libsm/sscanf.c4
-rw-r--r--libsm/stdio.c4
-rw-r--r--libsm/strcasecmp.c4
-rw-r--r--libsm/strdup.c4
-rw-r--r--libsm/strerror.c4
-rw-r--r--libsm/strexit.c4
-rw-r--r--libsm/string.c4
-rw-r--r--libsm/stringf.c4
-rw-r--r--libsm/strio.c4
-rw-r--r--libsm/strl.c4
-rw-r--r--libsm/strrevcmp.c4
-rw-r--r--libsm/strto.c4
-rw-r--r--libsm/syslogio.c4
-rw-r--r--libsm/t-cf.c4
-rw-r--r--libsm/t-event.c4
-rw-r--r--libsm/t-exc.c4
-rw-r--r--libsm/t-fget.c4
-rw-r--r--libsm/t-float.c4
-rw-r--r--libsm/t-fopen.c4
-rw-r--r--libsm/t-heap.c4
-rw-r--r--libsm/t-inet6_ntop.c73
-rw-r--r--libsm/t-match.c4
-rw-r--r--libsm/t-memstat.c10
-rw-r--r--libsm/t-path.c4
-rw-r--r--libsm/t-qic.c4
-rw-r--r--libsm/t-rpool.c4
-rw-r--r--libsm/t-scanf.c4
-rw-r--r--libsm/t-sem.c4
-rw-r--r--libsm/t-shm.c4
-rw-r--r--libsm/t-smstdio.c4
-rw-r--r--libsm/t-string.c4
-rw-r--r--libsm/t-strio.c4
-rw-r--r--libsm/t-strl.c4
-rw-r--r--libsm/t-strrevcmp.c4
-rw-r--r--libsm/t-types.c4
-rw-r--r--libsm/test.c4
-rw-r--r--libsm/ungetc.c4
-rw-r--r--libsm/util.c4
-rw-r--r--libsm/vasprintf.c4
-rw-r--r--libsm/vfprintf.c4
-rw-r--r--libsm/vfscanf.c4
-rw-r--r--libsm/vprintf.c4
-rw-r--r--libsm/vsnprintf.c4
-rw-r--r--libsm/wbuf.c4
-rw-r--r--libsm/wsetup.c4
-rw-r--r--libsm/xtrap.c4
101 files changed, 344 insertions, 213 deletions
diff --git a/libsm/Build b/libsm/Build
index 7e15c3571a1b..fe4bb3e94f1a 100755
--- a/libsm/Build
+++ b/libsm/Build
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright (c) 1999-2001 Sendmail, Inc. and its suppliers.
+# Copyright (c) 1999-2001 Proofpoint, Inc. and its suppliers.
# All rights reserved.
#
# By using this file, you agree to the terms and conditions set
@@ -8,6 +8,6 @@
# the sendmail distribution.
#
#
-# $Id: Build,v 1.4 2001/02/14 04:39:46 gshapiro Exp $
+# $Id: Build,v 1.6 2013/11/22 20:51:42 ca Exp $
-exec sh ../devtools/bin/Build $*
+exec sh ../devtools/bin/Build "$@"
diff --git a/libsm/Makefile.m4 b/libsm/Makefile.m4
index 4c7f63703f4c..705b6ac88c0f 100644
--- a/libsm/Makefile.m4
+++ b/libsm/Makefile.m4
@@ -1,4 +1,4 @@
-dnl $Id: Makefile.m4,v 1.73 2013/03/12 15:24:50 ca Exp $
+dnl $Id: Makefile.m4,v 1.75 2013/08/27 19:02:10 ca Exp $
define(`confREQUIRE_LIBUNIX')
include(confBUILDTOOLSDIR`/M4/switch.m4')
@@ -6,7 +6,7 @@ define(`confREQUIRE_LIBSM', `true')
define(`confREQUIRE_SM_OS_H', `true')
PREPENDDEF(`confENVDEF', `confMAPDEF')
bldPRODUCT_START(`library', `libsm')
-define(`bldSOURCES', ` assert.c debug.c errstring.c exc.c heap.c match.c rpool.c strdup.c strerror.c strl.c clrerr.c fclose.c feof.c ferror.c fflush.c fget.c fpos.c findfp.c flags.c fopen.c fprintf.c fpurge.c fput.c fread.c fscanf.c fseek.c fvwrite.c fwalk.c fwrite.c get.c makebuf.c put.c refill.c rewind.c setvbuf.c smstdio.c snprintf.c sscanf.c stdio.c strio.c ungetc.c vasprintf.c vfprintf.c vfscanf.c vprintf.c vsnprintf.c wbuf.c wsetup.c string.c stringf.c xtrap.c strto.c test.c path.c strcasecmp.c strrevcmp.c signal.c clock.c config.c shm.c sem.c mbdb.c strexit.c cf.c ldap.c niprop.c mpeix.c memstat.c util.c ')
+define(`bldSOURCES', ` assert.c debug.c errstring.c exc.c heap.c match.c rpool.c strdup.c strerror.c strl.c clrerr.c fclose.c feof.c ferror.c fflush.c fget.c fpos.c findfp.c flags.c fopen.c fprintf.c fpurge.c fput.c fread.c fscanf.c fseek.c fvwrite.c fwalk.c fwrite.c get.c makebuf.c put.c refill.c rewind.c setvbuf.c smstdio.c snprintf.c sscanf.c stdio.c strio.c ungetc.c vasprintf.c vfprintf.c vfscanf.c vprintf.c vsnprintf.c wbuf.c wsetup.c string.c stringf.c xtrap.c strto.c test.c path.c strcasecmp.c strrevcmp.c signal.c clock.c config.c shm.c sem.c mbdb.c strexit.c cf.c ldap.c niprop.c mpeix.c memstat.c util.c inet6_ntop.c ')
bldPRODUCT_END
dnl msg.c
dnl syslogio.c
@@ -31,6 +31,7 @@ smcheck(`t-float', `compile-run')
smcheck(`t-scanf', `compile-run')
smcheck(`t-shm', `compile-run')
smcheck(`t-sem', `compile-run')
+smcheck(`t-inet6_ntop', `compile-run')
dnl smcheck(`t-msg', `compile-run')
smcheck(`t-cf')
smcheck(`b-strcmp')
diff --git a/libsm/README b/libsm/README
index aff25a1c9e8f..c595f0dee90c 100644
--- a/libsm/README
+++ b/libsm/README
@@ -1,11 +1,11 @@
-# Copyright (c) 2000-2002 Sendmail, Inc. and its suppliers.
+# Copyright (c) 2000-2002 Proofpoint, Inc. and its suppliers.
# All rights reserved.
#
# By using this file, you agree to the terms and conditions set
# forth in the LICENSE file which can be found at the top level of
# the sendmail distribution.
#
-# $Id: README,v 1.24 2003/12/20 09:23:48 gshapiro Exp $
+# $Id: README,v 1.25 2013/11/22 20:51:42 ca Exp $
#
Libsm is a library of generally useful C abstractions.
diff --git a/libsm/assert.c b/libsm/assert.c
index 7200a0f4cb88..a2e996355f66 100644
--- a/libsm/assert.c
+++ b/libsm/assert.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001 Proofpoint, 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: assert.c,v 1.26 2003/12/05 22:45:24 ca Exp $")
+SM_RCSID("@(#)$Id: assert.c,v 1.27 2013/11/22 20:51:42 ca Exp $")
/*
** Abnormal program termination and assertion checking.
diff --git a/libsm/b-strcmp.c b/libsm/b-strcmp.c
index c7dcb88b3a62..f918619c5ac5 100644
--- a/libsm/b-strcmp.c
+++ b/libsm/b-strcmp.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001, 2004 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001, 2004 Proofpoint, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -8,7 +8,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: b-strcmp.c,v 1.14 2005/06/14 23:07:20 ca Exp $")
+SM_RCSID("@(#)$Id: b-strcmp.c,v 1.15 2013/11/22 20:51:42 ca Exp $")
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
diff --git a/libsm/b-strl.c b/libsm/b-strl.c
index e0bc24e74380..eb6fb00da851 100644
--- a/libsm/b-strl.c
+++ b/libsm/b-strl.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -19,7 +19,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: b-strl.c,v 1.25 2005/06/14 23:07:20 ca Exp $")
+SM_RCSID("@(#)$Id: b-strl.c,v 1.26 2013/11/22 20:51:42 ca Exp $")
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
diff --git a/libsm/cf.c b/libsm/cf.c
index 6501c055cc00..fe1adf4baed7 100644
--- a/libsm/cf.c
+++ b/libsm/cf.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2001 Proofpoint, 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: cf.c,v 1.7 2013/03/12 15:24:50 ca Exp $")
+SM_RCSID("@(#)$Id: cf.c,v 1.8 2013/11/22 20:51:42 ca Exp $")
#include <ctype.h>
#include <errno.h>
diff --git a/libsm/clock.c b/libsm/clock.c
index 1bdb4fd01786..cb53d6372524 100644
--- a/libsm/clock.c
+++ b/libsm/clock.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998-2004 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 1998-2004 Proofpoint, 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.47 2005/06/14 23:07:20 ca Exp $")
+SM_RCSID("@(#)$Id: clock.c,v 1.48 2013/11/22 20:51:42 ca Exp $")
#include <unistd.h>
#include <time.h>
#include <errno.h>
diff --git a/libsm/clrerr.c b/libsm/clrerr.c
index 5b1a8a80aecf..9d98b1d9b95b 100644
--- a/libsm/clrerr.c
+++ b/libsm/clrerr.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -13,7 +13,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: clrerr.c,v 1.13 2001/09/11 04:04:48 gshapiro Exp $")
+SM_RCSID("@(#)$Id: clrerr.c,v 1.14 2013/11/22 20:51:42 ca Exp $")
#include <sm/io.h>
#include <sm/assert.h>
#include "local.h"
diff --git a/libsm/config.c b/libsm/config.c
index c96a7386cf89..231f9543c400 100644
--- a/libsm/config.c
+++ b/libsm/config.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2003, 2007 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2003, 2007 Proofpoint, 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.31 2007/03/14 21:21:49 ca Exp $")
+SM_RCSID("@(#)$Id: config.c,v 1.32 2013/11/22 20:51:42 ca Exp $")
#include <stdlib.h>
#include <sm/heap.h>
diff --git a/libsm/debug.c b/libsm/debug.c
index ea9cd846ace5..219079018e45 100644
--- a/libsm/debug.c
+++ b/libsm/debug.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2001, 2003, 2004 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000, 2001, 2003, 2004 Proofpoint, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -8,7 +8,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: debug.c,v 1.32 2009/09/20 05:38:46 ca Exp $")
+SM_RCSID("@(#)$Id: debug.c,v 1.33 2013/11/22 20:51:42 ca Exp $")
/*
** libsm debugging and tracing
diff --git a/libsm/errstring.c b/libsm/errstring.c
index b2999bdec971..6fc5aeb9722f 100644
--- a/libsm/errstring.c
+++ b/libsm/errstring.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001, 2003 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2001, 2003 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved.
* Copyright (c) 1988, 1993
@@ -11,7 +11,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: errstring.c,v 1.19 2003/12/10 03:53:05 gshapiro Exp $")
+SM_RCSID("@(#)$Id: errstring.c,v 1.20 2013/11/22 20:51:42 ca Exp $")
#include <errno.h>
#include <stdio.h> /* sys_errlist, on some platforms */
diff --git a/libsm/exc.c b/libsm/exc.c
index 0bcf17a68400..cbb6a62f5fed 100644
--- a/libsm/exc.c
+++ b/libsm/exc.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2002 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2002 Proofpoint, 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: exc.c,v 1.49 2006/12/19 19:28:09 ca Exp $")
+SM_RCSID("@(#)$Id: exc.c,v 1.50 2013/11/22 20:51:42 ca Exp $")
/*
** exception handling
diff --git a/libsm/fclose.c b/libsm/fclose.c
index 82a7de4689e8..0e6b4ae67686 100644
--- a/libsm/fclose.c
+++ b/libsm/fclose.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2002, 2004 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2002, 2004 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -13,7 +13,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: fclose.c,v 1.44 2005/06/14 23:07:20 ca Exp $")
+SM_RCSID("@(#)$Id: fclose.c,v 1.45 2013/11/22 20:51:42 ca Exp $")
#include <errno.h>
#include <stdlib.h>
#include <sm/time.h>
diff --git a/libsm/feof.c b/libsm/feof.c
index 8d5e0d8fcd03..4a98eb313b44 100644
--- a/libsm/feof.c
+++ b/libsm/feof.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -13,7 +13,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: feof.c,v 1.13 2001/09/11 04:04:48 gshapiro Exp $")
+SM_RCSID("@(#)$Id: feof.c,v 1.14 2013/11/22 20:51:42 ca Exp $")
#include <sm/io.h>
#include <sm/assert.h>
#include "local.h"
diff --git a/libsm/ferror.c b/libsm/ferror.c
index 9487479a2204..3a1d51ed1b5c 100644
--- a/libsm/ferror.c
+++ b/libsm/ferror.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -13,7 +13,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: ferror.c,v 1.13 2001/09/11 04:04:48 gshapiro Exp $")
+SM_RCSID("@(#)$Id: ferror.c,v 1.14 2013/11/22 20:51:42 ca Exp $")
#include <sm/io.h>
#include <sm/assert.h>
#include "local.h"
diff --git a/libsm/fflush.c b/libsm/fflush.c
index 19159e290480..a444d0882bc6 100644
--- a/libsm/fflush.c
+++ b/libsm/fflush.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001, 2005, 2006 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001, 2005, 2006 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -13,7 +13,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: fflush.c,v 1.45 2006/03/03 22:25:00 ca Exp $")
+SM_RCSID("@(#)$Id: fflush.c,v 1.46 2013/11/22 20:51:42 ca Exp $")
#include <unistd.h>
#include <errno.h>
#include <sm/time.h>
diff --git a/libsm/fget.c b/libsm/fget.c
index 01c49da601ed..132c5249140a 100644
--- a/libsm/fget.c
+++ b/libsm/fget.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001, 2013 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001, 2013 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -13,7 +13,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: fget.c,v 1.25 2013/03/12 15:24:50 ca Exp $")
+SM_RCSID("@(#)$Id: fget.c,v 1.26 2013/11/22 20:51:42 ca Exp $")
#include <stdlib.h>
#include <string.h>
#include <sm/io.h>
diff --git a/libsm/findfp.c b/libsm/findfp.c
index 1658929ad05e..24d9d806c796 100644
--- a/libsm/findfp.c
+++ b/libsm/findfp.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2002, 2006 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2002, 2006 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -13,7 +13,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: findfp.c,v 1.67 2006/08/28 21:24:46 ca Exp $")
+SM_RCSID("@(#)$Id: findfp.c,v 1.68 2013/11/22 20:51:42 ca Exp $")
#include <stdlib.h>
#include <unistd.h>
#include <sys/param.h>
diff --git a/libsm/flags.c b/libsm/flags.c
index 97c38fa5ffd1..cca63166f9f4 100644
--- a/libsm/flags.c
+++ b/libsm/flags.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001, 2004, 2006 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001, 2004, 2006 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -13,7 +13,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: flags.c,v 1.23 2006/12/19 19:44:23 ca Exp $")
+SM_RCSID("@(#)$Id: flags.c,v 1.24 2013/11/22 20:51:42 ca Exp $")
#include <sys/types.h>
#include <sys/file.h>
#include <errno.h>
diff --git a/libsm/fopen.c b/libsm/fopen.c
index f15a15d75e9a..ef53efa60c2c 100644
--- a/libsm/fopen.c
+++ b/libsm/fopen.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2002, 2004 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2002, 2004 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -13,7 +13,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: fopen.c,v 1.62 2005/06/14 23:07:20 ca Exp $")
+SM_RCSID("@(#)$Id: fopen.c,v 1.63 2013/11/22 20:51:42 ca Exp $")
#include <errno.h>
#include <setjmp.h>
#include <sm/time.h>
diff --git a/libsm/fpos.c b/libsm/fpos.c
index 4fe22bf3d032..63f24dba03b6 100644
--- a/libsm/fpos.c
+++ b/libsm/fpos.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001, 2004 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001, 2004 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -13,7 +13,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: fpos.c,v 1.39 2005/06/14 23:07:20 ca Exp $")
+SM_RCSID("@(#)$Id: fpos.c,v 1.40 2013/11/22 20:51:42 ca Exp $")
#include <errno.h>
#include <setjmp.h>
#include <sm/time.h>
diff --git a/libsm/fprintf.c b/libsm/fprintf.c
index 71938729c6d9..bcb92b2a309b 100644
--- a/libsm/fprintf.c
+++ b/libsm/fprintf.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -13,7 +13,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: fprintf.c,v 1.17 2001/09/11 04:04:48 gshapiro Exp $")
+SM_RCSID("@(#)$Id: fprintf.c,v 1.18 2013/11/22 20:51:42 ca Exp $")
#include <sm/varargs.h>
#include <sm/io.h>
#include <sm/assert.h>
diff --git a/libsm/fpurge.c b/libsm/fpurge.c
index 4e6fd5a106b2..2d86f2a0997a 100644
--- a/libsm/fpurge.c
+++ b/libsm/fpurge.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -13,7 +13,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: fpurge.c,v 1.20 2001/09/11 04:04:48 gshapiro Exp $")
+SM_RCSID("@(#)$Id: fpurge.c,v 1.21 2013/11/22 20:51:42 ca Exp $")
#include <stdlib.h>
#include <errno.h>
#include <sm/io.h>
diff --git a/libsm/fput.c b/libsm/fput.c
index 3c5e11c7ee77..764051977bf5 100644
--- a/libsm/fput.c
+++ b/libsm/fput.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -13,7 +13,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: fput.c,v 1.20 2001/09/11 04:04:48 gshapiro Exp $")
+SM_RCSID("@(#)$Id: fput.c,v 1.21 2013/11/22 20:51:42 ca Exp $")
#include <string.h>
#include <errno.h>
#include <sm/io.h>
diff --git a/libsm/fread.c b/libsm/fread.c
index 1e651fdc4972..bed66bcca1bc 100644
--- a/libsm/fread.c
+++ b/libsm/fread.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -13,7 +13,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: fread.c,v 1.28 2001/09/11 04:04:48 gshapiro Exp $")
+SM_RCSID("@(#)$Id: fread.c,v 1.29 2013/11/22 20:51:42 ca Exp $")
#include <string.h>
#include <errno.h>
#include <sm/io.h>
diff --git a/libsm/fscanf.c b/libsm/fscanf.c
index 5e1fcfde795b..b7dab1e8e97d 100644
--- a/libsm/fscanf.c
+++ b/libsm/fscanf.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -13,7 +13,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: fscanf.c,v 1.17 2001/09/11 04:04:48 gshapiro Exp $")
+SM_RCSID("@(#)$Id: fscanf.c,v 1.18 2013/11/22 20:51:42 ca Exp $")
#include <sm/varargs.h>
#include <sm/assert.h>
#include <sm/io.h>
diff --git a/libsm/fseek.c b/libsm/fseek.c
index 4b3fe10367cb..de58e4e0c447 100644
--- a/libsm/fseek.c
+++ b/libsm/fseek.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001, 2004 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001, 2004 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -13,7 +13,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: fseek.c,v 1.47 2005/06/14 23:07:20 ca Exp $")
+SM_RCSID("@(#)$Id: fseek.c,v 1.48 2013/11/22 20:51:42 ca Exp $")
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
diff --git a/libsm/fvwrite.c b/libsm/fvwrite.c
index a692781bab35..485f78ec62f6 100644
--- a/libsm/fvwrite.c
+++ b/libsm/fvwrite.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -13,7 +13,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: fvwrite.c,v 1.49 2001/09/11 04:04:48 gshapiro Exp $")
+SM_RCSID("@(#)$Id: fvwrite.c,v 1.50 2013/11/22 20:51:42 ca Exp $")
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
diff --git a/libsm/fvwrite.h b/libsm/fvwrite.h
index a1344c0bf465..11814a30b4a8 100644
--- a/libsm/fvwrite.h
+++ b/libsm/fvwrite.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -11,7 +11,7 @@
* forth in the LICENSE file which can be found at the top level of
* the sendmail distribution.
*
- * $Id: fvwrite.h,v 1.7 2001/03/02 00:18:19 ca Exp $
+ * $Id: fvwrite.h,v 1.8 2013/11/22 20:51:43 ca Exp $
*/
/* I/O descriptors for sm_fvwrite() */
diff --git a/libsm/fwalk.c b/libsm/fwalk.c
index b878c1a933f3..c647223b733b 100644
--- a/libsm/fwalk.c
+++ b/libsm/fwalk.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -13,7 +13,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: fwalk.c,v 1.21 2001/09/11 04:04:48 gshapiro Exp $")
+SM_RCSID("@(#)$Id: fwalk.c,v 1.22 2013/11/22 20:51:43 ca Exp $")
#include <errno.h>
#include <sm/io.h>
#include "local.h"
diff --git a/libsm/fwrite.c b/libsm/fwrite.c
index 372f75dfe9bc..c7d9ad6de805 100644
--- a/libsm/fwrite.c
+++ b/libsm/fwrite.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -13,7 +13,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: fwrite.c,v 1.24 2001/09/11 04:04:48 gshapiro Exp $")
+SM_RCSID("@(#)$Id: fwrite.c,v 1.25 2013/11/22 20:51:43 ca Exp $")
#include <errno.h>
#include <sm/io.h>
#include <sm/assert.h>
diff --git a/libsm/get.c b/libsm/get.c
index 74549fe47241..fc58fd16a439 100644
--- a/libsm/get.c
+++ b/libsm/get.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -13,7 +13,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: get.c,v 1.18 2001/09/11 04:04:48 gshapiro Exp $")
+SM_RCSID("@(#)$Id: get.c,v 1.19 2013/11/22 20:51:43 ca Exp $")
#include <sm/io.h>
#include <sm/assert.h>
#include "local.h"
diff --git a/libsm/glue.h b/libsm/glue.h
index db8c1018a5fb..d616f44caea8 100644
--- a/libsm/glue.h
+++ b/libsm/glue.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -11,7 +11,7 @@
* forth in the LICENSE file which can be found at the top level of
* the sendmail distribution.
*
- * $Id: glue.h,v 1.6 2001/01/22 23:09:49 ca Exp $
+ * $Id: glue.h,v 1.7 2013/11/22 20:51:43 ca Exp $
*/
/*
diff --git a/libsm/heap.c b/libsm/heap.c
index 8ee4396f9dad..974865a0c15f 100644
--- a/libsm/heap.c
+++ b/libsm/heap.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001, 2004 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001, 2004 Proofpoint, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -8,7 +8,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: heap.c,v 1.51 2004/08/03 20:32:00 ca Exp $")
+SM_RCSID("@(#)$Id: heap.c,v 1.52 2013/11/22 20:51:43 ca Exp $")
/*
** debugging memory allocation package
diff --git a/libsm/inet6_ntop.c b/libsm/inet6_ntop.c
new file mode 100644
index 000000000000..675f79ee4126
--- /dev/null
+++ b/libsm/inet6_ntop.c
@@ -0,0 +1,58 @@
+/*
+ * Copyright (c) 2013 Proofpoint, Inc. and its suppliers.
+ * All rights reserved.
+ *
+ * By using this file, you agree to the terms and conditions set
+ * forth in the LICENSE file which can be found at the top level of
+ * the sendmail distribution.
+ *
+ */
+
+#include <sm/gen.h>
+SM_RCSID("@(#)$Id: inet6_ntop.c,v 1.2 2013/11/22 20:51:43 ca Exp $")
+
+#if NETINET6
+# include <sm/conf.h>
+# include <sm/types.h>
+# include <sm/io.h>
+# include <sm/string.h>
+# include <netinet/in.h>
+
+/*
+** SM_INET6_NTOP -- convert IPv6 address to ASCII string (uncompressed)
+**
+** Parameters:
+** ipv6 -- IPv6 address
+** dst -- ASCII representation of address (output)
+** len -- length of dst
+**
+** Returns:
+** error: NULL
+*/
+
+char *
+sm_inet6_ntop(ipv6, dst, len)
+ const void *ipv6;
+ char *dst;
+ size_t len;
+{
+ SM_UINT16 *u16;
+ int r;
+
+ u16 = (SM_UINT16 *)ipv6;
+ r = sm_snprintf(dst, len,
+ "%x:%x:%x:%x:%x:%x:%x:%x"
+ , htons(u16[0])
+ , htons(u16[1])
+ , htons(u16[2])
+ , htons(u16[3])
+ , htons(u16[4])
+ , htons(u16[5])
+ , htons(u16[6])
+ , htons(u16[7])
+ );
+ if (r > 0)
+ return dst;
+ return NULL;
+}
+#endif /* NETINET6 */
diff --git a/libsm/ldap.c b/libsm/ldap.c
index 9ae233f3ce18..586149c6551d 100644
--- a/libsm/ldap.c
+++ b/libsm/ldap.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001-2009 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2001-2009 Proofpoint, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -11,7 +11,7 @@
#define LDAP_DEPRECATED 1
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: ldap.c,v 1.85 2011/04/18 22:20:20 ca Exp $")
+SM_RCSID("@(#)$Id: ldap.c,v 1.86 2013/11/22 20:51:43 ca Exp $")
#if LDAPMAP
# include <sys/types.h>
diff --git a/libsm/local.h b/libsm/local.h
index b0625a56e347..9ce4122c0e7e 100644
--- a/libsm/local.h
+++ b/libsm/local.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2002, 2004-2006 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2002, 2004-2006 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -11,7 +11,7 @@
* forth in the LICENSE file which can be found at the top level of
* the sendmail distribution.
*
- * $Id: local.h,v 1.58 2006/12/19 19:44:23 ca Exp $
+ * $Id: local.h,v 1.59 2013/11/22 20:51:43 ca Exp $
*/
/*
diff --git a/libsm/makebuf.c b/libsm/makebuf.c
index 044de8c36f72..dc778a05946a 100644
--- a/libsm/makebuf.c
+++ b/libsm/makebuf.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -13,7 +13,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: makebuf.c,v 1.26 2001/10/31 16:04:08 ca Exp $")
+SM_RCSID("@(#)$Id: makebuf.c,v 1.27 2013/11/22 20:51:43 ca Exp $")
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
diff --git a/libsm/match.c b/libsm/match.c
index e42b865a39ea..6aeb2ef4b092 100644
--- a/libsm/match.c
+++ b/libsm/match.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001 Proofpoint, 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: match.c,v 1.10 2001/09/11 04:04:48 gshapiro Exp $")
+SM_RCSID("@(#)$Id: match.c,v 1.11 2013/11/22 20:51:43 ca Exp $")
#include <sm/string.h>
diff --git a/libsm/mbdb.c b/libsm/mbdb.c
index 3bb514df5164..482ed7089d2a 100644
--- a/libsm/mbdb.c
+++ b/libsm/mbdb.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001-2003,2009 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2001-2003,2009 Proofpoint, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -8,7 +8,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: mbdb.c,v 1.41 2009/06/19 22:02:26 guenther Exp $")
+SM_RCSID("@(#)$Id: mbdb.c,v 1.43 2014/01/08 17:03:15 ca Exp $")
#include <sys/param.h>
@@ -332,23 +332,16 @@ mbdb_pw_lookup(name, user)
pw = getpwnam(name);
if (pw == NULL)
{
-#if 0
+#if _FFR_USE_GETPWNAM_ERRNO
/*
- ** getpwnam() isn't advertised as setting errno.
- ** In fact, under FreeBSD, non-root getpwnam() on
- ** non-existant users returns NULL with errno = EPERM.
- ** This test won't work.
+ ** Only enable this code iff
+ ** user unknown <-> getpwnam() == NULL && errno == 0
+ ** (i.e., errno unchanged); see the POSIX spec.
*/
- switch (errno)
- {
- case 0:
- return EX_NOUSER;
- case EIO:
- return EX_OSERR;
- default:
+
+ if (errno != 0)
return EX_TEMPFAIL;
- }
-#endif /* 0 */
+#endif /* _FFR_USE_GETPWNAM_ERRNO */
return EX_NOUSER;
}
diff --git a/libsm/memstat.c b/libsm/memstat.c
index 80391d757b3a..b8fe04884fc1 100644
--- a/libsm/memstat.c
+++ b/libsm/memstat.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005-2007 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2005-2007 Proofpoint, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -8,7 +8,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: memstat.c,v 1.6 2007/03/20 23:26:12 ca Exp $")
+SM_RCSID("@(#)$Id: memstat.c,v 1.7 2013/11/22 20:51:43 ca Exp $")
#include <errno.h>
#include <sm/misc.h>
diff --git a/libsm/mpeix.c b/libsm/mpeix.c
index 163dfbac6755..f997e8197aca 100644
--- a/libsm/mpeix.c
+++ b/libsm/mpeix.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001-2002 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2001-2002 Proofpoint, 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: mpeix.c,v 1.7 2007/05/11 18:51:22 gshapiro Exp $")
+SM_RCSID("@(#)$Id: mpeix.c,v 1.8 2013/11/22 20:51:43 ca Exp $")
#ifdef MPE
/*
diff --git a/libsm/niprop.c b/libsm/niprop.c
index ad58867cf013..41465cf3f006 100644
--- a/libsm/niprop.c
+++ b/libsm/niprop.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2001 Proofpoint, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -8,7 +8,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: niprop.c,v 1.8 2001/09/11 04:04:48 gshapiro Exp $")
+SM_RCSID("@(#)$Id: niprop.c,v 1.9 2013/11/22 20:51:43 ca Exp $")
#if NETINFO
#include <ctype.h>
diff --git a/libsm/path.c b/libsm/path.c
index 6932e1f2950a..0e33972d9f44 100644
--- a/libsm/path.c
+++ b/libsm/path.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -8,7 +8,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: path.c,v 1.9 2001/09/11 04:04:49 gshapiro Exp $")
+SM_RCSID("@(#)$Id: path.c,v 1.10 2013/11/22 20:51:43 ca Exp $")
#include <sm/path.h>
#include <sm/string.h>
diff --git a/libsm/put.c b/libsm/put.c
index d513b98b3ccd..05de94a959dd 100644
--- a/libsm/put.c
+++ b/libsm/put.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -13,7 +13,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: put.c,v 1.27 2001/12/19 05:19:35 ca Exp $")
+SM_RCSID("@(#)$Id: put.c,v 1.28 2013/11/22 20:51:43 ca Exp $")
#include <string.h>
#include <errno.h>
#include <sm/io.h>
diff --git a/libsm/refill.c b/libsm/refill.c
index eae6ab4a20be..43c76f917b84 100644
--- a/libsm/refill.c
+++ b/libsm/refill.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001, 2005-2006 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001, 2005-2006 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -13,7 +13,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: refill.c,v 1.53 2006/02/28 18:48:25 ca Exp $")
+SM_RCSID("@(#)$Id: refill.c,v 1.54 2013/11/22 20:51:43 ca Exp $")
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
diff --git a/libsm/rewind.c b/libsm/rewind.c
index 597c6dbc3751..9b079b156c94 100644
--- a/libsm/rewind.c
+++ b/libsm/rewind.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -13,7 +13,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: rewind.c,v 1.18 2001/09/11 04:04:49 gshapiro Exp $")
+SM_RCSID("@(#)$Id: rewind.c,v 1.19 2013/11/22 20:51:43 ca Exp $")
#include <errno.h>
#include <sm/io.h>
#include <sm/assert.h>
diff --git a/libsm/rpool.c b/libsm/rpool.c
index 39344c268fc4..4c7598e9ab4d 100644
--- a/libsm/rpool.c
+++ b/libsm/rpool.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2004 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2004 Proofpoint, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -8,7 +8,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: rpool.c,v 1.28 2004/08/03 20:44:04 ca Exp $")
+SM_RCSID("@(#)$Id: rpool.c,v 1.29 2013/11/22 20:51:43 ca Exp $")
/*
** resource pools
diff --git a/libsm/sem.c b/libsm/sem.c
index 83a54e32e1e0..06723c8842d4 100644
--- a/libsm/sem.c
+++ b/libsm/sem.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001, 2005, 2008 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001, 2005, 2008 Proofpoint, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -8,7 +8,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: sem.c,v 1.14 2008/05/30 16:26:38 ca Exp $")
+SM_RCSID("@(#)$Id: sem.c,v 1.15 2013/11/22 20:51:43 ca Exp $")
#if SM_CONF_SEM
# include <stdlib.h>
diff --git a/libsm/setvbuf.c b/libsm/setvbuf.c
index 172a767b8535..0d8bee926c3e 100644
--- a/libsm/setvbuf.c
+++ b/libsm/setvbuf.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -13,7 +13,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: setvbuf.c,v 1.32 2001/09/11 04:04:49 gshapiro Exp $")
+SM_RCSID("@(#)$Id: setvbuf.c,v 1.33 2013/11/22 20:51:43 ca Exp $")
#include <stdlib.h>
#include <errno.h>
#include <fcntl.h>
diff --git a/libsm/shm.c b/libsm/shm.c
index 15c1119ec84d..c4045bee82b3 100644
--- a/libsm/shm.c
+++ b/libsm/shm.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001, 2003, 2005 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001, 2003, 2005 Proofpoint, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -8,7 +8,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: shm.c,v 1.19 2005/07/14 22:34:28 ca Exp $")
+SM_RCSID("@(#)$Id: shm.c,v 1.20 2013/11/22 20:51:43 ca Exp $")
#if SM_CONF_SHM
# include <stdlib.h>
diff --git a/libsm/signal.c b/libsm/signal.c
index ce2e242fabf3..b8d6a3433ecb 100644
--- a/libsm/signal.c
+++ b/libsm/signal.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -8,7 +8,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: signal.c,v 1.17 2005/06/14 23:07:20 ca Exp $")
+SM_RCSID("@(#)$Id: signal.c,v 1.18 2013/11/22 20:51:43 ca Exp $")
#if SM_CONF_SETITIMER
# include <sm/time.h>
diff --git a/libsm/smstdio.c b/libsm/smstdio.c
index 27552e5f5f01..711609db9d24 100644
--- a/libsm/smstdio.c
+++ b/libsm/smstdio.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2002, 2004 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2002, 2004 Proofpoint, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -8,7 +8,7 @@
*/
#include <sm/gen.h>
-SM_IDSTR(id, "@(#)$Id: smstdio.c,v 1.34 2004/08/03 20:46:34 ca Exp $")
+SM_IDSTR(id, "@(#)$Id: smstdio.c,v 1.35 2013/11/22 20:51:43 ca Exp $")
#include <unistd.h>
#include <stdio.h>
#include <fcntl.h>
diff --git a/libsm/snprintf.c b/libsm/snprintf.c
index cdb7688a55c2..ee12d97918d6 100644
--- a/libsm/snprintf.c
+++ b/libsm/snprintf.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -13,7 +13,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: snprintf.c,v 1.24 2006/10/12 21:50:10 ca Exp $")
+SM_RCSID("@(#)$Id: snprintf.c,v 1.25 2013/11/22 20:51:43 ca Exp $")
#include <limits.h>
#include <sm/varargs.h>
#include <sm/io.h>
diff --git a/libsm/sscanf.c b/libsm/sscanf.c
index 168bcfdddd69..2515d5508abd 100644
--- a/libsm/sscanf.c
+++ b/libsm/sscanf.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -13,7 +13,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: sscanf.c,v 1.25 2002/02/01 02:28:00 ca Exp $")
+SM_RCSID("@(#)$Id: sscanf.c,v 1.26 2013/11/22 20:51:43 ca Exp $")
#include <string.h>
#include <sm/varargs.h>
#include <sm/io.h>
diff --git a/libsm/stdio.c b/libsm/stdio.c
index 5fe8f225ff01..974b24276345 100644
--- a/libsm/stdio.c
+++ b/libsm/stdio.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2005 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2005 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -13,7 +13,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: stdio.c,v 1.71 2005/06/14 23:07:20 ca Exp $")
+SM_RCSID("@(#)$Id: stdio.c,v 1.72 2013/11/22 20:51:43 ca Exp $")
#include <unistd.h>
#include <errno.h>
#include <fcntl.h>
diff --git a/libsm/strcasecmp.c b/libsm/strcasecmp.c
index 15f5ce8f8711..3f1c218c6f1c 100644
--- a/libsm/strcasecmp.c
+++ b/libsm/strcasecmp.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved.
* Copyright (c) 1987, 1988, 1993
@@ -12,7 +12,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: strcasecmp.c,v 1.15 2001/09/11 04:04:49 gshapiro Exp $")
+SM_RCSID("@(#)$Id: strcasecmp.c,v 1.16 2013/11/22 20:51:43 ca Exp $")
#include <sm/config.h>
#include <sm/string.h>
diff --git a/libsm/strdup.c b/libsm/strdup.c
index 7094275e046c..e7de0375ad41 100644
--- a/libsm/strdup.c
+++ b/libsm/strdup.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001, 2003 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001, 2003 Proofpoint, 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: strdup.c,v 1.15 2003/10/10 17:56:57 ca Exp $")
+SM_RCSID("@(#)$Id: strdup.c,v 1.16 2013/11/22 20:51:43 ca Exp $")
#include <sm/heap.h>
#include <sm/string.h>
diff --git a/libsm/strerror.c b/libsm/strerror.c
index ffdfb2182bc3..4b9e15fc4397 100644
--- a/libsm/strerror.c
+++ b/libsm/strerror.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001 Proofpoint, 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: strerror.c,v 1.23 2001/09/11 04:04:49 gshapiro Exp $")
+SM_RCSID("@(#)$Id: strerror.c,v 1.24 2013/11/22 20:51:43 ca Exp $")
/*
** define strerror for platforms that lack it.
diff --git a/libsm/strexit.c b/libsm/strexit.c
index 0f2cdfc6cdfe..74bac560a1d3 100644
--- a/libsm/strexit.c
+++ b/libsm/strexit.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2001 Proofpoint, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -8,7 +8,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: strexit.c,v 1.5 2001/09/11 04:04:49 gshapiro Exp $")
+SM_RCSID("@(#)$Id: strexit.c,v 1.6 2013/11/22 20:51:43 ca Exp $")
#include <sm/string.h>
#include <sm/sysexits.h>
diff --git a/libsm/string.c b/libsm/string.c
index b0b69756997c..fe53d211918d 100644
--- a/libsm/string.c
+++ b/libsm/string.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2001 Proofpoint, 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: string.c,v 1.3 2001/09/11 04:04:49 gshapiro Exp $")
+SM_RCSID("@(#)$Id: string.c,v 1.4 2013/11/22 20:51:43 ca Exp $")
#include <ctype.h>
#include <errno.h>
diff --git a/libsm/stringf.c b/libsm/stringf.c
index b6a7f6635672..fa9814b35b8b 100644
--- a/libsm/stringf.c
+++ b/libsm/stringf.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -8,7 +8,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: stringf.c,v 1.15 2001/09/11 04:04:49 gshapiro Exp $")
+SM_RCSID("@(#)$Id: stringf.c,v 1.16 2013/11/22 20:51:43 ca Exp $")
#include <errno.h>
#include <stdio.h>
#include <sm/exc.h>
diff --git a/libsm/strio.c b/libsm/strio.c
index 75f376419a65..4775858bd557 100644
--- a/libsm/strio.c
+++ b/libsm/strio.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2002, 2004, 2005 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2002, 2004, 2005 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -13,7 +13,7 @@
*/
#include <sm/gen.h>
-SM_IDSTR(id, "@(#)$Id: strio.c,v 1.44 2005/06/09 21:40:19 ca Exp $")
+SM_IDSTR(id, "@(#)$Id: strio.c,v 1.45 2013/11/22 20:51:43 ca Exp $")
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
diff --git a/libsm/strl.c b/libsm/strl.c
index ec9a81be266c..bcf2382aafb7 100644
--- a/libsm/strl.c
+++ b/libsm/strl.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999-2002 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 1999-2002 Proofpoint, 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: strl.c,v 1.31 2002/01/20 01:41:25 gshapiro Exp $")
+SM_RCSID("@(#)$Id: strl.c,v 1.32 2013/11/22 20:51:43 ca Exp $")
#include <sm/config.h>
#include <sm/string.h>
diff --git a/libsm/strrevcmp.c b/libsm/strrevcmp.c
index d0ed630eacbd..9403c89d9dc7 100644
--- a/libsm/strrevcmp.c
+++ b/libsm/strrevcmp.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2001 Proofpoint, 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: strrevcmp.c,v 1.5 2001/09/11 04:04:49 gshapiro Exp $")
+SM_RCSID("@(#)$Id: strrevcmp.c,v 1.6 2013/11/22 20:51:43 ca Exp $")
#include <sm/config.h>
#include <sm/string.h>
diff --git a/libsm/strto.c b/libsm/strto.c
index 87e84bfeaa56..a264cbadfdd0 100644
--- a/libsm/strto.c
+++ b/libsm/strto.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1992
* The Regents of the University of California. All rights reserved.
@@ -10,7 +10,7 @@
*/
#include <sm/gen.h>
-SM_IDSTR(id, "@(#)$Id: strto.c,v 1.18 2001/12/30 04:59:37 gshapiro Exp $")
+SM_IDSTR(id, "@(#)$Id: strto.c,v 1.19 2013/11/22 20:51:43 ca Exp $")
#include <sys/param.h>
#include <sys/types.h>
diff --git a/libsm/syslogio.c b/libsm/syslogio.c
index 24fa3a23b313..02130246dcaa 100644
--- a/libsm/syslogio.c
+++ b/libsm/syslogio.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -8,7 +8,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: syslogio.c,v 1.29 2001/09/11 04:04:49 gshapiro Exp $")
+SM_RCSID("@(#)$Id: syslogio.c,v 1.30 2013/11/22 20:51:43 ca Exp $")
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
diff --git a/libsm/t-cf.c b/libsm/t-cf.c
index 90785144fbfd..7fa89f9064ab 100644
--- a/libsm/t-cf.c
+++ b/libsm/t-cf.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2001 Proofpoint, 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_IDSTR(id, "@(#)$Id: t-cf.c,v 1.7 2001/09/11 04:04:49 gshapiro Exp $")
+SM_IDSTR(id, "@(#)$Id: t-cf.c,v 1.8 2013/11/22 20:51:43 ca Exp $")
#include <errno.h>
#include <stdio.h>
diff --git a/libsm/t-event.c b/libsm/t-event.c
index 1096b36a70ec..611599eee9a0 100644
--- a/libsm/t-event.c
+++ b/libsm/t-event.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001-2002, 2004 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2001-2002, 2004 Proofpoint, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -8,7 +8,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: t-event.c,v 1.13 2005/06/14 23:07:20 ca Exp $")
+SM_RCSID("@(#)$Id: t-event.c,v 1.14 2013/11/22 20:51:43 ca Exp $")
#include <stdio.h>
diff --git a/libsm/t-exc.c b/libsm/t-exc.c
index a6922e041628..945570352011 100644
--- a/libsm/t-exc.c
+++ b/libsm/t-exc.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -8,7 +8,7 @@
*/
#include <sm/gen.h>
-SM_IDSTR(id, "@(#)$Id: t-exc.c,v 1.20 2001/09/11 04:04:49 gshapiro Exp $")
+SM_IDSTR(id, "@(#)$Id: t-exc.c,v 1.21 2013/11/22 20:51:43 ca Exp $")
#include <string.h>
#include <sm/heap.h>
diff --git a/libsm/t-fget.c b/libsm/t-fget.c
index 434debf10bb0..ab2145c6e5c9 100644
--- a/libsm/t-fget.c
+++ b/libsm/t-fget.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2013 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2013 Proofpoint, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -8,7 +8,7 @@
*/
#include <sm/gen.h>
-SM_IDSTR(id, "@(#)$Id: t-fget.c,v 1.1 2013/03/12 15:24:50 ca Exp $")
+SM_IDSTR(id, "@(#)$Id: t-fget.c,v 1.2 2013/11/22 20:51:43 ca Exp $")
#include <sm/io.h>
#include <sm/string.h>
diff --git a/libsm/t-float.c b/libsm/t-float.c
index f3f059b1a1e1..93f7434cc47b 100644
--- a/libsm/t-float.c
+++ b/libsm/t-float.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -8,7 +8,7 @@
*/
#include <sm/gen.h>
-SM_IDSTR(id, "@(#)$Id: t-float.c,v 1.18 2001/09/11 04:04:49 gshapiro Exp $")
+SM_IDSTR(id, "@(#)$Id: t-float.c,v 1.19 2013/11/22 20:51:43 ca Exp $")
#include <sm/limits.h>
#include <sm/io.h>
diff --git a/libsm/t-fopen.c b/libsm/t-fopen.c
index 2d3839a34d9a..143bb943df86 100644
--- a/libsm/t-fopen.c
+++ b/libsm/t-fopen.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2002 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2002 Proofpoint, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -8,7 +8,7 @@
*/
#include <sm/gen.h>
-SM_IDSTR(id, "@(#)$Id: t-fopen.c,v 1.9 2002/02/06 23:57:45 ca Exp $")
+SM_IDSTR(id, "@(#)$Id: t-fopen.c,v 1.10 2013/11/22 20:51:43 ca Exp $")
#include <fcntl.h>
#include <sm/io.h>
diff --git a/libsm/t-heap.c b/libsm/t-heap.c
index 7ddb60d2ccb1..605282390664 100644
--- a/libsm/t-heap.c
+++ b/libsm/t-heap.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -8,7 +8,7 @@
*/
#include <sm/gen.h>
-SM_IDSTR(id, "@(#)$Id: t-heap.c,v 1.10 2001/09/11 04:04:49 gshapiro Exp $")
+SM_IDSTR(id, "@(#)$Id: t-heap.c,v 1.11 2013/11/22 20:51:43 ca Exp $")
#include <sm/debug.h>
#include <sm/heap.h>
diff --git a/libsm/t-inet6_ntop.c b/libsm/t-inet6_ntop.c
new file mode 100644
index 000000000000..525bbecd0bb6
--- /dev/null
+++ b/libsm/t-inet6_ntop.c
@@ -0,0 +1,73 @@
+/*
+ * Copyright (c) 2013 Proofpoint, Inc. and its suppliers.
+ * All rights reserved.
+ *
+ * By using this file, you agree to the terms and conditions set
+ * forth in the LICENSE file which can be found at the top level of
+ * the sendmail distribution.
+ */
+
+#include <sm/gen.h>
+SM_IDSTR(id, "@(#)$Id: t-inet6_ntop.c,v 1.2 2013/11/22 20:51:43 ca Exp $")
+
+#include <sm/conf.h>
+#if NETINET6
+#include <sm/io.h>
+#include <sm/test.h>
+#include <sm/string.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
+
+static char *ipv6f[] = {
+ "1234:5678:9abc:def0:fedc:dead:f00f:101",
+ "1080:0:0:0:8:800:200c:417a",
+ "ff01:0:0:0:0:0:0:43",
+ "0:0:0:0:0:0:0:1",
+ "1:0:0:0:0:0:0:1",
+ "0:1:0:0:0:0:0:1",
+ "0:0:1:0:0:0:0:1",
+ "0:0:0:1:0:0:0:1",
+ "0:0:0:0:1:0:0:1",
+ "0:0:0:0:0:1:0:1",
+ "0:0:0:0:0:0:1:1",
+ "1:a:b:c:d:e:f:9",
+ "0:0:0:0:0:0:0:0",
+ NULL
+};
+
+static void
+test()
+{
+ int i, r;
+ struct sockaddr_in6 addr;
+ char *ip, *ipf, ipv6str[INET6_ADDRSTRLEN];
+
+ for (i = 0; (ip = ipv6f[i]) != NULL; i++) {
+ r = inet_pton(AF_INET6, ip, &addr.sin6_addr);
+ SM_TEST(r == 1);
+ ipf = sm_inet6_ntop(&addr.sin6_addr, ipv6str, sizeof(ipv6str));
+ SM_TEST(ipf != NULL);
+ SM_TEST(strcmp(ipf, ip) == 0);
+ }
+}
+
+int
+main(argc, argv)
+ int argc;
+ char **argv;
+{
+ sm_test_begin(argc, argv, "test inet6_ntop");
+ test();
+ return sm_test_end();
+}
+#else /* NETINET6 */
+
+int
+main(argc, argv)
+ int argc;
+ char **argv;
+{
+ return 0;
+}
+#endif /* NETINET6 */
diff --git a/libsm/t-match.c b/libsm/t-match.c
index d2776c02a2b1..ec07239a49d7 100644
--- a/libsm/t-match.c
+++ b/libsm/t-match.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000 Proofpoint, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -8,7 +8,7 @@
*/
#include <sm/gen.h>
-SM_IDSTR(id, "@(#)$Id: t-match.c,v 1.9 2001/09/11 04:04:49 gshapiro Exp $")
+SM_IDSTR(id, "@(#)$Id: t-match.c,v 1.10 2013/11/22 20:51:43 ca Exp $")
#include <sm/string.h>
#include <sm/io.h>
diff --git a/libsm/t-memstat.c b/libsm/t-memstat.c
index 3bfe39415066..a4622b64b42d 100644
--- a/libsm/t-memstat.c
+++ b/libsm/t-memstat.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005-2007 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2005-2007 Proofpoint, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -8,7 +8,7 @@
*/
#include <sm/gen.h>
-SM_IDSTR(id, "@(#)$Id: t-memstat.c,v 1.9 2007/03/14 21:41:09 ca Exp $")
+SM_IDSTR(id, "@(#)$Id: t-memstat.c,v 1.11 2013/11/22 20:51:43 ca Exp $")
#include <sm/misc.h>
@@ -63,6 +63,12 @@ main(argc, argv)
case 'r':
resource = strdup(optarg);
+ if (resource == NULL)
+ {
+ fprintf(stderr, "strdup(%s) failed\n",
+ optarg);
+ exit(1);
+ }
break;
case 's':
diff --git a/libsm/t-path.c b/libsm/t-path.c
index fa6e3453b235..1387fc635e97 100644
--- a/libsm/t-path.c
+++ b/libsm/t-path.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -8,7 +8,7 @@
*/
#include <sm/gen.h>
-SM_IDSTR(id, "@(#)$Id: t-path.c,v 1.8 2001/09/11 04:04:49 gshapiro Exp $")
+SM_IDSTR(id, "@(#)$Id: t-path.c,v 1.9 2013/11/22 20:51:43 ca Exp $")
#include <string.h>
#include <sm/path.h>
diff --git a/libsm/t-qic.c b/libsm/t-qic.c
index 8a8e0c89e4aa..0e62dd44329a 100644
--- a/libsm/t-qic.c
+++ b/libsm/t-qic.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2006 Proofpoint, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -8,7 +8,7 @@
*/
#include <sm/gen.h>
-SM_IDSTR(id, "@(#)$Id: t-qic.c,v 1.9 2006/08/24 21:26:13 ca Exp $")
+SM_IDSTR(id, "@(#)$Id: t-qic.c,v 1.10 2013/11/22 20:51:43 ca Exp $")
#include <stdio.h>
#include <sm/sendmail.h>
diff --git a/libsm/t-rpool.c b/libsm/t-rpool.c
index b671a4b4be81..6408c1b469ad 100644
--- a/libsm/t-rpool.c
+++ b/libsm/t-rpool.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -8,7 +8,7 @@
*/
#include <sm/gen.h>
-SM_IDSTR(id, "@(#)$Id: t-rpool.c,v 1.18 2001/09/11 04:04:49 gshapiro Exp $")
+SM_IDSTR(id, "@(#)$Id: t-rpool.c,v 1.19 2013/11/22 20:51:43 ca Exp $")
#include <sm/debug.h>
#include <sm/heap.h>
diff --git a/libsm/t-scanf.c b/libsm/t-scanf.c
index b3ca0bd8aaef..e7e980759f66 100644
--- a/libsm/t-scanf.c
+++ b/libsm/t-scanf.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2001 Proofpoint, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -8,7 +8,7 @@
*/
#include <sm/gen.h>
-SM_IDSTR(id, "@(#)$Id: t-scanf.c,v 1.5 2001/11/13 00:51:28 ca Exp $")
+SM_IDSTR(id, "@(#)$Id: t-scanf.c,v 1.6 2013/11/22 20:51:43 ca Exp $")
#include <sm/limits.h>
#include <sm/io.h>
diff --git a/libsm/t-sem.c b/libsm/t-sem.c
index 662b4f6d43cd..017ba7cdd827 100644
--- a/libsm/t-sem.c
+++ b/libsm/t-sem.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001, 2005-2008 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001, 2005-2008 Proofpoint, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -8,7 +8,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: t-sem.c,v 1.17 2008/05/30 16:26:38 ca Exp $")
+SM_RCSID("@(#)$Id: t-sem.c,v 1.18 2013/11/22 20:51:43 ca Exp $")
#include <stdio.h>
diff --git a/libsm/t-shm.c b/libsm/t-shm.c
index ba0bc6c3ab91..5a81f225c508 100644
--- a/libsm/t-shm.c
+++ b/libsm/t-shm.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2002, 2004, 2005 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2002, 2004, 2005 Proofpoint, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -8,7 +8,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: t-shm.c,v 1.22 2005/01/14 02:14:10 ca Exp $")
+SM_RCSID("@(#)$Id: t-shm.c,v 1.23 2013/11/22 20:51:43 ca Exp $")
#include <stdio.h>
diff --git a/libsm/t-smstdio.c b/libsm/t-smstdio.c
index 3bad1c1b1556..32d770b45939 100644
--- a/libsm/t-smstdio.c
+++ b/libsm/t-smstdio.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -8,7 +8,7 @@
*/
#include <sm/gen.h>
-SM_IDSTR(id, "@(#)$Id: t-smstdio.c,v 1.11 2001/09/11 04:04:49 gshapiro Exp $")
+SM_IDSTR(id, "@(#)$Id: t-smstdio.c,v 1.12 2013/11/22 20:51:43 ca Exp $")
#include <sm/io.h>
#include <sm/string.h>
diff --git a/libsm/t-string.c b/libsm/t-string.c
index 0506e7aa4077..03e5ca80a297 100644
--- a/libsm/t-string.c
+++ b/libsm/t-string.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -8,7 +8,7 @@
*/
#include <sm/gen.h>
-SM_IDSTR(id, "@(#)$Id: t-string.c,v 1.11 2001/09/11 04:04:49 gshapiro Exp $")
+SM_IDSTR(id, "@(#)$Id: t-string.c,v 1.12 2013/11/22 20:51:43 ca Exp $")
#include <sm/exc.h>
#include <sm/io.h>
diff --git a/libsm/t-strio.c b/libsm/t-strio.c
index bb18dae688f7..17cfc7b5d9a7 100644
--- a/libsm/t-strio.c
+++ b/libsm/t-strio.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -8,7 +8,7 @@
*/
#include <sm/gen.h>
-SM_IDSTR(id, "@(#)$Id: t-strio.c,v 1.11 2001/09/11 04:04:49 gshapiro Exp $")
+SM_IDSTR(id, "@(#)$Id: t-strio.c,v 1.12 2013/11/22 20:51:44 ca Exp $")
#include <sm/string.h>
#include <sm/io.h>
#include <sm/test.h>
diff --git a/libsm/t-strl.c b/libsm/t-strl.c
index 5c118dcbe6d9..24dc8df07278 100644
--- a/libsm/t-strl.c
+++ b/libsm/t-strl.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001 Proofpoint, 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_IDSTR(id, "@(#)$Id: t-strl.c,v 1.15 2001/09/11 04:04:49 gshapiro Exp $")
+SM_IDSTR(id, "@(#)$Id: t-strl.c,v 1.16 2013/11/22 20:51:44 ca Exp $")
#include <stdlib.h>
#include <stdio.h>
diff --git a/libsm/t-strrevcmp.c b/libsm/t-strrevcmp.c
index fb8fb467d042..a4031be42e09 100644
--- a/libsm/t-strrevcmp.c
+++ b/libsm/t-strrevcmp.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2001 Proofpoint, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -8,7 +8,7 @@
*/
#include <sm/gen.h>
-SM_IDSTR(id, "@(#)$Id: t-strrevcmp.c,v 1.3 2001/09/11 04:04:49 gshapiro Exp $")
+SM_IDSTR(id, "@(#)$Id: t-strrevcmp.c,v 1.4 2013/11/22 20:51:44 ca Exp $")
#include <sm/exc.h>
#include <sm/io.h>
diff --git a/libsm/t-types.c b/libsm/t-types.c
index cb07f67571bf..aed1e93d7bc6 100644
--- a/libsm/t-types.c
+++ b/libsm/t-types.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2002 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2002 Proofpoint, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -8,7 +8,7 @@
*/
#include <sm/gen.h>
-SM_IDSTR(id, "@(#)$Id: t-types.c,v 1.18 2002/03/13 17:29:53 gshapiro Exp $")
+SM_IDSTR(id, "@(#)$Id: t-types.c,v 1.19 2013/11/22 20:51:44 ca Exp $")
#include <sm/limits.h>
#include <sm/io.h>
diff --git a/libsm/test.c b/libsm/test.c
index 361cc45576a1..117e89bb5697 100644
--- a/libsm/test.c
+++ b/libsm/test.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2002 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2002 Proofpoint, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -8,7 +8,7 @@
*/
#include <sm/gen.h>
-SM_IDSTR(Id, "@(#)$Id: test.c,v 1.16 2002/01/08 17:54:40 ca Exp $")
+SM_IDSTR(Id, "@(#)$Id: test.c,v 1.17 2013/11/22 20:51:44 ca Exp $")
/*
** Abstractions for writing libsm test programs.
diff --git a/libsm/ungetc.c b/libsm/ungetc.c
index 2f90e149059b..36d62e68f13b 100644
--- a/libsm/ungetc.c
+++ b/libsm/ungetc.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001, 2004 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001, 2004 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -13,7 +13,7 @@
*/
#include <sm/gen.h>
-SM_IDSTR(id, "@(#)$Id: ungetc.c,v 1.30 2005/06/14 23:07:20 ca Exp $")
+SM_IDSTR(id, "@(#)$Id: ungetc.c,v 1.31 2013/11/22 20:51:44 ca Exp $")
#include <stdlib.h>
#include <string.h>
diff --git a/libsm/util.c b/libsm/util.c
index 2b99a493422d..7a600ae25971 100644
--- a/libsm/util.c
+++ b/libsm/util.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2006 Proofpoint, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -10,7 +10,7 @@
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: util.c,v 1.9 2006/08/30 18:35:51 ca Exp $")
+SM_RCSID("@(#)$Id: util.c,v 1.10 2013/11/22 20:51:44 ca Exp $")
#include <sm/setjmp.h>
#include <sm/conf.h>
#include <sm/assert.h>
diff --git a/libsm/vasprintf.c b/libsm/vasprintf.c
index 69d857633995..7507656f7666 100644
--- a/libsm/vasprintf.c
+++ b/libsm/vasprintf.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -24,7 +24,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: vasprintf.c,v 1.27 2003/06/03 02:14:24 ca Exp $")
+SM_RCSID("@(#)$Id: vasprintf.c,v 1.28 2013/11/22 20:51:44 ca Exp $")
#include <stdlib.h>
#include <errno.h>
#include <sm/io.h>
diff --git a/libsm/vfprintf.c b/libsm/vfprintf.c
index c4ca9bb286a3..fcc18a10c610 100644
--- a/libsm/vfprintf.c
+++ b/libsm/vfprintf.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001, 2004 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001, 2004 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1990
* The Regents of the University of California. All rights reserved.
@@ -13,7 +13,7 @@
*/
#include <sm/gen.h>
-SM_IDSTR(id, "@(#)$Id: vfprintf.c,v 1.54 2005/05/16 03:52:00 ca Exp $")
+SM_IDSTR(id, "@(#)$Id: vfprintf.c,v 1.55 2013/11/22 20:51:44 ca Exp $")
/*
** Overall:
diff --git a/libsm/vfscanf.c b/libsm/vfscanf.c
index 8701ef7bf8c5..a2b871a60709 100644
--- a/libsm/vfscanf.c
+++ b/libsm/vfscanf.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001, 2004 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001, 2004 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -13,7 +13,7 @@
*/
#include <sm/gen.h>
-SM_IDSTR(id, "@(#)$Id: vfscanf.c,v 1.54 2006/10/12 22:03:52 ca Exp $")
+SM_IDSTR(id, "@(#)$Id: vfscanf.c,v 1.55 2013/11/22 20:51:44 ca Exp $")
#include <ctype.h>
#include <stdlib.h>
diff --git a/libsm/vprintf.c b/libsm/vprintf.c
index 6e310efa6fc5..4061a6690849 100644
--- a/libsm/vprintf.c
+++ b/libsm/vprintf.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -13,7 +13,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: vprintf.c,v 1.14 2001/09/11 04:04:49 gshapiro Exp $")
+SM_RCSID("@(#)$Id: vprintf.c,v 1.15 2013/11/22 20:51:44 ca Exp $")
#include <sm/io.h>
#include "local.h"
diff --git a/libsm/vsnprintf.c b/libsm/vsnprintf.c
index 18a46358bda5..15abcbacd478 100644
--- a/libsm/vsnprintf.c
+++ b/libsm/vsnprintf.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -13,7 +13,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: vsnprintf.c,v 1.23 2001/09/11 04:04:49 gshapiro Exp $")
+SM_RCSID("@(#)$Id: vsnprintf.c,v 1.24 2013/11/22 20:51:44 ca Exp $")
#include <limits.h>
#include <sm/io.h>
#include "local.h"
diff --git a/libsm/wbuf.c b/libsm/wbuf.c
index 83855351cec4..b52e97e0c63a 100644
--- a/libsm/wbuf.c
+++ b/libsm/wbuf.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2001 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -13,7 +13,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: wbuf.c,v 1.21 2001/09/11 04:04:49 gshapiro Exp $")
+SM_RCSID("@(#)$Id: wbuf.c,v 1.22 2013/11/22 20:51:44 ca Exp $")
#include <errno.h>
#include <sm/io.h>
#include "local.h"
diff --git a/libsm/wsetup.c b/libsm/wsetup.c
index 400553e17c8c..1d8b48f30bba 100644
--- a/libsm/wsetup.c
+++ b/libsm/wsetup.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000-2002 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000-2002 Proofpoint, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -13,7 +13,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: wsetup.c,v 1.20 2002/02/07 18:02:45 ca Exp $")
+SM_RCSID("@(#)$Id: wsetup.c,v 1.21 2013/11/22 20:51:44 ca Exp $")
#include <stdlib.h>
#include <errno.h>
#include <sm/io.h>
diff --git a/libsm/xtrap.c b/libsm/xtrap.c
index 7495e0994d06..c25450bf7425 100644
--- a/libsm/xtrap.c
+++ b/libsm/xtrap.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000 Sendmail, Inc. and its suppliers.
+ * Copyright (c) 2000 Proofpoint, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
@@ -8,7 +8,7 @@
*/
#include <sm/gen.h>
-SM_RCSID("@(#)$Id: xtrap.c,v 1.5 2001/09/11 04:04:49 gshapiro Exp $")
+SM_RCSID("@(#)$Id: xtrap.c,v 1.6 2013/11/22 20:51:44 ca Exp $")
#include <sm/xtrap.h>