source@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: kristaps@mdocml.bsd.lv
To: source@mdocml.bsd.lv
Subject: mdocml: Make sure makewhatis.1 is documenting the correct bit-fields.
Date: Tue, 21 Jun 2011 09:09:19 -0400 (EDT)	[thread overview]
Message-ID: <201106211309.p5LD9Jcq019410@krisdoz.my.domain> (raw)

Log Message:
-----------
Make sure makewhatis.1 is documenting the correct bit-fields.

Modified Files:
--------------
    mdocml:
        makewhatis.1

Revision Data
-------------
Index: makewhatis.1
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/makewhatis.1,v
retrieving revision 1.3
retrieving revision 1.4
diff -Lmakewhatis.1 -Lmakewhatis.1 -u -p -r1.3 -r1.4
--- makewhatis.1
+++ makewhatis.1
@@ -87,32 +87,29 @@ length plus one) mapping to a 8-byte bin
 keyword type and source
 .Sx Index Database
 record number.
-The type, an unsigned 32-bit integer in host order, is one of the
-following:
+The type, a 32-bit bit-mask in host order, consists of the following
+fields:
 .Pp
 .Bl -tag -width Ds -offset indent -compact
 .It Li 0x01
 The name of a manual page as given in the NAME section.
 .It Li 0x02
 A function prototype name as given in the SYNOPSIS section.
-.It Li 0x03
-A utility name as given in the SYNOPSIS section.
 .It Li 0x04
+A utility name as given in the SYNOPSIS section.
+.It Li 0x08
 An include file as given in the SYNOPSIS section.
-.It Li 0x05
+.It Li 0x10
 A variable name as given in the SYNOPSIS section.
-.It Li 0x06
+.It Li 0x20
 A standard as given in the STANDARDS section.
-.It Li 0x07
+.It Li 0x40
 An author as given in the AUTHORS section.
-.It Li 0x08
+.It Li 0x80
 A configuration as given in the SYNOPSIS section.
 .El
 .Pp
-If a value is encountered outside of this range, the database is
-corrupt.
-.Pp
-The latter four bytes are a host-ordered record number within the
+The last four bytes are a host-ordered record number within the
 .Sx Index Database .
 .Pp
 The
--
 To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv

                 reply	other threads:[~2011-06-21 13:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=201106211309.p5LD9Jcq019410@krisdoz.my.domain \
    --to=kristaps@mdocml.bsd.lv \
    --cc=source@mdocml.bsd.lv \
    /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).