Bug 215611 - Missing mq_unlink(2) man page (and broken xrefs)
Summary: Missing mq_unlink(2) man page (and broken xrefs)
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Fernando Apesteguía
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-27 13:55 UTC by Robert Watson
Modified: 2021-03-04 12:39 UTC (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Watson freebsd_committer freebsd_triage 2016-12-27 13:55:06 UTC
Two man pages cross reference an mq_unlink man page:

mq_close.2:.Xr mq_unlink 2
mq_open.2:.Xr mq_unlink 3 ,

But neither mq_unlink.2 nor mq_unlink.3 exist. Given that mq_unlink() is a system call, the latter cross reference should probably be to mq_unlink(2) and not mq_unlink(3), and there should be (but is not) an mq_unlink(2) man page.
Comment 1 Philipp Engel 2020-11-12 23:11:31 UTC
Are there any updates?
Comment 2 Fernando Apesteguía freebsd_committer freebsd_triage 2021-02-24 15:20:39 UTC
The mq_unlink(2) page was added in https://cgit.freebsd.org/src/commit/?id=acab1d58befaa8f42930bd62c26558e6005e1c13

I'll fix the refernce in mq_open soon.

Thanks!
Comment 3 commit-hook freebsd_committer freebsd_triage 2021-03-04 12:37:43 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=3457dbd52b22daee203ba5a5eb4faf7525f5b165

commit 3457dbd52b22daee203ba5a5eb4faf7525f5b165
Author:     Fernando Apesteguía <fernape@FreeBSD.org>
AuthorDate: 2021-02-24 15:20:57 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2021-03-04 12:32:42 +0000

    mq_open(2): Fix xref to mq_unlink(2)

    mq_unlink(2) was added in acab1d58befaa8f42930bd62c26558e6005e1c13

    PR: 215611
    Reported by: rwatson@FreeBSD.org
    Approved by: gbe@ (mentor)
    Differential Revision:  https://reviews.freebsd.org/D28913

 lib/libc/sys/mq_open.2 | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
Comment 4 Fernando Apesteguía freebsd_committer freebsd_triage 2021-03-04 12:39:37 UTC
Fixed.

Thanks!