----- delivermail ==> postbox -----
authorEric Allman <eric@ucbvax.Berkeley.EDU>
Sun, 8 Mar 1981 06:27:18 +0000 (22:27 -0800)
committerEric Allman <eric@ucbvax.Berkeley.EDU>
Sun, 8 Mar 1981 06:27:18 +0000 (22:27 -0800)
SCCS-vsn: usr.sbin/sendmail/src/sysexits.c 3.1
SCCS-vsn: usr.sbin/sendmail/src/useful.h 3.1
SCCS-vsn: usr.sbin/sendmail/src/util.c 3.2
SCCS-vsn: usr.sbin/sendmail/src/version.c 3.1

usr/src/usr.sbin/sendmail/src/sysexits.c
usr/src/usr.sbin/sendmail/src/useful.h
usr/src/usr.sbin/sendmail/src/util.c
usr/src/usr.sbin/sendmail/src/version.c

index 30f92b6..91c4660 100644 (file)
@@ -1,6 +1,6 @@
 # include <sysexits.h>
 
 # include <sysexits.h>
 
-static char    SccsId[] = "@(#)sysexits.c      2.1     %G%";
+static char    SccsId[] = "@(#)sysexits.c      3.1     %G%";
 
 /*
 **  SYSEXITS.C -- error messages corresponding to sysexits.h
 
 /*
 **  SYSEXITS.C -- error messages corresponding to sysexits.h
index 3af6ee3..2656111 100644 (file)
@@ -1,7 +1,7 @@
 /*
 **  USEFUL.H -- Some useful stuff.
 **
 /*
 **  USEFUL.H -- Some useful stuff.
 **
-**     @(#)useful.h    2.1     %G%
+**     @(#)useful.h    3.1     %G%
 */
 
 # define bool  char
 */
 
 # define bool  char
@@ -11,3 +11,7 @@
 # ifndef NULL
 # define NULL  0
 # endif NULL
 # ifndef NULL
 # define NULL  0
 # endif NULL
+
+# define setbit(bit, word)     (word |= bit)
+# define clrbit(bit, word)     (word &= ~bit)
+# define bitset(bit, word)     ((word) & (bit))
index c91a2a4..8286c45 100644 (file)
@@ -2,7 +2,7 @@
 # include "useful.h"
 # include <ctype.h>
 
 # include "useful.h"
 # include <ctype.h>
 
-static char    SccsId[] = "@(#)util.c  3.1     %G%";
+static char    SccsId[] = "@(#)util.c  3.2     %G%";
 
 /*
 **  STRIPQUOTES -- Strip quotes & quote bits from a string.
 
 /*
 **  STRIPQUOTES -- Strip quotes & quote bits from a string.
@@ -129,33 +129,3 @@ newstr(s)
        strcpy(p, s);
        return (p);
 }
        strcpy(p, s);
        return (p);
 }
-\f/*
-**  ANY -- Return TRUE if the character exists in the string.
-**
-**     Parameters:
-**             c -- the character.
-**             s -- the string
-**                     (sounds like an avant garde script)
-**
-**     Returns:
-**             TRUE -- if c could be found in s.
-**             FALSE -- otherwise.
-**
-**     Side Effects:
-**             none.
-**
-**     Called By:
-**             prescan
-*/
-
-any(c, s)
-       register char c;
-       register char *s;
-{
-       register char c2;
-
-       while ((c2 = *s++) != '\0')
-               if (c2 == c)
-                       return (TRUE);
-       return (FALSE);
-}
index 86a4d6b..ada92d8 100644 (file)
@@ -1 +1 @@
-char   Version[] = "@(#)Delivermail version 2.8 of %G%";
+char   Version[] = "@(#)PostBox version 3.1 of %G%";