From 5bde56a4bb591ebe7a0030801d4119784036fd13 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Fri, 22 Oct 2021 17:00:39 +1100 Subject: [PATCH] Add '\n' to the end of each line when generating xsl.c This makes the bind9.xml more readable in a browser when debugging and also ensures that the file is properly terminated in the HTTP transaction. --- bin/named/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/named/Makefile.am b/bin/named/Makefile.am index 87e60ddcd5..7065a90b7a 100644 --- a/bin/named/Makefile.am +++ b/bin/named/Makefile.am @@ -47,7 +47,7 @@ xsl.c: bind9.xsl Makefile (echo 'const char xslmsg[] =' && \ $(SED) -e 's,\",\\\",g' \ -e 's,^,\",' \ - -e 's,$$,\",' && \ + -e 's,$$,\\n\",' && \ echo ";") \ < "${srcdir}/bind9.xsl" > $@