summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/mdoc_man.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2017-02-16 02:59:42 +0000
committerschwarze <schwarze@openbsd.org>2017-02-16 02:59:42 +0000
commit012900912b6515ebb360156a4ebb879cb7a3cef5 (patch)
treeeb150e0d85a2bfcb56aee8b685a8a0cd1f8a0aca /usr.bin/mandoc/mdoc_man.c
parentclang is installed as cc and c++ there is no need to set CC and CXX to (diff)
downloadwireguard-openbsd-012900912b6515ebb360156a4ebb879cb7a3cef5.tar.xz
wireguard-openbsd-012900912b6515ebb360156a4ebb879cb7a3cef5.zip
Remove the ENDBODY_NOSPACE flag, simplifying the code.
Comparing to groff output, it appears that all cases where it was used and made a difference actually require the opposite, ENDBODY_SPACE. I have no idea why i added it back in 2010; maybe to compensate for some other bug that has long been fixed.
Diffstat (limited to 'usr.bin/mandoc/mdoc_man.c')
-rw-r--r--usr.bin/mandoc/mdoc_man.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.bin/mandoc/mdoc_man.c b/usr.bin/mandoc/mdoc_man.c
index 4712ef0d78f..ac22229291a 100644
--- a/usr.bin/mandoc/mdoc_man.c
+++ b/usr.bin/mandoc/mdoc_man.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mdoc_man.c,v 1.100 2017/02/06 03:41:44 schwarze Exp $ */
+/* $OpenBSD: mdoc_man.c,v 1.101 2017/02/16 02:59:42 schwarze Exp $ */
/*
* Copyright (c) 2011-2017 Ingo Schwarze <schwarze@openbsd.org>
*
@@ -637,9 +637,6 @@ print_node(DECL_ARGS)
if (ENDBODY_NOT != n->end)
n->body->flags |= NODE_ENDED;
-
- if (ENDBODY_NOSPACE == n->end)
- outflags &= ~(MMAN_spc | MMAN_nl);
}
static int