* Bug in the mandoc(3) man page
[not found] <CAHwRYJ=STvxAt4PWoJOMzHpGQuNGKtyUUwHV9AWVm0mBV+tp6Q@mail.gmail.com>
@ 2011-10-18 13:02 ` Abhinav Upadhyay
2011-10-18 13:25 ` Kristaps Dzonsons
0 siblings, 1 reply; 2+ messages in thread
From: Abhinav Upadhyay @ 2011-10-18 13:02 UTC (permalink / raw)
To: discuss
Hello,
I think there is some inconsistency in the mandoc(3) man page. The
argument names of mandoc_escape function in the SYNOPSIS section do
not agree with the argument names in the DESCRIPTION section. I
referred to the source file and corrected the argument names in
SYNOPSIS. Following is the diff (taken against mdocml 1.12 in NetBSD
-current), if you think it is ok, then please
fix this :)
Index: mandoc.3
===================================================================
RCS file: /cvsroot/src/external/bsd/mdocml/dist/mandoc.3,v
retrieving revision 1.1.1.2
diff -u -p -r1.1.1.2 mandoc.3
--- mandoc.3 11 Oct 2011 19:09:38 -0000 1.1.1.2
+++ mandoc.3 12 Oct 2011 14:38:56 -0000
@@ -50,9 +50,9 @@
.In mandoc.h
.Ft "enum mandoc_esc"
.Fo mandoc_escape
-.Fa "const char **in"
-.Fa "const char **seq"
-.Fa "int *len"
+.Fa "const char **end"
+.Fa "const char **start"
+.Fa "int *sz"
.Fc
.Ft "const struct man_meta *"
.Fo man_meta
--
Abhinav Upadhyay
--
To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Bug in the mandoc(3) man page
2011-10-18 13:02 ` Bug in the mandoc(3) man page Abhinav Upadhyay
@ 2011-10-18 13:25 ` Kristaps Dzonsons
0 siblings, 0 replies; 2+ messages in thread
From: Kristaps Dzonsons @ 2011-10-18 13:25 UTC (permalink / raw)
To: discuss; +Cc: Abhinav Upadhyay
On 10/18/11 15:02, Abhinav Upadhyay wrote:
> Hello,
>
> I think there is some inconsistency in the mandoc(3) man page. The
> argument names of mandoc_escape function in the SYNOPSIS section do
> not agree with the argument names in the DESCRIPTION section. I
> referred to the source file and corrected the argument names in
> SYNOPSIS. Following is the diff (taken against mdocml 1.12 in NetBSD
> -current), if you think it is ok, then please
> fix this :)
Abhinav,
Thanks for the report---fixed!
Take care,
Kristaps
--
To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-10-18 13:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CAHwRYJ=STvxAt4PWoJOMzHpGQuNGKtyUUwHV9AWVm0mBV+tp6Q@mail.gmail.com>
2011-10-18 13:02 ` Bug in the mandoc(3) man page Abhinav Upadhyay
2011-10-18 13:25 ` Kristaps Dzonsons
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).