* mandoc: in man.cgi(8), disable -O toc by default; requested by deraadt@
@ 2019-07-10 12:49 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2019-07-10 12:49 UTC (permalink / raw)
To: source
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-07-10 12:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-10 12:49 mandoc: in man.cgi(8), disable -O toc by default; requested by deraadt@ schwarze
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).