aboutsummaryrefslogtreecommitdiff
path: root/mail/mh
diff options
context:
space:
mode:
authorPaul Traina <pst@FreeBSD.org>1998-02-23 23:03:38 +0000
committerPaul Traina <pst@FreeBSD.org>1998-02-23 23:03:38 +0000
commit4001669226215f924bec49553cd5e25d5cef9b21 (patch)
tree326e53678d2fef3f9032cdabb9946d38a8c893c5 /mail/mh
parent3635f4776ccd31c1280ac24695c46ca44dd56921 (diff)
downloadports-4001669226215f924bec49553cd5e25d5cef9b21.tar.gz
ports-4001669226215f924bec49553cd5e25d5cef9b21.zip
Notes
Diffstat (limited to 'mail/mh')
-rw-r--r--mail/mh/files/patch-ac21
1 files changed, 19 insertions, 2 deletions
diff --git a/mail/mh/files/patch-ac b/mail/mh/files/patch-ac
index 9a4d62dc4381..09da93c5c6c9 100644
--- a/mail/mh/files/patch-ac
+++ b/mail/mh/files/patch-ac
@@ -102,7 +102,24 @@
continue; /* else fall */
case '>':
***************
-*** 1312,1330 ****
+*** 818,824 ****
+ if (utmped)
+ return utmped;
+
+! if ((uf = fopen ("/etc/utmp", "r")) == NULL)
+ return NOTOK;
+
+ while (fread ((char *) &ut, sizeof ut, 1, uf) == 1)
+--- 859,865 ----
+ if (utmped)
+ return utmped;
+
+! if ((uf = fopen (_PATH_UTMP, "r")) == NULL)
+ return NOTOK;
+
+ while (fread ((char *) &ut, sizeof ut, 1, uf) == 1)
+***************
+*** 1314,1332 ****
fl.l_whence = 0;
fl.l_start = 0;
fl.l_len = 0;
@@ -122,7 +139,7 @@
advise (file, "unable to perform flock on");
goto out;
}
---- 1353,1371 ----
+--- 1355,1373 ----
fl.l_whence = 0;
fl.l_start = 0;
fl.l_len = 0;