From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-vw0-f49.google.com (mail-vw0-f49.google.com [209.85.212.49]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id p9ID2jVc016350 for ; Tue, 18 Oct 2011 09:02:45 -0400 (EDT) Received: by vws15 with SMTP id 15so352711vws.36 for ; Tue, 18 Oct 2011 06:02:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:x-google-sender-delegation:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=U6JLnZd7s7gCPaA4GTlf+cfU5ACcQ5oj/VtFPuGNuIY=; b=UpnKLQhX6Zu7LfLBdua8kIiZixMFYxbgxJMlFdLZObtLp45w6FNIHTonVe7/THYplB Ts7Ts5e4tHMgnQuVqVGMoViCFyXGXiOlfrnNHGR8B8E5rMxjJJ+oiBL18HzoLBmJ1/oL racz+3S51/HKbdCCdPucKhNItJ8oj9XP4KNdM= X-Mailinglist: mdocml-discuss Reply-To: discuss@mdocml.bsd.lv MIME-Version: 1.0 Received: by 10.182.115.35 with SMTP id jl3mr1362823obb.35.1318942959173; Tue, 18 Oct 2011 06:02:39 -0700 (PDT) Sender: abhinav.jacksparrow@gmail.com X-Google-Sender-Delegation: abhinav.jacksparrow@gmail.com Received: by 10.182.5.166 with HTTP; Tue, 18 Oct 2011 06:02:39 -0700 (PDT) In-Reply-To: References: Date: Tue, 18 Oct 2011 18:32:39 +0530 X-Google-Sender-Auth: pRrtrSLMmIWMKBGn34HUK34SkFE Message-ID: Subject: Bug in the mandoc(3) man page From: Abhinav Upadhyay To: discuss@mdocml.bsd.lv Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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 =A0 =A011 Oct 2011 19:09:38 -0000 =A0 =A0 =A01.1.1.2 +++ mandoc.3 =A0 =A012 Oct 2011 14:38:56 -0000 @@ -50,9 +50,9 @@ =A0.In mandoc.h =A0.Ft "enum mandoc_esc" =A0.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" =A0.Fc =A0.Ft "const struct man_meta *" =A0.Fo man_meta -- Abhinav Upadhyay -- To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv