Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
483cbe55
Commit
483cbe55
authored
Jan 15, 2005
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Collector: #1651: removed compiler warning
parent
baa18866
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
7 deletions
+9
-7
doc/CHANGES.txt
doc/CHANGES.txt
+2
-0
lib/python/Shared/DC/xml/pyexpat/dcpyexpat.c
lib/python/Shared/DC/xml/pyexpat/dcpyexpat.c
+4
-4
lib/python/Shared/DC/xml/pyexpat/expat/xmltok/xmltok.h
lib/python/Shared/DC/xml/pyexpat/expat/xmltok/xmltok.h
+1
-1
lib/python/Shared/DC/xml/pyexpat/expat/xmltok/xmltok_impl.c
lib/python/Shared/DC/xml/pyexpat/expat/xmltok/xmltok_impl.c
+2
-2
No files found.
doc/CHANGES.txt
View file @
483cbe55
...
...
@@ -51,6 +51,8 @@ Zope Changes
Bugs fixed
- Collector: #1651: removed compiler warning
- Collector #1661: make 'python-check-interval' setting in zope.conf
actually work as documented. This setting allows for important
tuning opportunities for production Zope servers.
...
...
lib/python/Shared/DC/xml/pyexpat/dcpyexpat.c
View file @
483cbe55
...
...
@@ -70,8 +70,8 @@ my_StartElementHandler(void *userdata, const char *name, const char **atts) {
PyObject
*
rv
;
PyObject
*
attrs_obj
;
int
attrs_len
;
const
char
**
attrs_p
,
**
attrs_k
;
const
char
**
attrs_p
;
const
char
**
attrs_k
=
atts
;
if
(
self
->
StartElementHandler
!=
Py_None
)
{
if
(
self
->
attrdict
)
{
...
...
@@ -715,7 +715,7 @@ static char pyexpat_module_documentation[] =
void
initdcpyexpat
(
void
)
{
PyObject
*
m
,
*
d
;
char
*
rev
=
"$Revision: 1.4 $"
;
static
const
char
*
rev
=
"$Revision: 1.4 $"
;
Xmlparsetype
.
ob_type
=
&
PyType_Type
;
...
...
@@ -726,7 +726,7 @@ initdcpyexpat(void) {
d
=
PyModule_GetDict
(
m
);
ErrorObject
=
PyString_FromString
(
"pyexpat.error"
);
PyDict_SetItemString
(
d
,
"error"
,
ErrorObject
);
PyDict_SetItemString
(
d
,
"API_Revision"
,
PyString_FromString
(
rev
));
#define MYCONST(name) \
PyDict_SetItemString(d, #name, PyInt_FromLong(name))
...
...
lib/python/Shared/DC/xml/pyexpat/expat/xmltok/xmltok.h
View file @
483cbe55
...
...
@@ -175,7 +175,7 @@ struct encoding {
const
unsigned
short
*
toLim
);
int
minBytesPerChar
;
char
isUtf8
;
char
isUtf16
;
int
isUtf16
;
};
/*
...
...
lib/python/Shared/DC/xml/pyexpat/expat/xmltok/xmltok_impl.c
View file @
483cbe55
...
...
@@ -593,7 +593,7 @@ int PREFIX(scanAtts)(const ENCODING *enc, const char *ptr, const char *end,
/* fall through */
case
BT_EQUALS
:
{
int
open
;
int
open
=
0
;
#ifdef XML_NS
hadColon
=
0
;
#endif
...
...
@@ -1391,7 +1391,7 @@ int PREFIX(getAtts)(const ENCODING *enc, const char *ptr,
{
enum
{
other
,
inName
,
inValue
}
state
=
inName
;
int
nAtts
=
0
;
int
open
;
int
open
=
0
;
for
(
ptr
+=
MINBPC
(
enc
);;
ptr
+=
MINBPC
(
enc
))
{
switch
(
BYTE_TYPE
(
enc
,
ptr
))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment