summaryrefslogtreecommitdiff
path: root/mail/sendmail88/patches/patch-al
blob: bab2dac2cafa62df8ec22f4ca280919eb020d00e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-al,v 1.1.1.1 2000/02/13 00:14:48 tron Exp $

--- makemap/makemap.c.orig	Tue Sep 23 18:11:10 1997
+++ makemap/makemap.c	Sat Feb 12 23:28:26 2000
@@ -37,7 +37,7 @@
 #endif /* not lint */
 
 #include <sys/types.h>
-#include <sys/errno.h>
+#include <errno.h>
 #ifndef ISC_UNIX
 # include <sys/file.h>
 #endif
@@ -152,7 +152,7 @@
 #else
 #define OPTIONS		"Ndforv"
 #endif
-	while ((opt = getopt(argc, argv, OPTIONS)) != EOF)
+	while ((opt = getopt(argc, argv, OPTIONS)) != -1)
 	{
 		switch (opt)
 		{