summaryrefslogtreecommitdiff
path: root/mail/mh
diff options
context:
space:
mode:
authorMasafumi Max NAKANE <max@FreeBSD.org>1997-01-07 09:26:49 +0000
committerMasafumi Max NAKANE <max@FreeBSD.org>1997-01-07 09:26:49 +0000
commit5e801915d5764131fb620121a036d8e3248d08aa (patch)
tree284ffbea133f7578de56b55c00e3f037b796cb76 /mail/mh
parent- use installed header files for tcl and tk; (diff)
Due to hardcoded wrong utmp location, lib/mh/rcvtty didn't work.
(Closing PR #1965.) Submitted by: Tom Pusateri <pusateri@jnx.com> PR-Ignored by: pst
Notes
Notes: svn path=/head/; revision=5249
Diffstat (limited to 'mail/mh')
-rw-r--r--mail/mh/files/patch-af11
1 files changed, 11 insertions, 0 deletions
diff --git a/mail/mh/files/patch-af b/mail/mh/files/patch-af
new file mode 100644
index 000000000000..b8532b1d887b
--- /dev/null
+++ b/mail/mh/files/patch-af
@@ -0,0 +1,11 @@
+--- uip/rcvtty.c.orig Tue Jan 7 18:04:11 1997
++++ uip/rcvtty.c Tue Jan 7 18:13:50 1997
+@@ -158,7 +158,7 @@
+
+ user = getusr ();
+ #ifndef TTYD
+- if ((uf = fopen ("/etc/utmp", "r")) == NULL)
++ if ((uf = fopen (_PATH_UTMP, "r")) == NULL)
+ exit (RCV_MBX);
+ while (fread ((char *) &ut, sizeof ut, 1, uf) == 1)
+ if (ut.ut_name[0] != 0