From owner-cvs-src@FreeBSD.ORG Sat Sep 24 00:38:49 2005 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5FE3116A425; Sat, 24 Sep 2005 00:38:49 +0000 (GMT) (envelope-from cognet@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21BD643D49; Sat, 24 Sep 2005 00:38:49 +0000 (GMT) (envelope-from cognet@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j8NNOtnu030485; Fri, 23 Sep 2005 23:24:55 GMT (envelope-from cognet@repoman.freebsd.org) Received: (from cognet@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j8NNOtlc030484; Fri, 23 Sep 2005 23:24:55 GMT (envelope-from cognet) Message-Id: <200509232324.j8NNOtlc030484@repoman.freebsd.org> From: Olivier Houchard Date: Fri, 23 Sep 2005 23:24:55 +0000 (UTC) To: src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/usr.sbin/watch watch.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Sep 2005 00:38:49 -0000 cognet 2005-09-23 23:24:55 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) usr.sbin/watch watch.c Log: MFC rev 1.32, 1.33, 1.34: revision 1.32 date: 2005/09/18 19:24:05; author: cognet; state: Exp; lines: +8 -2 Open the tty device and pass the fd for SNPSTTY. revision 1.33 date: 2005/09/19 13:48:45; author: ru; state: Exp; lines: +3 -3 Restore the ability to detach from a tty via SIOCSTTY and document recent changes in a manpage. revision 1.34 date: 2005/09/21 14:30:14; author: cognet; state: Exp; lines: +8 -8 Close the tty file descriptor once we're done with it. Use O_NONBLOCK when opening the tty device. Approved by: re Revision Changes Path 1.31.8.1 +11 -5 src/usr.sbin/watch/watch.c