SCO compatibility
authorEric Allman <eric@ucbvax.Berkeley.EDU>
Sat, 17 Jul 1993 01:23:23 +0000 (17:23 -0800)
committerEric Allman <eric@ucbvax.Berkeley.EDU>
Sat, 17 Jul 1993 01:23:23 +0000 (17:23 -0800)
SCCS-vsn: usr.sbin/sendmail/src/conf.c 8.4

usr/src/usr.sbin/sendmail/src/conf.c

index d0c3cec..2217c34 100644 (file)
@@ -7,7 +7,7 @@
  */
 
 #ifndef lint
  */
 
 #ifndef lint
-static char sccsid[] = "@(#)conf.c     8.3 (Berkeley) %G%";
+static char sccsid[] = "@(#)conf.c     8.4 (Berkeley) %G%";
 #endif /* not lint */
 
 # include <sys/ioctl.h>
 #endif /* not lint */
 
 # include <sys/ioctl.h>
@@ -465,7 +465,7 @@ checkcompat(to, e)
 # ifdef lint
        if (to == NULL)
                to++;
 # ifdef lint
        if (to == NULL)
                to++;
-# endif lint
+# endif /* lint */
 # ifdef EXAMPLE_CODE
        /* this code is intended as an example only */
        register STAB *s;
 # ifdef EXAMPLE_CODE
        /* this code is intended as an example only */
        register STAB *s;
@@ -1298,7 +1298,7 @@ transienterror(err)
 #ifdef EADDRNOTAVAIL
          case EADDRNOTAVAIL:           /* Can't assign requested address */
 #endif
 #ifdef EADDRNOTAVAIL
          case EADDRNOTAVAIL:           /* Can't assign requested address */
 #endif
-#ifdef ENOSR
+#if defined(ENOSR) && (!defined(ENOBUFS) || (ENOBUFS != ENOSR))
          case ENOSR:                   /* Out of streams resources */
 #endif
                return TRUE;
          case ENOSR:                   /* Out of streams resources */
 #endif
                return TRUE;