From c2336ba724f3a13d653b987680af33b677292cd9 Mon Sep 17 00:00:00 2001
From: Kristaps Dzonsons
Date: Sun, 25 Mar 2012 00:48:47 +0000
Subject: Some documentation nits.
---
apropos_db.c | 5 ++++-
index.sgml | 11 +----------
whatis.1 | 8 ++------
3 files changed, 7 insertions(+), 17 deletions(-)
diff --git a/apropos_db.c b/apropos_db.c
index 8aea771d..e51b6ef1 100644
--- a/apropos_db.c
+++ b/apropos_db.c
@@ -1,4 +1,4 @@
-/* $Id: apropos_db.c,v 1.31 2012/03/24 01:46:25 kristaps Exp $ */
+/* $Id: apropos_db.c,v 1.32 2012/03/25 00:48:47 kristaps Exp $ */
/*
* Copyright (c) 2011, 2012 Kristaps Dzonsons
* Copyright (c) 2011 Ingo Schwarze
@@ -19,6 +19,8 @@
#include "config.h"
#endif
+#include
+
#include
#include
#include
@@ -426,6 +428,7 @@ apropos_search(int pathsz, char **paths, const struct opts *opts,
*/
for (i = 0; i < pathsz; i++) {
+ assert('/' == paths[i][0]);
if (chdir(paths[i]))
continue;
if (single_search(&tree, opts, expr, terms, mc, i))
diff --git a/index.sgml b/index.sgml
index 4386a9eb..b32b50b1 100644
--- a/index.sgml
+++ b/index.sgml
@@ -55,15 +55,6 @@
run make install
. Be careful: the preconv, apropos, and whatis binary names are
usually taken by existing utilities.
-
-
- 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 MingW for the 32-bit (i686) and
- 64-bit (x86_64) architectures.
-
Downstream
@@ -357,7 +348,7 @@
Copyright © 2008–2011
Kristaps Dzonsons,
- $Date: 2012/03/24 02:07:32 $
+ $Date: 2012/03/25 00:48:47 $