Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 May 2005 02:30:23 +0800
From:      Alecs King <alecsk@gmail.com>
To:        freebsd-www@freebsd.org
Subject:   [Patch] for man.cgi (problem: www/67554)
Message-ID:  <20050524182550.GA1338@alc.bsd.st>

next in thread | raw e-mail | index | archive | help
Quick (dirty?) fix for http://www.freebsd.org/cgi/query-pr.cgi?pr=67554

--- old
+++ new
@@ -910,7 +910,7 @@
     s,((_\010.)+),($str = $1) =~ s/.\010//g; "<I>$str</I>";,ge;
     s,(.\010)+,$1,g;
 
-    if (!s,((.\010.)+\s+(.\010.)+),($str = $1) =~ s/.\010//g; "<B>$str</B>";,ge) {
+    if (!s,(((.\010.)+\s+)+(.\010.)+),($str = $1) =~ s/.\010//g; "<B>$str</B>";,ge) {
     s,((.\010.)+),($str = $1) =~ s/.\010//g; "<B>$str</B>";,ge;
     }
 

P.S, 

1) Is the man.cgi checked in the public cvs?  I found a very old (4
years?) version of it at www/en/cgi.  For latest version, i grabbed it
from http://www.freebsd.org/cgi/man.cgi/source , which the patch
above is made against.

2) The mail archives at http://lists.freebsd.org/mailman/listinfo/ cannot
be searched:

htdig Archives Access Failure
search failed -12-

-- 
Alecs King



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050524182550.GA1338>