From f016b5a63019c6352ebce5d9a18d7c816ae95258 Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Sun, 2 Dec 2007 21:21:18 +0000 Subject: [PATCH] remove dead code --- en/cgi/man.cgi | 57 +++----------------------------------------------- 1 file changed, 3 insertions(+), 54 deletions(-) diff --git a/en/cgi/man.cgi b/en/cgi/man.cgi index 2acc3b699e..0fd073c9cb 100755 --- a/en/cgi/man.cgi +++ b/en/cgi/man.cgi @@ -33,8 +33,8 @@ # 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.194 2007-12-02 21:18:14 wosch Exp $ -# $FreeBSD: www/en/cgi/man.cgi,v 1.193 2007/11/29 21:00:24 wosch Exp $ +# $Id: man.cgi,v 1.195 2007-12-02 21:21:18 wosch Exp $ +# $FreeBSD: www/en/cgi/man.cgi,v 1.194 2007/12/02 21:18:14 wosch Exp $ ############################################################################ # !!! man.cgi is stale perl4 code !!! @@ -504,8 +504,6 @@ sub do_man { local ($u) = $BASE; return &faq_output($u) if ( $path =~ /\/(faq|help)\.html$/ ); - - #return ©right_output($u) if ($path =~ /copyright.html$/); return &get_the_sources if ( $path =~ /source$/ ); return &include_output($path) @@ -1221,42 +1219,6 @@ ETX 0; } -sub copyright { - $id = '$FreeBSD: www/en/cgi/man.cgi,v 1.193 2007/11/29 21:00:24 wosch Exp $'; - - return qq{\ -
-Copyright (c) 1996-2007 Wolfram Schneider
-Copyright (c) 1993-1995 Berkeley Software Design, Inc.
-
-This data is part of a licensed program from BERKELEY SOFTWARE
-DESIGN, INC.  Portions are copyrighted by BSDI, The Regents of
-the University of California, Massachusetts Institute of
-Technology, Free Software Foundation, FreeBSD Inc., and others.
-
-
\n -This script has the revsion: $id -

- -Copyright (©) for man pages by OS vendors. -

-2.11 BSD, -HP, -FreeBSD, -Minix, -Linux Slackware, -Linux/de, -NetBSD, -OpenBSD, -Plan 9, -SunOS, -ULTRIX, -Unix Seventh Edition, -XFree86, -X11R6 -}; -} - sub faq { local ( @list, @list2 ); @@ -1280,7 +1242,7 @@ sub faq { if $manPathAliases{$_}; } - local $id = '$FreeBSD: www/en/cgi/man.cgi,v 1.193 2007/11/29 21:00:24 wosch Exp $'; + local $id = '$FreeBSD: www/en/cgi/man.cgi,v 1.194 2007/12/02 21:18:14 wosch Exp $'; return qq{\

 Copyright (c) 1996-2007 Wolfram Schneider
@@ -1365,19 +1327,6 @@ sections.
 };
 }
 
-sub copyright_output {
-    &http_header("text/html");
-    print &html_header("HTML hypertext FreeBSD man page interface") . "

", - $www{'head'}, - "

\n" - . ©right . qq{\ -
- -home -}; - &html_footer; -} - sub faq_output { my $base = $BASE; $base =~ s,[^/]*$,,;