From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-1.sys.kth.se (smtp-1.sys.kth.se [130.237.32.175]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id pAMBTRuJ009174 for ; Tue, 22 Nov 2011 06:29:28 -0500 (EST) Received: from mailscan-1.sys.kth.se (mailscan-1.sys.kth.se [130.237.32.91]) by smtp-1.sys.kth.se (Postfix) with ESMTP id 0413D156419 for ; Tue, 22 Nov 2011 12:29:22 +0100 (CET) X-Virus-Scanned: by amavisd-new at kth.se Received: from smtp-1.sys.kth.se ([130.237.32.175]) by mailscan-1.sys.kth.se (mailscan-1.sys.kth.se [130.237.32.91]) (amavisd-new, port 10024) with LMTP id 2aSs+EkmQlNS for ; Tue, 22 Nov 2011 12:29:18 +0100 (CET) X-KTH-Auth: kristaps [193.10.49.5] X-KTH-mail-from: kristaps@bsd.lv X-KTH-rcpt-to: tech@mdocml.bsd.lv Received: from ctime.hhs.se (ctime.hhs.se [193.10.49.5]) by smtp-1.sys.kth.se (Postfix) with ESMTP id 4246F156379 for ; Tue, 22 Nov 2011 12:29:17 +0100 (CET) Message-ID: <4ECB878D.9020906@bsd.lv> Date: Tue, 22 Nov 2011 12:29:17 +0100 From: Kristaps Dzonsons User-Agent: Mozilla/5.0 (X11; U; OpenBSD amd64; en-US; rv:1.9.2.13) Gecko/20110223 Thunderbird/3.1.7 X-Mailinglist: mdocml-tech Reply-To: tech@mdocml.bsd.lv MIME-Version: 1.0 To: tech@mdocml.bsd.lv Subject: Re: mandocdb/apropos using man.conf References: <4ECAC55F.3040205@bsd.lv> In-Reply-To: <4ECAC55F.3040205@bsd.lv> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit > manpath.c (was man.conf.c) changes: > De-dupe the path listings. > Resolve paths using realpath. > Use manpath(1)** if -DUSE_MANPATH is specified. If you've read this patch, you'll note my error: while (NULL != (p = fgetln(stream, &len))) { if (0 == len || '\n' == p[--len]) break; Where the second == should be !=. This has been fixed. -- To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv