Bug 57434

Summary: Typo in pthread_mutex_init manpage
Product: Documentation Reporter: Benjamin Lutz <benlutz>
Component: Books & ArticlesAssignee: kensmith
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Benjamin Lutz 2003-10-01 00:30:04 UTC
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
Comment 1 Ken Smith 2003-10-01 01:56:37 UTC
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 |
Comment 2 kensmith freebsd_committer freebsd_triage 2003-10-01 18:04:38 UTC
Responsible Changed
From-To: freebsd-doc->kensmith


I'll take this one.
Comment 3 kensmith freebsd_committer freebsd_triage 2003-10-02 19:33:11 UTC
State Changed
From-To: open->closed


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

Thanks!