projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eae0292
)
process_docs.pl: When starting to read a new head1 section, remove previous text
author
Richard Levitte
<levitte@openssl.org>
Sat, 21 May 2016 18:50:48 +0000
(20:50 +0200)
committer
Richard Levitte
<levitte@openssl.org>
Sun, 22 May 2016 22:45:44 +0000
(
00:45
+0200)
Reviewed-by: Rich Salz <rsalz@openssl.org>
util/process_docs.pl
patch
|
blob
|
history
diff --git
a/util/process_docs.pl
b/util/process_docs.pl
index eaa4964869bc8cf549ba7234c23e6d4108db21ad..150e48bf088f42d4b488e6acbf989cc7d6a10822 100644
(file)
--- a/
util/process_docs.pl
+++ b/
util/process_docs.pl
@@
-91,9
+91,10
@@
foreach my $subdir (keys %{$options{subdir}}) {
if (m|^head1=\s*(.*)|) {
$podinfo{lastsect} = $1;
$podinfo{lastsect} =~ s/\s+$//;
+ $podinfo{lastsecttext} = "";
}
next if (m|^=| || m|^\s*$|);
- $podinfo{lastsecttext} .= " ";
+ $podinfo{lastsecttext} .= " "
if $podinfo{lastsecttext}
;
$podinfo{lastsecttext} .= $_;
}
close $pod_fh;