Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
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
Nicolas Wavrant
ZODB
Commits
f58cab5c
Commit
f58cab5c
authored
Feb 11, 2006
by
Tres Seaver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Suppressed warnings about signedness of characters when compiling under GCC 4.0.x.
See
http://www.zope.org/Collectors/Zope/2027
.
parent
852219f8
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
4 deletions
+16
-4
NEWS.txt
NEWS.txt
+12
-0
src/BTrees/_fsBTree.c
src/BTrees/_fsBTree.c
+2
-2
src/persistent/TimeStamp.c
src/persistent/TimeStamp.c
+2
-2
No files found.
NEWS.txt
View file @
f58cab5c
...
...
@@ -41,12 +41,24 @@ Tools
tools need to perform minimal logging configuration themselves. Changed
the zeoup script to do so and thus enable it to emit error messages.
BTrees
------
- (3.7a1) Suppressed warnings about signedness of characters when
compiling under GCC 4.0.x. See http://www.zope.org/Collectors/Zope/2027.
Connection
----------
- (3.7a1) An optimization for loading non-current data (MVCC) was
inadvertently disabled in ``_setstate()``; this has been repaired.
persistent
----------
- (3.7a1) Suppressed warnings about signedness of characters when
compiling under GCC 4.0.x. See http://www.zope.org/Collectors/Zope/2027.
After Commit hooks
------------------
...
...
src/BTrees/_fsBTree.c
View file @
f58cab5c
...
...
@@ -45,7 +45,7 @@ typedef unsigned char char6[6];
#define DECREF_KEY(KEY)
#define INCREF_KEY(k)
#define COPY_KEY(KEY, E) (*(KEY)=*(E), (KEY)[1]=(E)[1])
#define COPY_KEY_TO_OBJECT(O, K) O=PyString_FromStringAndSize(K,2)
#define COPY_KEY_TO_OBJECT(O, K) O=PyString_FromStringAndSize(
(const char*)
K,2)
#define COPY_KEY_FROM_ARG(TARGET, ARG, STATUS) \
if (KEY_CHECK(ARG)) memcpy(TARGET, PyString_AS_STRING(ARG), 2); else { \
PyErr_SetString(PyExc_TypeError, "expected two-character string key"); \
...
...
@@ -59,7 +59,7 @@ typedef unsigned char char6[6];
#define DECREF_VALUE(k)
#define INCREF_VALUE(k)
#define COPY_VALUE(V, E) (memcpy(V, E, 6))
#define COPY_VALUE_TO_OBJECT(O, K) O=PyString_FromStringAndSize(K,6)
#define COPY_VALUE_TO_OBJECT(O, K) O=PyString_FromStringAndSize(
(const char*)
K,6)
#define COPY_VALUE_FROM_ARG(TARGET, ARG, STATUS) \
if ((PyString_Check(ARG) && PyString_GET_SIZE(ARG)==6)) \
memcpy(TARGET, PyString_AS_STRING(ARG), 6); else { \
...
...
src/persistent/TimeStamp.c
View file @
f58cab5c
...
...
@@ -218,7 +218,7 @@ TimeStamp_timeTime(TimeStamp *self)
static
PyObject
*
TimeStamp_raw
(
TimeStamp
*
self
)
{
return
PyString_FromStringAndSize
(
self
->
data
,
8
);
return
PyString_FromStringAndSize
(
(
const
char
*
)
self
->
data
,
8
);
}
static
PyObject
*
...
...
@@ -261,7 +261,7 @@ TimeStamp_laterThan(TimeStamp *self, PyObject *obj)
new
[
i
]
=
0
;
else
{
new
[
i
]
++
;
return
TimeStamp_FromString
(
new
);
return
TimeStamp_FromString
(
(
const
char
*
)
new
);
}
}
...
...
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