You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
man2html/SOURCES/man2html-relative-links.patch

29 lines
1.1 KiB

Set default cgibase for man2html to an empty string, so hyperlinks
will be like `href="/cgi-bin/..."'
diff -ruN man-1.6c-old/man2html/cgibase.c man-1.6c/man2html/cgibase.c
--- man-1.6c-old/man2html/cgibase.c 2003-03-11 16:53:29.000000000 +0100
+++ man-1.6c/man2html/cgibase.c 2004-07-27 22:17:28.000000000 +0200
@@ -24,7 +24,7 @@
static char *man2htmlpath = "/cgi-bin/man/man2html"; /* default */
static char *cgibase_format = "http://%s"; /* host.domain:port */
static char *cgibase_ll_format = "lynxcgi:%s"; /* directory */
-static char *cgibase = "http://localhost"; /* default */
+static char *cgibase = ""; /* default */
/*
* Separator between URL and argument string.
diff -ruN man-1.6c-old/man2html/man2html.1 man-1.6c/man2html/man2html.1
--- man-1.6c-old/man2html/man2html.1 2003-03-11 16:53:30.000000000 +0100
+++ man-1.6c/man2html/man2html.1 2004-07-27 22:17:28.000000000 +0200
@@ -79,7 +79,8 @@
are set using the various options.
.TP
.B \-\^h
-Set method:cgipath to http://localhost. This is the default.
+Set method:cgipath to http://localhost.
+.\" This is the default.
.TP
.BI \-\^H " host[.domain][:port]"
Set method:cgipath to