From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from localhost (mandoc.bsd.lv [local]) by mandoc.bsd.lv (OpenSMTPD) with ESMTPA id cc032bdf for ; Wed, 10 Jul 2019 07:49:50 -0500 (EST) Date: Wed, 10 Jul 2019 07:49:50 -0500 (EST) X-Mailinglist: mandoc-source Reply-To: source@mandoc.bsd.lv MIME-Version: 1.0 From: schwarze@mandoc.bsd.lv To: source@mandoc.bsd.lv Subject: mandoc: in man.cgi(8), disable -O toc by default; requested by deraadt@ X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Message-ID: <8629f13da2470869@mandoc.bsd.lv> Log Message: ----------- in man.cgi(8), disable -O toc by default; requested by deraadt@ Modified Files: -------------- mandoc: cgi.c Revision Data ------------- Index: cgi.c =================================================================== RCS file: /home/cvs/mandoc/mandoc/cgi.c,v retrieving revision 1.166 retrieving revision 1.167 diff -Lcgi.c -Lcgi.c -u -p -r1.166 -r1.167 --- cgi.c +++ cgi.c @@ -869,7 +869,6 @@ resp_format(const struct req *req, const memset(&conf, 0, sizeof(conf)); conf.fragment = 1; conf.style = mandoc_strdup(CSS_DIR "/mandoc.css"); - conf.toc = 1; usepath = strcmp(req->q.manpath, req->p[0]); mandoc_asprintf(&conf.man, "/%s%s%s%s%%N.%%S", scriptname, *scriptname == '\0' ? "" : "/", -- To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv