diff options
author | max <max@FreeBSD.org> | 1997-01-07 17:26:49 +0800 |
---|---|---|
committer | max <max@FreeBSD.org> | 1997-01-07 17:26:49 +0800 |
commit | e076b9a71170d5af1adccf385879c56e3e118a04 (patch) | |
tree | 89e21a4538cb07e9bffdb03d79caf582e7a4d8c5 /mail/mh/files | |
parent | 8ced9701a5e347cfe2552a87462b57b4619ba56a (diff) | |
download | freebsd-ports-graphics-e076b9a71170d5af1adccf385879c56e3e118a04.tar.gz freebsd-ports-graphics-e076b9a71170d5af1adccf385879c56e3e118a04.tar.zst freebsd-ports-graphics-e076b9a71170d5af1adccf385879c56e3e118a04.zip |
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
Diffstat (limited to 'mail/mh/files')
-rw-r--r-- | mail/mh/files/patch-af | 11 |
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 00000000000..b8532b1d887 --- /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 |