[openssh-commits] [openssh] 06/06: fix mdoc2man.awk formatting for top-level lists
git+noreply at mindrot.org
git+noreply at mindrot.org
Wed Sep 28 07:41:40 AEST 2016
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
commit 8663e51c80c6aa3d750c6d3bcff6ee05091922be
Author: Damien Miller <djm at mindrot.org>
Date: Wed Sep 28 07:40:33 2016 +1000
fix mdoc2man.awk formatting for top-level lists
Reported by Glenn Golden
Diagnosis and fix from Ingo Schwarze
---
mdoc2man.awk | 2 ++
1 file changed, 2 insertions(+)
diff --git a/mdoc2man.awk b/mdoc2man.awk
index 80e8d5f..3e87254 100644
--- a/mdoc2man.awk
+++ b/mdoc2man.awk
@@ -321,6 +321,8 @@ function add(str) {
w=nwords
} else if(match(words[w],"^El$")) {
optlist=oldoptlist
+ if(!optlist)
+ add(".PP")
} else if(match(words[w],"^Bk$")) {
if(match(words[w+1],"-words")) {
w++
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list