From 63db09932dec56e5bb940db7c81df9660ab0c0d0 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Thu, 27 Nov 2014 01:58:21 +0000 Subject: 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. --- mansearch.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'mansearch.h') 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 * Copyright (c) 2013, 2014 Ingo Schwarze @@ -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 { -- cgit v1.2.3-56-ge451