Bug 61485 - Man page for deprecated function pthread_mutexattr_setkind_np should be replaced by man page for pthread_mutexattr_settype
Summary: Man page for deprecated function pthread_mutexattr_setkind_np should be repla...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: man-pages
Version: 7.2
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-03-20 15:02 UTC by Wan-Teh Chang
Modified: 2007-04-18 16:41 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-04-05 21:27:58 UTC
Embargoed:


Attachments (Terms of Use)

Description Wan-Teh Chang 2002-03-20 15:02:45 UTC
Description of problem:
The functions pthread_mutexattr_setkind_np
and pthread_mutexattr_getkind_np are deprecated and replaced
by pthread_mutexattr_settype and pthread_mutexattr_gettype.
But the man page for pthread_mutexattr_setkind_np still exists,
and there is no man page for pthread_mutexattr_settype.

How reproducible:
Always

Steps to Reproduce:
1. man pthread_mutexattr_setkind_np
2. man pthread_mutexattr_settype

Comment 1 Trond Eivind Glomsrxd 2002-04-05 21:03:34 UTC
Those man-pages are part of glibc-devel... reassigning.

Comment 2 Ulrich Drepper 2002-04-05 21:06:30 UTC
The statement is basically correct.  Whether the documentation for
pthread_mutexattr_setkind_np should go away is another question.  It still
exists.  I'd have no problems with seeing it gone.  But it's also useful
to have
it contain a big fat warning and a pointer to pthread_mutexattr_settype.

Comment 3 Wan-Teh Chang 2002-04-05 21:27:54 UTC
pthread_mutexattr_setkind_np still exists in libpthread.so
but is no longer declared in <pthread.h>.

Comment 4 Jakub Jelinek 2002-04-11 16:13:29 UTC
Fixed in glibc-devel-2.2.5-32.


Note You need to log in before you can comment on or make changes to this bug.