From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from scc-mailout-kit-02.scc.kit.edu (scc-mailout-kit-02.scc.kit.edu [129.13.231.82]) by fantadrom.bsd.lv (OpenSMTPD) with ESMTP id c369b507 for ; Sun, 10 Jul 2016 08:39:51 -0500 (EST) Received: from asta-nat.asta.uni-karlsruhe.de ([172.22.63.82] helo=hekate.usta.de) by scc-mailout-kit-02.scc.kit.edu with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (envelope-from ) id 1bMExZ-0003ZD-JQ; Sun, 10 Jul 2016 15:39:51 +0200 Received: from donnerwolke.usta.de ([172.24.96.3]) by hekate.usta.de with esmtp (Exim 4.77) (envelope-from ) id 1bMExZ-0004fY-AN; Sun, 10 Jul 2016 15:39:49 +0200 Received: from athene.usta.de ([172.24.96.10]) by donnerwolke.usta.de with esmtp (Exim 4.84_2) (envelope-from ) id 1bMExZ-0006mS-5j; Sun, 10 Jul 2016 15:39:49 +0200 Received: from localhost (athene.usta.de [local]) by athene.usta.de (OpenSMTPD) with ESMTPA id 8ef63361; Sun, 10 Jul 2016 15:39:49 +0200 (CEST) Date: Sun, 10 Jul 2016 15:39:49 +0200 From: Ingo Schwarze To: Svyatoslav Mishyn Cc: tech@mdocml.bsd.lv Subject: Re: call for testing: mandoc-1.13.4 release candidate Message-ID: <20160710133949.GC14535@athene.usta.de> References: <20160709131158.GA6629@athene.usta.de> <20160709185537.GA15364@k8> <20160710104557.GA1748@k8> X-Mailinglist: mdocml-tech Reply-To: tech@mdocml.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160710104557.GA1748@k8> User-Agent: Mutt/1.6.2 (2016-07-01) Hi Svyatoslav, Svyatoslav Mishyn Crux wrote on Sun, Jul 10, 2016 at 01:46:00PM +0300: > (Sat, 09 Jul 21:55) Svyatoslav Mishyn: >> Also some manual pages I cannot open. >> >> /home/juef: man 2 open > tmp/e >> man: man2/open.2: ERROR: No such file or directory >> >> /home/juef: cat tmp/e >> () () >> >> See the file man2/open.2. >> >> July 9, 2016 () > If I remove openat.2.gz and creat.2.gz, it works. > > /home/juef: zcat /usr/share/man/man2/openat.2.gz > .so man2/open.2 > > There wasn't such problem in v1.13.3. Whoa, good catch, thanks! Fixed by the commit below. Yours, Ingo Log Message: ----------- Fix a nasty typo that prevented .so links to gziped manuals from working in the absence of a mandoc.db(5) database. Found the hard way by Svyatoslav Mishyn on Crux Linux. Modified Files: -------------- mdocml: read.c Revision Data ------------- Index: read.c =================================================================== RCS file: /home/cvs/mdocml/mdocml/read.c,v retrieving revision 1.148 retrieving revision 1.149 diff -Lread.c -Lread.c -u -p -r1.148 -r1.149 --- read.c +++ read.c @@ -798,7 +798,7 @@ mparse_open(struct mparse *curp, const c if ( ! curp->gzip) { mandoc_asprintf(&cp, "%s.gz", file); - fd = open(file, O_RDONLY); + fd = open(cp, O_RDONLY); free(cp); if (fd != -1) { curp->gzip = 1; -- To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv