From hubert@tournier.org  Sun Jun  8 15:46:38 2003
Return-Path: <hubert@tournier.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id A690637B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  8 Jun 2003 15:46:38 -0700 (PDT)
Received: from mail.iris3.net (host38.co.fr.clara.net [212.43.196.38])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B4FD643FDF
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  8 Jun 2003 15:46:37 -0700 (PDT)
	(envelope-from hubert@tournier.org)
Received: by mail.iris3.net (Postfix, from userid 1019)
	id CBCFF2EC02E; Sun,  8 Jun 2003 23:43:15 +0000 (GMT)
Message-Id: <20030608234315.CBCFF2EC02E@mail.iris3.net>
Date: Sun,  8 Jun 2003 23:43:15 +0000 (GMT)
From: Hubert Tournier <hubert@tournier.org>
Reply-To: Hubert Tournier <hubert@tournier.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Ref. to deprecated USER_LDT option in man (with fix)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         53068
>Category:       docs
>Synopsis:       Ref. to deprecated USER_LDT option in man (with fix)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 08 15:50:17 PDT 2003
>Closed-Date:    Mon Jun 09 04:46:50 PDT 2003
>Last-Modified:  Mon Jun 09 04:46:50 PDT 2003
>Originator:     Hubert Tournier <hubert@frbsd.org>
>Release:        FreeBSD 5.1-RELEASE i386
>Organization:
Maison
>Environment:
System: FreeBSD lezard.online.fr 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Sat Jun 7 22:38:36 CEST 2003 root@lezard.online.fr:/usr/obj/usr/src/sys/LEZARD i386

>Description:
Reference to the deprecated USER_LDT option in man pages (with fix)
>How-To-Repeat:
# man i386_get_ldt
or
# man i386_get_ldt
>Fix:
# cd /usr/src
# patch < fix

--- fix begins here ---
--- lib/libc/i386/sys/i386_get_ldt.2.orig	Sun Jun  8 22:36:45 2003
+++ lib/libc/i386/sys/i386_get_ldt.2	Sun Jun  8 22:37:00 2003
@@ -73,10 +73,6 @@
 .Aq Pa i386/segments.h .
 These structures are defined by the architecture
 as disjoint bit-fields, so care must be taken in constructing them.
-.Pp
-Note that you must have
-.Dq options USER_LDT
-in your kernel configuration file to use these functions.
 .Sh RETURN VALUES
 Upon successful completion,
 .Fn i386_get_ldt
--- fix ends here ---

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: jhb 
State-Changed-When: Mon Jun 9 04:46:34 PDT 2003 
State-Changed-Why:  
Fix committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=53068 
>Unformatted:
