aboutsummaryrefslogtreecommitdiff
path: root/en/cgi/man.cgi
diff options
context:
space:
mode:
authorWolfram Schneider <wosch@FreeBSD.org>2007-08-27 18:41:00 +0000
committerWolfram Schneider <wosch@FreeBSD.org>2007-08-27 18:41:00 +0000
commit18623acdfb1da9e4e383ceaa625e39fd350e9103 (patch)
treef106ac889b176faee850bae11ff50ccfa5b17acd /en/cgi/man.cgi
parentae75ff4cbdee2909a65f40b792f3fed0da786503 (diff)
downloaddoc-18623acdfb1da9e4e383ceaa625e39fd350e9103.tar.gz
doc-18623acdfb1da9e4e383ceaa625e39fd350e9103.zip
fix link to get the source of man.cgi
Notes
Notes: svn path=/www/; revision=30692
Diffstat (limited to 'en/cgi/man.cgi')
-rwxr-xr-xen/cgi/man.cgi9
1 files changed, 4 insertions, 5 deletions
diff --git a/en/cgi/man.cgi b/en/cgi/man.cgi
index 655a1a284e..40f4b79ee3 100755
--- a/en/cgi/man.cgi
+++ b/en/cgi/man.cgi
@@ -33,7 +33,7 @@
# BSDI Id: bsdi-man,v 1.2 1995/01/11 02:30:01 polk Exp
# Dual CGI/Plexus mode and new interface by sanders@bsdi.com 9/22/1995
#
-# $Id: man.cgi,v 1.190 2007-08-01 19:31:49 wosch Exp $
+# $FreeBSD: man.cgi,v 1.168 2007/01/27 21:37:10 simon Exp wosch $
############################################################################
# !!! man.cgi is stale perl4 code !!!
@@ -590,8 +590,7 @@ sub debug {
}
sub get_the_sources {
- local ($file) = '/usr/local/www/bsddoc/bin/man.cgi';
- $file = $0 if !-f $file;
+ local ($file) = $0;
open( R, $file ) || &mydie("open $file: $!\n");
print "Content-type: text/plain\n\n";
@@ -1224,7 +1223,7 @@ ETX
}
sub copyright {
- $id = '$Id: man.cgi,v 1.190 2007-08-01 19:31:49 wosch Exp $';
+ $id = '$Id: man.cgi,v 1.191 2007-08-27 18:41:00 wosch Exp $';
return qq{\
<pre>
@@ -1282,7 +1281,7 @@ sub faq {
if $manPathAliases{$_};
}
- local $id = '$Id: man.cgi,v 1.190 2007-08-01 19:31:49 wosch Exp $';
+ local $id = '$Id: man.cgi,v 1.191 2007-08-27 18:41:00 wosch Exp $';
return qq{\
<pre>
Copyright (c) 1996-2007 <a href="$mailtoURL">Wolfram Schneider</a>