From owner-cvs-lib Sun Jul 13 00:29:34 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA09557 for cvs-lib-outgoing; Sun, 13 Jul 1997 00:29:34 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA09525; Sun, 13 Jul 1997 00:28:42 -0700 (PDT) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id AAA07221; Sun, 13 Jul 1997 00:28:08 -0700 (PDT) Date: Sun, 13 Jul 1997 00:28:08 -0700 (PDT) Message-Id: <199707130728.AAA07221@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libc/locale ispunct.3 Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1997/07/13 00:28:08 PDT Modified files: lib/libc/locale ispunct.3 Log: Fixed quoting of backslash. Revision Changes Path 1.4 +1 -1 src/lib/libc/locale/ispunct.3 From owner-cvs-lib Sun Jul 13 07:46:32 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id HAA21011 for cvs-lib-outgoing; Sun, 13 Jul 1997 07:46:32 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id HAA20947; Sun, 13 Jul 1997 07:46:05 -0700 (PDT) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id HAA25616; Sun, 13 Jul 1997 07:45:29 -0700 (PDT) Date: Sun, 13 Jul 1997 07:45:29 -0700 (PDT) Message-Id: <199707131445.HAA25616@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/msun/man lgamma.3 Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1997/07/13 07:45:29 PDT Modified files: lib/msun/man lgamma.3 Log: Fixed minor bugs related to the addition of gammaf. The major bug, that gamma is documented as really being gamma, is still unfixed. Revision Changes Path 1.6 +3 -3 src/lib/msun/man/lgamma.3 From owner-cvs-lib Mon Jul 14 06:22:28 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id GAA20847 for cvs-lib-outgoing; Mon, 14 Jul 1997 06:22:28 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA20818; Mon, 14 Jul 1997 06:21:54 -0700 (PDT) From: Michael Smith Received: (from msmith@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id GAA04648; Mon, 14 Jul 1997 06:21:10 -0700 (PDT) Date: Mon, 14 Jul 1997 06:21:10 -0700 (PDT) Message-Id: <199707141321.GAA04648@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libedit search.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk msmith 1997/07/14 06:21:09 PDT Modified files: lib/libedit search.c Log: Fix vi-mode searching broken with the NetBSD changes update. PR: bin/4064 Submitted by: Wolfgang Helbig Revision Changes Path 1.6 +2 -4 src/lib/libedit/search.c From owner-cvs-lib Tue Jul 15 09:49:27 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id JAA09733 for cvs-lib-outgoing; Tue, 15 Jul 1997 09:49:27 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA09514; Tue, 15 Jul 1997 09:46:44 -0700 (PDT) From: John Polstra Received: (from jdp@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id JAA26821; Tue, 15 Jul 1997 09:45:50 -0700 (PDT) Date: Tue, 15 Jul 1997 09:45:50 -0700 (PDT) Message-Id: <199707151645.JAA26821@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libedit termcap.h Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jdp 1997/07/15 09:45:50 PDT Removed files: lib/libedit termcap.h Log: Kill this file really dead. The default branch was cleared, even though the file was still on the vendor branch. I don't know why. It doesn't look like the cvs-add-on-a-branch bug that we already know about. From owner-cvs-lib Thu Jul 17 23:37:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id XAA03145 for cvs-lib-outgoing; Thu, 17 Jul 1997 23:37:46 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA02803; Thu, 17 Jul 1997 23:33:54 -0700 (PDT) From: Satoshi Asami Received: (from asami@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id XAA26930; Thu, 17 Jul 1997 23:32:40 -0700 (PDT) Date: Thu, 17 Jul 1997 23:32:40 -0700 (PDT) Message-Id: <199707180632.XAA26930@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libkvm Makefile Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk asami 1997/07/17 23:32:40 PDT Modified files: lib/libkvm Makefile Log: Add ${DESTDIR} in front of absolute path. Revision Changes Path 1.3 +1 -1 src/lib/libkvm/Makefile From owner-cvs-lib Thu Jul 17 23:38:18 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id XAA03187 for cvs-lib-outgoing; Thu, 17 Jul 1997 23:38:18 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA02897; Thu, 17 Jul 1997 23:34:28 -0700 (PDT) From: Satoshi Asami Received: (from asami@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id XAA26975; Thu, 17 Jul 1997 23:33:13 -0700 (PDT) Date: Thu, 17 Jul 1997 23:33:13 -0700 (PDT) Message-Id: <199707180633.XAA26975@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libkvm Makefile Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk asami 1997/07/17 23:33:13 PDT Modified files: (Branch: RELENG_2_2) lib/libkvm Makefile Log: Merge 1.3. Revision Changes Path 1.2.8.1 +1 -1 src/lib/libkvm/Makefile From owner-cvs-lib Fri Jul 18 00:33:12 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA06245 for cvs-lib-outgoing; Fri, 18 Jul 1997 00:33:12 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA06006; Fri, 18 Jul 1997 00:29:12 -0700 (PDT) From: Satoshi Asami Received: (from asami@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id AAA27466; Fri, 18 Jul 1997 00:27:57 -0700 (PDT) Date: Fri, 18 Jul 1997 00:27:57 -0700 (PDT) Message-Id: <199707180727.AAA27466@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libutil Makefile src/lib/libipx Makefile src/lib/libscsi Makefile Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk asami 1997/07/18 00:27:57 PDT Modified files: lib/libutil Makefile lib/libipx Makefile lib/libscsi Makefile Log: Add appropriate ${DESTDIR} in front of absolute paths. Revision Changes Path 1.14 +1 -1 src/lib/libutil/Makefile 1.2 +1 -1 src/lib/libipx/Makefile 1.6 +1 -1 src/lib/libscsi/Makefile From owner-cvs-lib Fri Jul 18 00:33:29 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA06265 for cvs-lib-outgoing; Fri, 18 Jul 1997 00:33:29 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA06030; Fri, 18 Jul 1997 00:29:51 -0700 (PDT) From: Satoshi Asami Received: (from asami@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id AAA27537; Fri, 18 Jul 1997 00:28:36 -0700 (PDT) Date: Fri, 18 Jul 1997 00:28:36 -0700 (PDT) Message-Id: <199707180728.AAA27537@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libutil Makefile src/lib/libipx Makefile src/lib/libscsi Makefile Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk asami 1997/07/18 00:28:36 PDT Modified files: (Branch: RELENG_2_2) lib/libutil Makefile lib/libipx Makefile lib/libscsi Makefile Log: MFC: add ${DESTDIR}. Revision Changes Path 1.3.2.3 +1 -1 src/lib/libutil/Makefile 1.1.2.1 +1 -1 src/lib/libipx/Makefile 1.5.2.1 +1 -1 src/lib/libscsi/Makefile From owner-cvs-lib Fri Jul 18 00:40:46 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA06702 for cvs-lib-outgoing; Fri, 18 Jul 1997 00:40:46 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA06690; Fri, 18 Jul 1997 00:40:39 -0700 (PDT) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.5/8.7.3) id RAA05682; Fri, 18 Jul 1997 17:10:33 +0930 (CST) From: Michael Smith Message-Id: <199707180740.RAA05682@genesis.atrad.adelaide.edu.au> Subject: Re: cvs commit: src/lib/libutil Makefile src/lib/libipx Makefile src/lib/libscsi Makefile In-Reply-To: <199707180728.AAA27537@freefall.freebsd.org> from Satoshi Asami at "Jul 18, 97 00:28:36 am" To: asami@FreeBSD.ORG (Satoshi Asami) Date: Fri, 18 Jul 1997 17:10:33 +0930 (CST) Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Satoshi Asami stands accused of saying: > asami 1997/07/18 00:28:36 PDT > > Modified files: (Branch: RELENG_2_2) > lib/libutil Makefile While you're beating up on this, can you make sure that the libutil Makefile is putting the auto-generated files in the correct directory? I have this bad feeling that they end up in the wrong place. -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[ From owner-cvs-lib Fri Jul 18 02:53:38 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA13123 for cvs-lib-outgoing; Fri, 18 Jul 1997 02:53:38 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA12892; Fri, 18 Jul 1997 02:49:53 -0700 (PDT) From: Peter Wemm Received: (from peter@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id CAA27990; Fri, 18 Jul 1997 02:48:38 -0700 (PDT) Date: Fri, 18 Jul 1997 02:48:38 -0700 (PDT) Message-Id: <199707180948.CAA27990@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libc/gen sleep.c usleep.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 1997/07/18 02:48:38 PDT Modified files: lib/libc/gen sleep.c usleep.c Log: Make sleep() and usleep() "eat" any stray SIGALRM signals during the lifetime of the call, just like the old implementation did. Previously, we were only eating them if the application did not call sleep()/usleep() with SIGALRM masked. Submitted by: ache Revision Changes Path 1.12 +15 -25 src/lib/libc/gen/sleep.c 1.11 +14 -24 src/lib/libc/gen/usleep.c From owner-cvs-lib Fri Jul 18 03:35:39 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id DAA14540 for cvs-lib-outgoing; Fri, 18 Jul 1997 03:35:39 -0700 (PDT) Received: from silvia.HIP.Berkeley.EDU (wck-ca4-23.ix.netcom.com [199.35.213.151]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA14370; Fri, 18 Jul 1997 03:31:44 -0700 (PDT) Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.8.6/8.6.9) id DAA01771; Fri, 18 Jul 1997 03:31:09 -0700 (PDT) Date: Fri, 18 Jul 1997 03:31:09 -0700 (PDT) Message-Id: <199707181031.DAA01771@silvia.HIP.Berkeley.EDU> To: msmith@atrad.adelaide.edu.au CC: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG In-reply-to: <199707180740.RAA05682@genesis.atrad.adelaide.edu.au> (message from Michael Smith on Fri, 18 Jul 1997 17:10:33 +0930 (CST)) Subject: Re: cvs commit: src/lib/libutil Makefile src/lib/libipx Makefile src/lib/libscsi Makefile From: asami@cs.berkeley.edu (Satoshi Asami) Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk * While you're beating up on this, can you make sure that the libutil * Makefile is putting the auto-generated files in the correct directory? * * I have this bad feeling that they end up in the wrong place. I'm not sure what you mean. The libutil Makefile is only installing two header files by itself, they aren't auto-generated and they both go to ${DESTDIR}/usr/include. Satoshi From owner-cvs-lib Fri Jul 18 05:09:16 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id FAA17671 for cvs-lib-outgoing; Fri, 18 Jul 1997 05:09:16 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id FAA17656; Fri, 18 Jul 1997 05:09:07 -0700 (PDT) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.5/8.7.3) id VAA08211; Fri, 18 Jul 1997 21:38:59 +0930 (CST) From: Michael Smith Message-Id: <199707181208.VAA08211@genesis.atrad.adelaide.edu.au> Subject: Re: cvs commit: src/lib/libutil Makefile src/lib/libipx Makefile src/lib/libscsi Makefile In-Reply-To: <199707181031.DAA01771@silvia.HIP.Berkeley.EDU> from Satoshi Asami at "Jul 18, 97 03:31:09 am" To: asami@cs.berkeley.edu (Satoshi Asami) Date: Fri, 18 Jul 1997 21:38:59 +0930 (CST) Cc: msmith@atrad.adelaide.edu.au, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Satoshi Asami stands accused of saying: > * While you're beating up on this, can you make sure that the libutil > * Makefile is putting the auto-generated files in the correct directory? > * > * I have this bad feeling that they end up in the wrong place. > > I'm not sure what you mean. The libutil Makefile is only installing > two header files by itself, they aren't auto-generated and they both > go to ${DESTDIR}/usr/include. Sorry, frain fart. libutil != liobedit. > Satoshi > -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[ From owner-cvs-lib Fri Jul 18 21:50:39 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id VAA06532 for cvs-lib-outgoing; Fri, 18 Jul 1997 21:50:39 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id VAA06398; Fri, 18 Jul 1997 21:48:27 -0700 (PDT) From: David Nugent Received: (from davidn@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id VAA19384; Fri, 18 Jul 1997 21:47:05 -0700 (PDT) Date: Fri, 18 Jul 1997 21:47:05 -0700 (PDT) Message-Id: <199707190447.VAA19384@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libutil login_auth.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidn 1997/07/18 21:47:05 PDT Modified files: lib/libutil login_auth.c Log: sleep() after sending 'nologin' file to ensure output is drained before disconnect. Revision Changes Path 1.8 +2 -1 src/lib/libutil/login_auth.c From owner-cvs-lib Fri Jul 18 21:54:22 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id VAA06718 for cvs-lib-outgoing; Fri, 18 Jul 1997 21:54:22 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id VAA06583; Fri, 18 Jul 1997 21:52:26 -0700 (PDT) From: David Nugent Received: (from davidn@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id VAA19436; Fri, 18 Jul 1997 21:51:04 -0700 (PDT) Date: Fri, 18 Jul 1997 21:51:04 -0700 (PDT) Message-Id: <199707190451.VAA19436@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libutil login_auth.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidn 1997/07/18 21:51:04 PDT Modified files: (Branch: RELENG_2_2) lib/libutil login_auth.c Log: MFC: sleep() after sending nologin file. Revision Changes Path 1.7.2.1 +2 -1 src/lib/libutil/login_auth.c From owner-cvs-lib Fri Jul 18 22:11:14 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id WAA07334 for cvs-lib-outgoing; Fri, 18 Jul 1997 22:11:14 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id WAA07326; Fri, 18 Jul 1997 22:11:08 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.5/8.6.9) id PAA27608; Sat, 19 Jul 1997 15:09:36 +1000 Date: Sat, 19 Jul 1997 15:09:36 +1000 From: Bruce Evans Message-Id: <199707190509.PAA27608@godzilla.zeta.org.au> To: cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-lib@FreeBSD.ORG, davidn@FreeBSD.ORG Subject: Re: cvs commit: src/lib/libutil login_auth.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >davidn 1997/07/18 21:47:05 PDT > > Modified files: > lib/libutil login_auth.c > Log: > sleep() after sending 'nologin' file to ensure output is drained before > disconnect. This should use tcdrain(3). Bruce From owner-cvs-lib Fri Jul 18 22:33:49 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id WAA08199 for cvs-lib-outgoing; Fri, 18 Jul 1997 22:33:49 -0700 (PDT) Received: from labs.usn.blaze.net.au (labs.usn.blaze.net.au [203.17.53.30]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id WAA08189; Fri, 18 Jul 1997 22:33:23 -0700 (PDT) Received: from labs.usn.blaze.net.au (local [127.0.0.1]) by labs.usn.blaze.net.au (8.8.6/8.8.5) with ESMTP id PAA01163; Sat, 19 Jul 1997 15:32:14 +1000 (EST) Message-Id: <199707190532.PAA01163@labs.usn.blaze.net.au> X-Mailer: exmh version 2.0gamma 1/27/96 To: Bruce Evans cc: cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-lib@FreeBSD.ORG, davidn@FreeBSD.ORG Subject: Re: cvs commit: src/lib/libutil login_auth.c In-reply-to: Your message of "Sat, 19 Jul 1997 15:09:36 +1000." <199707190509.PAA27608@godzilla.zeta.org.au> X-Face: (W@z~5kg?"+5?!2kHP)+l369.~a@oTl^8l87|/s8"EH?Uk~P#N+Ec~Z&@;'LL!;3?y Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 19 Jul 1997 15:32:14 +1000 From: David Nugent Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > Modified files: > > lib/libutil login_auth.c > > Log: > > sleep() after sending 'nologin' file to ensure output is drained before > > disconnect. > > This should use tcdrain(3). Well, no, it doesn't appear to be an operating system issue. The sleep() is done after the close(). The problem occurs when DCD on a serial port is lowered before the *modem* has sent all of its data, and I can easily reproduce the problem on a telnet connection as well (due to telnet's usual misfeature of quitting early). tcdrain() before the close() has no effect - I tried that before I understood the problem. -- David Nugent - Unique Computing Pty Ltd - Melbourne, Australia Voice +61-3-9791-9547 Data/BBS +61-3-9792-3507 3:632/348@fidonet davidn@freebsd.org davidn@blaze.net.au http://www.blaze.net.au/~davidn/ From owner-cvs-lib Fri Jul 18 23:34:26 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id XAA10309 for cvs-lib-outgoing; Fri, 18 Jul 1997 23:34:26 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA10274; Fri, 18 Jul 1997 23:34:18 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.5/8.6.9) id QAA29484; Sat, 19 Jul 1997 16:28:26 +1000 Date: Sat, 19 Jul 1997 16:28:26 +1000 From: Bruce Evans Message-Id: <199707190628.QAA29484@godzilla.zeta.org.au> To: bde@zeta.org.au, davidn@labs.usn.blaze.net.au Subject: Re: cvs commit: src/lib/libutil login_auth.c Cc: cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-lib@FreeBSD.ORG, davidn@FreeBSD.ORG Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >> > Modified files: >> > lib/libutil login_auth.c >> > Log: >> > sleep() after sending 'nologin' file to ensure output is drained before >> > disconnect. >> >> This should use tcdrain(3). > >Well, no, it doesn't appear to be an operating system issue. The >sleep() is done after the close(). The problem occurs when DCD >on a serial port is lowered before the *modem* has sent all of >its data, and I can easily reproduce the problem on a telnet What modem? Output might be connected to the console, and then an unnecessary sleep is very annoying. >connection as well (due to telnet's usual misfeature of quitting >early). tcdrain() before the close() has no effect - I tried that >before I understood the problem. This might be caused by driver bugs. Draining didn't work right in sio before rev.1.152 (1996/11/30), and corresponding fixes haven't been made in any other serial drivers :-(. Telnet seems to work right here. I tried a 75K file for /etc/nologin. It's hard handle the modem hanging up before sending all the data that has been sent to it. A naive calculation like sleeptime = howmany(filesize, DTEspeed / 10); is very wrong if the effective line speed is much smaller than the DTE speed or the file size is much smaller than the modem buffer size. Bruce