source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: Some documentation nits.
@ 2012-03-25  0:48 kristaps
  0 siblings, 0 replies; only message in thread
From: kristaps @ 2012-03-25  0:48 UTC (permalink / raw)
  To: source

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-03-25  0:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-25  0:48 mdocml: Some documentation nits kristaps

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).