[prev in list] [next in list] [prev in thread] [next in thread]
List: mandoc-source
Subject: mdocml: Unbreak man.cgi's css directories when CSS_DIR isn't specified.
From: kristaps () mdocml ! bsd ! lv
Date: 2011-12-14 13:36:59
Message-ID: 201112141336.pBEDax4s000417 () krisdoz ! my ! domain
[Download RAW message or body]
Log Message:
-----------
Unbreak man.cgi's css directories when CSS_DIR isn't specified.
Modified Files:
--------------
mdocml:
cgi.c
man.cgi.7
Revision Data
-------------
Index: man.cgi.7
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/man.cgi.7,v
retrieving revision 1.8
retrieving revision 1.9
diff -Lman.cgi.7 -Lman.cgi.7 -u -p -r1.8 -r1.9
--- man.cgi.7
+++ man.cgi.7
@@ -74,8 +74,10 @@ default.
The absolute path of the
.Xr catman 8
cache directory.
+This must not have a trailing slash.
.It Ev CSS_DIR
Prepended to CSS file links.
+This must not have a trailing slash.
.El
.Sh FILES
.Bl -tag -width Ds
Index: cgi.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/cgi.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -Lcgi.c -Lcgi.c -u -p -r1.30 -r1.31
--- cgi.c
+++ cgi.c
@@ -946,7 +946,7 @@ main(void)
progname = "";
if (NULL == (css = getenv("CSS_DIR")))
- css = "/";
+ css = "";
if (NULL == (host = getenv("HTTP_HOST")))
host = "localhost";
--
To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic