From ef98eeaafe4c50f715725e5c330be692ba6d8d9b Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Wed, 3 Nov 2010 11:52:39 +0100 Subject: [PATCH] luaxml: Updated (090910 -> 101012) --- lua/luaxml/empty_attributes.patch | 37 ------------------------------- lua/luaxml/luaxml.desc | 6 ++--- 2 files changed, 3 insertions(+), 40 deletions(-) delete mode 100644 lua/luaxml/empty_attributes.patch diff --git a/lua/luaxml/empty_attributes.patch b/lua/luaxml/empty_attributes.patch deleted file mode 100644 index 1bc1777fb..000000000 --- a/lua/luaxml/empty_attributes.patch +++ /dev/null @@ -1,37 +0,0 @@ -# --- SDE-COPYRIGHT-NOTE-BEGIN --- -# This copyright note is auto-generated by ./scripts/Create-CopyPatch. -# -# Filename: package/.../luaxml/empty_attributes.patch -# Copyright (C) 2010 The OpenSDE Project -# -# More information can be found in the files COPYING and README. -# -# This patch file is dual-licensed. It is available under the license the -# patched project is licensed under, as long as it is an OpenSource license -# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms -# of the GNU General Public License as published by the Free Software -# Foundation; either version 2 of the License, or (at your option) any later -# version. -# --- SDE-COPYRIGHT-NOTE-END --- - -From: 张增波 -Date: 2010/9/25 -Subject: [patch] LuaXml can't interpret empty attribute -To: gerald.franz@viremo.de - ---- ./LuaXML_lib_unix.c 2010-09-25 15:10:19.000000000 +0800 -+++ ./LuaXML_lib.c 2010-09-25 15:04:26.000000000 +0800 -@@ -319,7 +319,12 @@ - if(token[sepPos]) { // regular attribute - const char* aVal =token+sepPos+2; - lua_pushlstring(L, token, sepPos); -- Xml_pushDecode(L, aVal, strlen(aVal)-1); -+ if ( strlen(aVal) == 1 ) { -+ Xml_pushDecode(L, "", 0); -+ } -+ else{ -+ Xml_pushDecode(L, aVal, strlen(aVal)-1); -+ } - lua_settable(L, -3); - } - } diff --git a/lua/luaxml/luaxml.desc b/lua/luaxml/luaxml.desc index 0cc2a4f74..283fd24f0 100644 --- a/lua/luaxml/luaxml.desc +++ b/lua/luaxml/luaxml.desc @@ -2,7 +2,7 @@ [COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. [COPY] [COPY] Filename: package/.../luaxml/luaxml.desc -[COPY] Copyright (C) 2009 The OpenSDE Project +[COPY] Copyright (C) 2009 - 2010 The OpenSDE Project [COPY] [COPY] More information can be found in the files COPYING and README. [COPY] @@ -35,7 +35,7 @@ [L] MIT [S] Stable -[V] 090910 +[V] 101012 [P] X -?---5---9 800.000 -[D] 1500807208 LuaXML_090910.zip http://www.viremo.de/LuaXML/ +[D] 3520241880 LuaXML_101012.zip http://www.viremo.de/LuaXML/