From maxlor@maxlor.mine.nu  Tue Sep 30 16:23:35 2003
Return-Path: <maxlor@maxlor.mine.nu>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id E533516A4B3
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 30 Sep 2003 16:23:35 -0700 (PDT)
Received: from maxlor.mine.nu (c-213-160-32-54.customer.ggaweb.ch [213.160.32.54])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5B94943FE1
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 30 Sep 2003 16:23:35 -0700 (PDT)
	(envelope-from maxlor@maxlor.mine.nu)
Received: by maxlor.mine.nu (Postfix, from userid 1000)
	id A1F5912D29F; Wed,  1 Oct 2003 01:23:33 +0200 (CEST)
Message-Id: <20030930232333.A1F5912D29F@maxlor.mine.nu>
Date: Wed,  1 Oct 2003 01:23:33 +0200 (CEST)
From: Benjamin Lutz <benlutz@datacomm.ch>
Reply-To: Benjamin Lutz <benlutz@datacomm.ch>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Typo in pthread_mutex_init manpage
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         57434
>Category:       docs
>Synopsis:       Typo in pthread_mutex_init manpage
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kensmith
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 30 16:30:04 PDT 2003
>Closed-Date:    Thu Oct 02 11:35:02 PDT 2003
>Last-Modified:  Thu Oct 02 11:35:02 PDT 2003
>Originator:     Benjamin Lutz
>Release:        FreeBSD 4.8-RELEASE-p9 i386
>Organization:
>Environment:
System: FreeBSD midgard 4.8-RELEASE-p9 FreeBSD 4.8-RELEASE-p9 #3: Fri Sep 26 05:37:19 CEST 2003 maxlor@midgard:/usr/obj/usr/src/sys/MIDGARD i386


	
>Description:
There's a typo in the pthread_mutex_init manpage. In the ERRORS section,
at [EAGAIN], the text reads "The temporarily lacks the resources..."
when it (I assume) should read "The process temporarily lacks...".
>How-To-Repeat:
man pthread_mutex_init

>Fix:
>Release-Note:
>Audit-Trail:

From: Ken Smith <kensmith@cse.Buffalo.EDU>
To: Benjamin Lutz <benlutz@datacomm.ch>
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: docs/57434: Typo in pthread_mutex_init manpage
Date: Tue, 30 Sep 2003 20:56:37 -0400

 On Wed, Oct 01, 2003 at 01:23:33AM +0200, Benjamin Lutz wrote:
 
 > >Description:
 > There's a typo in the pthread_mutex_init manpage. In the ERRORS section,
 > at [EAGAIN], the text reads "The temporarily lacks the resources..."
 > when it (I assume) should read "The process temporarily lacks...".
 > >How-To-Repeat:
 > man pthread_mutex_init
 > 
 
 I checked the definition of pthread_mutex_init in:
 
 	-current /usr/src/lib/libpthread/thread/thr_mutex.c
 	-stable /usr/src/lib/libc_r/uthread/uthread_mutex.c
 
 Unless I missed something neither is capable of returning EAGAIN.
 The other errors listed in the manpage are possible. :-)
 
 Is there a procedure for following up on this with a developer to
 make sure I'm not mistaken?
 
 -- 
 						Ken Smith
 - From there to here, from here to      |       kensmith@cse.buffalo.edu
   there, funny things are everywhere.   |
                       - Theodore Geisel |
Responsible-Changed-From-To: freebsd-doc->kensmith 
Responsible-Changed-By: kensmith 
Responsible-Changed-When: Wed Oct 1 10:04:38 PDT 2003 
Responsible-Changed-Why:  

I'll take this one. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=57434 
State-Changed-From-To: open->closed 
State-Changed-By: kensmith 
State-Changed-When: Thu Oct 2 11:33:11 PDT 2003 
State-Changed-Why:  

I removed that error code description completely.  A developer on the 
threads@ mailing list confirmed that error can not be generated. 

Thanks! 


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