projects
/
platform
/
upstream
/
libxml2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rolled back to 2.9.1 because 2.9.2 doesn't work with connecting net
[platform/upstream/libxml2.git]
/
python
/
libxml.c
diff --git
a/python/libxml.c
b/python/libxml.c
index
30b71f3
..
03cfb9f
100644
(file)
--- a/
python/libxml.c
+++ b/
python/libxml.c
@@
-296,7
+296,7
@@
xmlPythonFileReadRaw (void * context, char * buffer, int len) {
#ifdef PyUnicode_Check
} else if PyUnicode_Check (ret) {
#if PY_VERSION_HEX >= 0x03030000
#ifdef PyUnicode_Check
} else if PyUnicode_Check (ret) {
#if PY_VERSION_HEX >= 0x03030000
-
Py_s
size_t size;
+ size_t size;
const char *tmp;
/* tmp doesn't need to be deallocated */
const char *tmp;
/* tmp doesn't need to be deallocated */
@@
-361,7
+361,7
@@
xmlPythonFileRead (void * context, char * buffer, int len) {
#ifdef PyUnicode_Check
} else if PyUnicode_Check (ret) {
#if PY_VERSION_HEX >= 0x03030000
#ifdef PyUnicode_Check
} else if PyUnicode_Check (ret) {
#if PY_VERSION_HEX >= 0x03030000
-
Py_s
size_t size;
+ size_t size;
const char *tmp;
/* tmp doesn't need to be deallocated */
const char *tmp;
/* tmp doesn't need to be deallocated */
@@
-2683,7
+2683,6
@@
libxml_last(ATTRIBUTE_UNUSED PyObject * self, PyObject * args)
xmlAttrPtr attr = (xmlAttrPtr) cur;
res = attr->last;
xmlAttrPtr attr = (xmlAttrPtr) cur;
res = attr->last;
- break;
}
default:
res = NULL;
}
default:
res = NULL;