[systemd-devel] [PATCH] man: fix spacing issue in sd_is_fifo(3)

Jason St. John jstjohn at purdue.edu
Wed Jun 12 12:25:08 PDT 2013


From: "Jason St. John" <jstjohn at purdue.edu>

Before: libsystemd-daemonpkg-config(1)
After: libsystemd-daemon pkg-config(1)

This fix is more complicated than it should be due to the consecutive
XML elements separated by collapsible whitespace.

Merging the lines and separating the XML elements with an en space or a
non-breaking space is the only solution that results in one, and only
one, space being inserted between them when testing. An em space results
in two spaces being inserted.
---
 man/sd_is_fifo.xml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/man/sd_is_fifo.xml b/man/sd_is_fifo.xml
index 595c8f1..bc25e16 100644
--- a/man/sd_is_fifo.xml
+++ b/man/sd_is_fifo.xml
@@ -190,8 +190,7 @@
                 <filename>sd-daemon.h</filename> files. These
                 interfaces are available as shared library, which can
                 be compiled and linked to with the
-                <literal>libsystemd-daemon</literal>
-                <citerefentry><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry>
+                <literal>libsystemd-daemon</literal> <citerefentry><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry>
                 file. Alternatively, applications consuming these APIs
                 may copy the implementation into their source
                 tree. For more details about the reference
-- 
1.8.3.1



More information about the systemd-devel mailing list