diff options
author | Aron Xu <aron@debian.org> | 2014-07-09 05:15:30 +0800 |
---|---|---|
committer | Aron Xu <aron@debian.org> | 2014-07-09 06:46:14 +0800 |
commit | ad8b2111a0e5330aca1739fcf35658376b2970a8 (patch) | |
tree | da383c6f40e6b4ed3608a6563dc7bbb7f10ccbf2 /debian/patches/0007-missing-else-in-xlink.c.patch | |
parent | 20b6bde61412aea3ba50fee9ad679a422cfff3ff (diff) | |
download | libxml2-ad8b2111a0e5330aca1739fcf35658376b2970a8.tar.gz |
New round of cherry-picking upstream fixes
Diffstat (limited to 'debian/patches/0007-missing-else-in-xlink.c.patch')
-rw-r--r-- | debian/patches/0007-missing-else-in-xlink.c.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/patches/0007-missing-else-in-xlink.c.patch b/debian/patches/0007-missing-else-in-xlink.c.patch new file mode 100644 index 0000000..88a4e86 --- /dev/null +++ b/debian/patches/0007-missing-else-in-xlink.c.patch @@ -0,0 +1,22 @@ +From: Ami Fischman <fischman@google.com> +Date: Tue, 2 Jul 2013 09:47:26 +0800 +Subject: missing else in xlink.c + +Obviously forgotten +--- + xlink.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/xlink.c b/xlink.c +index 3566e06..c0e4ff3 100644 +--- a/xlink.c ++++ b/xlink.c +@@ -150,7 +150,7 @@ xlinkIsLink (xmlDocPtr doc, xmlNodePtr node) { + if (type != NULL) { + if (xmlStrEqual(type, BAD_CAST "simple")) { + ret = XLINK_TYPE_SIMPLE; +- } if (xmlStrEqual(type, BAD_CAST "extended")) { ++ } else if (xmlStrEqual(type, BAD_CAST "extended")) { + role = xmlGetNsProp(node, BAD_CAST "role", XLINK_NAMESPACE); + if (role != NULL) { + xmlNsPtr xlink; |