From: "Michael Kerrisk (man-pages)" <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: 张海 <dreaming.in.code.zh-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: rp should be ep in PTHREAD_COND_DESTROY(3P)
Date: Sat, 26 Dec 2015 08:46:58 +0100 [thread overview]
Message-ID: <567E45F2.4080403@gmail.com> (raw)
In-Reply-To: <CAFwAk1pF_cfbbD_+ao6K1sqZjcVF1Ck+TB=GQmNE6tRcLozCNQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
On 12/12/2015 10:04 AM, 张海 wrote:
> In the EXAMPLES section of PTHREAD_COND_DESTROY(3P), there are the
> following piece of code:
>
> (A) pthread_cond_broadcast(&ep->notbusy);
> pthread_mutex_unlock(&lp->lm);
> (B) pthread_cond_destroy(&rp->notbusy);
>
> However according to the context, the rp in (B) should be ep, as in
> (A), and there are no other occurrence of rp within the page. Key e
> and r are close to each other anyway.
>
> I'm referring to a man-pages 4.02-4 on Arch Linux.
>
> (I'm sending this again because vger.kernel.org rejected my previous
> email sent from Google Inbox for having HTML content which cannot be
> turned off within it.)
Thanks. This is a bug in the text of the standard, which apparently
has already been fixed:
http://austingroupbugs.net/view.php?id=910
I probably won't fix this page, but one day in the future we'll
upgrade the 3p pages to latest version from The Open Group.
Thanks,
Michael
--
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2015-12-26 7:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-12 9:04 rp should be ep in PTHREAD_COND_DESTROY(3P) 张海
[not found] ` <CAFwAk1pF_cfbbD_+ao6K1sqZjcVF1Ck+TB=GQmNE6tRcLozCNQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-12-26 7:46 ` Michael Kerrisk (man-pages) [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=567E45F2.4080403@gmail.com \
--to=mtk.manpages-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=dreaming.in.code.zh-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).