From nobody@FreeBSD.org  Wed Jun 27 00:54:33 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 7908A16A46C
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 27 Jun 2007 00:54:33 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id 6B49D13C484
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 27 Jun 2007 00:54:33 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l5R0sXLB002522
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 27 Jun 2007 00:54:33 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l5R0sXjk002521;
	Wed, 27 Jun 2007 00:54:33 GMT
	(envelope-from nobody)
Message-Id: <200706270054.l5R0sXjk002521@www.freebsd.org>
Date: Wed, 27 Jun 2007 00:54:33 GMT
From: David Sanderson <dsanderson@panasas.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: "TIOSCTTY" typo in tty.4
X-Send-Pr-Version: www-3.0

>Number:         114058
>Category:       docs
>Synopsis:       [patch] "TIOSCTTY" typo in tty.4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    remko
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 27 01:00:10 GMT 2007
>Closed-Date:    Sun Nov 11 11:51:18 UTC 2007
>Last-Modified:  Sun Nov 11 12:00:07 UTC 2007
>Originator:     David Sanderson
>Release:        FreeBSD 6.2
>Organization:
Panasas, Inc.
>Environment:
FreeBSD perf-x4 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 08:43:30 UTC 2007     root@portnoy.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP  amd64

>Description:
The tty(4) entry for TIOCNOTTY erroneously mentions "TIOSCTTY" instead of "TIOCSCTTY":

                 The current system does not allocate a controlling terminal
                 to a process on an open() call: there is a specific ioctl
                 called TIOSCTTY to make a terminal the controlling terminal.

>How-To-Repeat:
man 4 tty
>Fix:


Patch attached with submission follows:

==== //depot/branch/tango-bsd-dws/src/freebsd6/src/share/man/man4/tty.4#1 - /net/paneast/sb7/dsanderson/sb7-tango-bsd-dws3/src/freebsd6/src/share/man/man4/tty.4 ====
Index: branch/tango-bsd-dws/src/freebsd6/src/share/man/man4/tty.4
--- branch/tango-bsd-dws/src/freebsd6/src/share/man/man4/tty.4.~1~	Tue Jun 26 20:53:38 2007
+++ branch/tango-bsd-dws/src/freebsd6/src/share/man/man4/tty.4	Tue Jun 26 20:53:38 2007
@@ -280,7 +280,7 @@
 a process on an
 .Fn open
 call: there is a specific ioctl called
-.Dv TIOSCTTY
+.Dv TIOCSCTTY
 to make a terminal the controlling
 terminal.
 In addition, a program can
End of Patch.


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-doc->remko 
Responsible-Changed-By: remko 
Responsible-Changed-When: Wed Jun 27 09:06:54 UTC 2007 
Responsible-Changed-Why:  
Already working on it 

http://www.freebsd.org/cgi/query-pr.cgi?pr=114058 
State-Changed-From-To: open->patched 
State-Changed-By: remko 
State-Changed-When: Wed Jun 27 15:16:07 UTC 2007 
State-Changed-Why:  
Patched in -CURRENT mfc will follow soon. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=114058 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/114058: commit references a PR
Date: Wed, 27 Jun 2007 15:14:14 +0000 (UTC)

 remko       2007-06-27 15:14:06 UTC
 
   FreeBSD src repository
 
   Modified files:
     share/man/man4       tty.4 
   Log:
   Fix reference within TIOCNOTTY from TIOSCTTY to TIOCSCTTY.
   
   PR:             docs/114058
   Submitted by:   David Sanderson <dsanderson at panasas dot com>
   Approved by:    re (bmah)
   MFC After:      3 days
   
   Revision  Changes    Path
   1.23      +2 -2      src/share/man/man4/tty.4
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: remko 
State-Changed-When: Sun Nov 11 11:51:17 UTC 2007 
State-Changed-Why:  
This is now in RELENG_6, RELENG_7 and CURRENT, thanks for the 
submission! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=114058 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/114058: commit references a PR
Date: Sun, 11 Nov 2007 11:50:53 +0000 (UTC)

 remko       2007-11-11 11:50:46 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_6)
     share/man/man4       tty.4 
   Log:
   MFC rev 1.23 tty.4
   
     Fix reference within TIOCNOTTY from TIOSCTTY to TIOCSCTTY.
   
     PR: docs/114058
     Submitted by: David Sanderson <dsanderson at panasas dot com>
     Approved by: re (bmah)
   
   Revision  Changes    Path
   1.22.2.1  +2 -2      src/share/man/man4/tty.4
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
