SMOLNET PORTAL home about changes
iadd newline to error printouts - xml2tsv - a simple xml-to-tsv converter, based on xmlparser	Err	bitreich.org	70
1Log	/scm/xml2tsv/log.gph	bitreich.org	70
1Files	/scm/xml2tsv/files.gph	bitreich.org	70
1Refs	/scm/xml2tsv/refs.gph	bitreich.org	70
1Tags	/scm/xml2tsv/tag	bitreich.org	70
1README	/scm/xml2tsv/file/README.md.gph	bitreich.org	70
1LICENSE	/scm/xml2tsv/file/LICENSE.gph	bitreich.org	70
i---	Err	bitreich.org	70
1commit c974d52007f0362f455b6a544e1ff2f14929a9ee	/scm/xml2tsv/commit/c974d52007f0362f455b6a544e1ff2f14929a9ee.gph	bitreich.org	70
1parent 8401a64f99c614fa5e32c1b34e5499e0ab948d85	/scm/xml2tsv/commit/8401a64f99c614fa5e32c1b34e5499e0ab948d85.gph	bitreich.org	70
hAuthor: KatolaZ <katolaz@freaknet.org>	URL:mailto:katolaz@freaknet.org	bitreich.org	70
iDate:   Sun,  5 Jan 2020 14:53:49 +0000	Err	bitreich.org	70
i	Err	bitreich.org	70
iadd newline to error printouts	Err	bitreich.org	70
i	Err	bitreich.org	70
iDiffstat:	Err	bitreich.org	70
i  M xml2tsv.c                           |       4 ++--	Err	bitreich.org	70
i	Err	bitreich.org	70
i1 file changed, 2 insertions(+), 2 deletions(-)	Err	bitreich.org	70
i---	Err	bitreich.org	70
1diff --git a/xml2tsv.c b/xml2tsv.c	/scm/xml2tsv/file/xml2tsv.c.gph	bitreich.org	70
i@@ -205,11 +205,11 @@ xmltagend(XMLParser *x, const char *t, size_t tl, int isshort)	Err	bitreich.org	70
i {	Err	bitreich.org	70
i         char *tag;	Err	bitreich.org	70
i         if (stack_empty(&st)){	Err	bitreich.org	70
i-                fprintf(stderr, "Error: tag-end '%s' before any open tag", t);	Err	bitreich.org	70
i+                fprintf(stderr, "Error: tag-end '%s' before any open tag\n", t);	Err	bitreich.org	70
i         }	Err	bitreich.org	70
i         tag = stack_pop(&st);	Err	bitreich.org	70
i         if (strcmp(t, tag)){	Err	bitreich.org	70
i-                fprintf(stderr, "Error: tag-end '%s' closes tag '%s'", t, tag);	Err	bitreich.org	70
i+                fprintf(stderr, "Error: tag-end '%s' closes tag '%s'\n", t, tag);	Err	bitreich.org	70
i         }	Err	bitreich.org	70
i 	Err	bitreich.org	70
i         if (isshort) {	Err	bitreich.org	70
.
Response: text/plain
Original URLgopher://bitreich.org/0/scm/xml2tsv/commit/c974d52007f036...
Content-Typetext/plain; charset=utf-8