diff options
author | fredb <fredb@pkgsrc.org> | 2002-07-27 10:47:29 +0000 |
---|---|---|
committer | fredb <fredb@pkgsrc.org> | 2002-07-27 10:47:29 +0000 |
commit | ed43b117282bc40b28ec3f6b916b0a20b8ebd5b2 (patch) | |
tree | 47d9913b72b0b03801ee9f5075732a90425742d0 /comms/mgetty+sendfax/patches | |
parent | 927428ff225bd52e721bcac56d8cc84d6a17b4e9 (diff) | |
download | pkgsrc-ed43b117282bc40b28ec3f6b916b0a20b8ebd5b2.tar.gz |
Revert last change. Gert Doering says that's not a bug - it's a feature.
I'll look at fixing "w", instead.
Diffstat (limited to 'comms/mgetty+sendfax/patches')
-rw-r--r-- | comms/mgetty+sendfax/patches/patch-af | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/comms/mgetty+sendfax/patches/patch-af b/comms/mgetty+sendfax/patches/patch-af deleted file mode 100644 index c75be04e729..00000000000 --- a/comms/mgetty+sendfax/patches/patch-af +++ /dev/null @@ -1,34 +0,0 @@ -$NetBSD: patch-af,v 1.3 2002/07/24 18:37:35 fredb Exp $ - ---- mgetty.c.orig Mon Dec 17 16:31:52 2001 -+++ mgetty.c -@@ -190,6 +190,14 @@ - lprintf( L_MESG, "stealing lock file from pid=%d", pid ); - if ( steal_lock( Device, pid ) == ERROR ) return St_dialout; - -+ /* write a note to utmp/wtmp about dialout, including process args -+ * (don't do this on two-user-license systems!) -+ */ -+#ifndef USER_LIMIT -+ pid = checklock( Device ); /* !! FIXME, ugly */ -+ make_utmp_wtmp( Device, UT_USER, "dialout", get_ps_args(pid) ); -+#endif -+ - /* signal user */ - printf( "...ok\r\n" ); - -@@ -217,14 +225,6 @@ - /* the line is locked, a parallel dialout is in process */ - - virtual_ring = FALSE; /* used to signal callback */ -- -- /* write a note to utmp/wtmp about dialout, including process args -- * (don't do this on two-user-license systems!) -- */ --#ifndef USER_LIMIT -- pid = checklock( Device ); /* !! FIXME, ugly */ -- make_utmp_wtmp( Device, UT_USER, "dialout", get_ps_args(pid) ); --#endif - - /* close all file descriptors -> other processes can read port */ - close(0); |