Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Apr 2002 14:49:00 -0700 (PDT)
From:      Dag-Erling Smorgrav <des@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 9935 for review
Message-ID:  <200204172149.g3HLn0H89608@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=9935

Change 9935 by des@des.at.des.thinksec.com on 2002/04/17 14:48:53

	When closing a literal section, reset $inliteral, not $inlist.
	
	Sponsored by:	DARPA, NAI Labs

Affected files ...

... //depot/projects/openpam/misc/gendoc.pl#11 edit

Differences ...

==== //depot/projects/openpam/misc/gendoc.pl#11 (text+ko) ====

@@ -32,7 +32,7 @@
 # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 # SUCH DAMAGE.
 #
-# $P4: //depot/projects/openpam/misc/gendoc.pl#10 $
+# $P4: //depot/projects/openpam/misc/gendoc.pl#11 $
 #
 
 use strict;
@@ -139,6 +139,7 @@
     $argnames =~ s/([\|\[\]\(\)\.\*\+\?])/\\$1/g;
     $argnames =~ s/\" \"/|/g;
     $argnames =~ s/^\"(.*)\"$/($1)/;
+    $inliteral = $inlist = 0;
     foreach (split("\n", $source)) {
 	s/\s*$//;
 	if (!defined($man)) {
@@ -185,7 +186,7 @@
 	    $inlist = 0;
 	} elsif ($inliteral && m/^\S/) {
 	    $man .= ".Ed\n";
-	    $inlist = 0;
+	    $inliteral = 0;
 	} elsif ($inliteral) {
 	    $man .= "$_\n";
 	    next;

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




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