diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-11-27 01:58:21 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-11-27 01:58:21 +0000 |
commit | 63db09932dec56e5bb940db7c81df9660ab0c0d0 (patch) | |
tree | a852f77178f67800eb09ea634d99cee835f51a8a /mansearch.h | |
parent | 9fc2749bb963451e94e2b2163e7e5e43fcd6a264 (diff) | |
download | mandoc-63db09932dec56e5bb940db7c81df9660ab0c0d0.tar.gz mandoc-63db09932dec56e5bb940db7c81df9660ab0c0d0.tar.zst mandoc-63db09932dec56e5bb940db7c81df9660ab0c0d0.zip |
Make makewhatis(8) understand .so links to .gz pages.
Drop the FORM_GZ annotation in the mpages table; it is conceptually wrong
because it ought to be in the mlinks table: An uncompressed .so link file
can point to a compressed manual page file and vice versa.
Besides, it is no longer needed because mparse_open() handles it all.
Sprinkle some KNF while here.
Diffstat (limited to 'mansearch.h')
-rw-r--r-- | mansearch.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mansearch.h b/mansearch.h index e74df2ee..4f92ef26 100644 --- a/mansearch.h +++ b/mansearch.h @@ -1,4 +1,4 @@ -/* $Id: mansearch.h,v 1.20 2014/11/18 01:15:21 schwarze Exp $ */ +/* $Id: mansearch.h,v 1.21 2014/11/27 01:58:21 schwarze Exp $ */ /* * Copyright (c) 2012 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2013, 2014 Ingo Schwarze <schwarze@openbsd.org> @@ -70,7 +70,6 @@ #define FORM_CAT 0 /* manual page is preformatted */ #define FORM_SRC 1 /* format is mdoc(7) or man(7) */ -#define FORM_GZ 2 /* compressed with gzip(1) */ #define FORM_NONE 4 /* format is unknown */ enum argmode { |