summaryrefslogtreecommitdiff
path: root/debian/patches/0006-properly-quote-the-namespace-uris-written-out-during.patch
diff options
context:
space:
mode:
authorAron Xu <aron@debian.org>2015-09-21 22:55:14 +0800
committerAron Xu <aron@debian.org>2015-09-21 22:55:14 +0800
commitd5d6ab20a82566c3b9e20a626df186fe4e670c70 (patch)
tree1e38fd2ee69a0e0e33a0ed8d6a7bb89aa084fd51 /debian/patches/0006-properly-quote-the-namespace-uris-written-out-during.patch
parentd548c999ade382febb424b26743b3c4d63159ae0 (diff)
downloadlibxml2-d5d6ab20a82566c3b9e20a626df186fe4e670c70.tar.gz
Revert "Revert "Remove no-longer-needed upstream patches""
This reverts commit 3b14c3fd6410716d407178e48972b1c1bea48c29.
Diffstat (limited to 'debian/patches/0006-properly-quote-the-namespace-uris-written-out-during.patch')
-rw-r--r--debian/patches/0006-properly-quote-the-namespace-uris-written-out-during.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/debian/patches/0006-properly-quote-the-namespace-uris-written-out-during.patch b/debian/patches/0006-properly-quote-the-namespace-uris-written-out-during.patch
deleted file mode 100644
index 6f4c4c8..0000000
--- a/debian/patches/0006-properly-quote-the-namespace-uris-written-out-during.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From: Aleksey Sanin <aleksey@aleksey.com>
-Date: Thu, 9 May 2013 16:02:16 +0000
-Subject: properly quote the namespace uris written out during c14n
-
----
- c14n.c | 9 +++++----
- 1 file changed, 5 insertions(+), 4 deletions(-)
-
-diff --git a/c14n.c b/c14n.c
-index afd95b3..ca77f92 100644
---- a/c14n.c
-+++ b/c14n.c
-@@ -547,14 +547,15 @@ xmlC14NPrintNamespaces(const xmlNsPtr ns, xmlC14NCtxPtr ctx)
- if (ns->prefix != NULL) {
- xmlOutputBufferWriteString(ctx->buf, " xmlns:");
- xmlOutputBufferWriteString(ctx->buf, (const char *) ns->prefix);
-- xmlOutputBufferWriteString(ctx->buf, "=\"");
-+ xmlOutputBufferWriteString(ctx->buf, "=");
- } else {
-- xmlOutputBufferWriteString(ctx->buf, " xmlns=\"");
-+ xmlOutputBufferWriteString(ctx->buf, " xmlns=");
- }
- if(ns->href != NULL) {
-- xmlOutputBufferWriteString(ctx->buf, (const char *) ns->href);
-+ xmlBufWriteQuotedString(ctx->buf->buffer, ns->href);
-+ } else {
-+ xmlOutputBufferWriteString(ctx->buf, "\"\"");
- }
-- xmlOutputBufferWriteString(ctx->buf, "\"");
- return (1);
- }
-