Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105248 - l-posix3.xml: control_destroy() calls pthread_cond_destroy() twice, doesn't call pthread_mutex_destroy()
Summary: l-posix3.xml: control_destroy() calls pthread_cond_destroy() twice, doesn't c...
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Łukasz Damentko (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-08 06:08 UTC by Łukasz Damentko (RETIRED)
Modified: 2005-09-13 15:11 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Łukasz Damentko (RETIRED) gentoo-dev 2005-09-08 06:08:08 UTC
Here's mail i received today about that article:

From: Devils-Hawk <devilshawk@inode.at>
To:  rane@gentoo.org
Subject: BUG in POSIX threads explained, Part3
Date: Thu, 08 Sep 2005 14:54:37 +0200
User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050906)

in int control_destroy() you call pthread_cond_destroy() twice, but
never call pthread_mutex_destroy().
Really nice tutorial though, keep up the good work!

regards K. Schnass

Problem is in http://www.gentoo.org/doc/en/articles/l-posix3.xml, line 248-250.
Report seems reasonable, but i'm waiting for other doc devs opinions. :)
Comment 1 Jose Luis Rivero (yoswink) (RETIRED) gentoo-dev 2005-09-08 08:40:08 UTC
Guys, please, before touching the articles, think about if we are going to
support *all* the bugs related to ibm articles content. 

They are not official gentoo docs and aren't focus on gentoo (most of them). 

IMHO, we shouldn't touch them. 
Comment 2 Shyam Mani (RETIRED) gentoo-dev 2005-09-08 09:36:30 UTC
(In reply to comment #1)

> They are not official gentoo docs and aren't focus on gentoo (most of them). 
> IMHO, we shouldn't touch them. 

I think it's okay as far as the fix isn't a re-write :) All these are one/two
liners and don't really take up resources IMHO...

Comment 3 Łukasz Damentko (RETIRED) gentoo-dev 2005-09-13 15:11:10 UTC
Fixed in CVS, thanks for reporting rane.