summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apropos_db.c3
-rw-r--r--index.sgml9
-rw-r--r--whatis.14
3 files changed, 3 insertions, 13 deletions
diff --git a/apropos_db.c b/apropos_db.c
index 2271e28c..368c8faf 100644
--- a/apropos_db.c
+++ b/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, 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 cc411e4a..e4e53dc4 100644
--- a/index.sgml
+++ b/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>
diff --git a/whatis.1 b/whatis.1
index 910913dc..ad5e3376 100644
--- a/whatis.1
+++ b/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