source@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: kristaps@mdocml.bsd.lv
To: source@mdocml.bsd.lv
Subject: mdocml: Some documentation nits.
Date: Sat, 24 Mar 2012 20:48:47 -0400 (EDT)	[thread overview]
Message-ID: <201203250048.q2P0mlwY028479@krisdoz.my.domain> (raw)

Log Message:
-----------
Some documentation nits.

Modified Files:
--------------
    mdocml:
        apropos_db.c
        index.sgml
        whatis.1

Revision Data
-------------
Index: apropos_db.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/apropos_db.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -Lapropos_db.c -Lapropos_db.c -u -p -r1.31 -r1.32
--- apropos_db.c
+++ apropos_db.c
@@ -19,6 +19,8 @@
 #include "config.h"
 #endif
 
+#include <sys/param.h>
+
 #include <assert.h>
 #include <fcntl.h>
 #include <regex.h>
@@ -426,6 +428,7 @@ apropos_search(int pathsz, char **paths,
 	 */
 
 	for (i = 0; i < pathsz; i++) {
+		assert('/' == paths[i][0]);
 		if (chdir(paths[i]))
 			continue;
 		if (single_search(&tree, opts, expr, terms, mc, i))
Index: index.sgml
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/index.sgml,v
retrieving revision 1.153
retrieving revision 1.154
diff -Lindex.sgml -Lindex.sgml -u -p -r1.153 -r1.154
--- index.sgml
+++ index.sgml
@@ -56,15 +56,6 @@
 			usually taken by existing utilities.
 		</P>
 		<H2>
-			<A NAME="binaries">Binaries</A>
-		</H2>
-		<P>
-			Binary archives consist of pre-compiled binaries, manuals, and other necessary files.
-			Universal (Mac OS X) binaries are compiled for the PCC, i386, and x86_64 architectures.
-			Windows binaries are compiled with <A CLASS="external" HREF="http://www.mingw.org">MingW</A> for the 32-bit (i686) and
-			64-bit (x86_64) architectures.
-		</P>
-		<H2>
 			Downstream
 		</H2>
 		<P>
Index: whatis.1
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/whatis.1,v
retrieving revision 1.8
retrieving revision 1.9
diff -Lwhatis.1 -Lwhatis.1 -u -p -r1.8 -r1.9
--- whatis.1
+++ whatis.1
@@ -36,10 +36,6 @@ utility searches databases generated by
 for manuals containing the word
 .Ar name
 in their page name, ignoring case.
-It returns the header lines from all matching pages.
-You can then use the
-.Xr man 1
-command to get more information.
 .Pp
 By default,
 .Nm
--
 To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv

                 reply	other threads:[~2012-03-25  0:48 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=201203250048.q2P0mlwY028479@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).