Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZEO
Commits
ef6cd674
Commit
ef6cd674
authored
Jul 20, 1999
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Invalidating a single object, by oid, caused a seg fault because it
used an incorrect variable name.
parent
69f86132
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
src/Persistence/cPickleCache.c
src/Persistence/cPickleCache.c
+3
-3
src/ZODB/cPickleCache.c
src/ZODB/cPickleCache.c
+3
-3
src/persistent/cPickleCache.c
src/persistent/cPickleCache.c
+3
-3
No files found.
src/Persistence/cPickleCache.c
View file @
ef6cd674
...
@@ -82,7 +82,7 @@
...
@@ -82,7 +82,7 @@
attributions are listed in the accompanying credits file.
attributions are listed in the accompanying credits file.
****************************************************************************/
****************************************************************************/
static
char
*
what_string
=
"$Id: cPickleCache.c,v 1.2
7 1999/07/13 21:14:58
jim Exp $"
;
static
char
*
what_string
=
"$Id: cPickleCache.c,v 1.2
8 1999/07/20 19:08:06
jim Exp $"
;
#define ASSIGN(V,E) {PyObject *__e; __e=(E); Py_XDECREF(V); (V)=__e;}
#define ASSIGN(V,E) {PyObject *__e; __e=(E); Py_XDECREF(V); (V)=__e;}
#define UNLESS(E) if(!(E))
#define UNLESS(E) if(!(E))
...
@@ -389,7 +389,7 @@ cc_invalidate(ccobject *self, PyObject *args)
...
@@ -389,7 +389,7 @@ cc_invalidate(ccobject *self, PyObject *args)
PyErr_Clear
();
PyErr_Clear
();
UNLESS
(
PyArg_ParseTuple
(
args
,
"O"
,
&
inv
))
return
NULL
;
UNLESS
(
PyArg_ParseTuple
(
args
,
"O"
,
&
inv
))
return
NULL
;
if
(
PyString_Check
(
inv
))
if
(
PyString_Check
(
inv
))
_invalidate
(
self
,
key
);
_invalidate
(
self
,
inv
);
else
if
(
inv
==
Py_None
)
/* All */
else
if
(
inv
==
Py_None
)
/* All */
for
(
i
=
0
;
PyDict_Next
(
self
->
data
,
&
i
,
&
key
,
&
v
);
)
for
(
i
=
0
;
PyDict_Next
(
self
->
data
,
&
i
,
&
key
,
&
v
);
)
_invalidate
(
self
,
key
);
_invalidate
(
self
,
key
);
...
@@ -669,7 +669,7 @@ void
...
@@ -669,7 +669,7 @@ void
initcPickleCache
()
initcPickleCache
()
{
{
PyObject
*
m
,
*
d
;
PyObject
*
m
,
*
d
;
char
*
rev
=
"$Revision: 1.2
7
$"
;
char
*
rev
=
"$Revision: 1.2
8
$"
;
Cctype
.
ob_type
=&
PyType_Type
;
Cctype
.
ob_type
=&
PyType_Type
;
...
...
src/ZODB/cPickleCache.c
View file @
ef6cd674
...
@@ -82,7 +82,7 @@
...
@@ -82,7 +82,7 @@
attributions are listed in the accompanying credits file.
attributions are listed in the accompanying credits file.
****************************************************************************/
****************************************************************************/
static
char
*
what_string
=
"$Id: cPickleCache.c,v 1.2
7 1999/07/13 21:14:58
jim Exp $"
;
static
char
*
what_string
=
"$Id: cPickleCache.c,v 1.2
8 1999/07/20 19:08:06
jim Exp $"
;
#define ASSIGN(V,E) {PyObject *__e; __e=(E); Py_XDECREF(V); (V)=__e;}
#define ASSIGN(V,E) {PyObject *__e; __e=(E); Py_XDECREF(V); (V)=__e;}
#define UNLESS(E) if(!(E))
#define UNLESS(E) if(!(E))
...
@@ -389,7 +389,7 @@ cc_invalidate(ccobject *self, PyObject *args)
...
@@ -389,7 +389,7 @@ cc_invalidate(ccobject *self, PyObject *args)
PyErr_Clear
();
PyErr_Clear
();
UNLESS
(
PyArg_ParseTuple
(
args
,
"O"
,
&
inv
))
return
NULL
;
UNLESS
(
PyArg_ParseTuple
(
args
,
"O"
,
&
inv
))
return
NULL
;
if
(
PyString_Check
(
inv
))
if
(
PyString_Check
(
inv
))
_invalidate
(
self
,
key
);
_invalidate
(
self
,
inv
);
else
if
(
inv
==
Py_None
)
/* All */
else
if
(
inv
==
Py_None
)
/* All */
for
(
i
=
0
;
PyDict_Next
(
self
->
data
,
&
i
,
&
key
,
&
v
);
)
for
(
i
=
0
;
PyDict_Next
(
self
->
data
,
&
i
,
&
key
,
&
v
);
)
_invalidate
(
self
,
key
);
_invalidate
(
self
,
key
);
...
@@ -669,7 +669,7 @@ void
...
@@ -669,7 +669,7 @@ void
initcPickleCache
()
initcPickleCache
()
{
{
PyObject
*
m
,
*
d
;
PyObject
*
m
,
*
d
;
char
*
rev
=
"$Revision: 1.2
7
$"
;
char
*
rev
=
"$Revision: 1.2
8
$"
;
Cctype
.
ob_type
=&
PyType_Type
;
Cctype
.
ob_type
=&
PyType_Type
;
...
...
src/persistent/cPickleCache.c
View file @
ef6cd674
...
@@ -82,7 +82,7 @@
...
@@ -82,7 +82,7 @@
attributions are listed in the accompanying credits file.
attributions are listed in the accompanying credits file.
****************************************************************************/
****************************************************************************/
static
char
*
what_string
=
"$Id: cPickleCache.c,v 1.2
7 1999/07/13 21:14:58
jim Exp $"
;
static
char
*
what_string
=
"$Id: cPickleCache.c,v 1.2
8 1999/07/20 19:08:06
jim Exp $"
;
#define ASSIGN(V,E) {PyObject *__e; __e=(E); Py_XDECREF(V); (V)=__e;}
#define ASSIGN(V,E) {PyObject *__e; __e=(E); Py_XDECREF(V); (V)=__e;}
#define UNLESS(E) if(!(E))
#define UNLESS(E) if(!(E))
...
@@ -389,7 +389,7 @@ cc_invalidate(ccobject *self, PyObject *args)
...
@@ -389,7 +389,7 @@ cc_invalidate(ccobject *self, PyObject *args)
PyErr_Clear
();
PyErr_Clear
();
UNLESS
(
PyArg_ParseTuple
(
args
,
"O"
,
&
inv
))
return
NULL
;
UNLESS
(
PyArg_ParseTuple
(
args
,
"O"
,
&
inv
))
return
NULL
;
if
(
PyString_Check
(
inv
))
if
(
PyString_Check
(
inv
))
_invalidate
(
self
,
key
);
_invalidate
(
self
,
inv
);
else
if
(
inv
==
Py_None
)
/* All */
else
if
(
inv
==
Py_None
)
/* All */
for
(
i
=
0
;
PyDict_Next
(
self
->
data
,
&
i
,
&
key
,
&
v
);
)
for
(
i
=
0
;
PyDict_Next
(
self
->
data
,
&
i
,
&
key
,
&
v
);
)
_invalidate
(
self
,
key
);
_invalidate
(
self
,
key
);
...
@@ -669,7 +669,7 @@ void
...
@@ -669,7 +669,7 @@ void
initcPickleCache
()
initcPickleCache
()
{
{
PyObject
*
m
,
*
d
;
PyObject
*
m
,
*
d
;
char
*
rev
=
"$Revision: 1.2
7
$"
;
char
*
rev
=
"$Revision: 1.2
8
$"
;
Cctype
.
ob_type
=&
PyType_Type
;
Cctype
.
ob_type
=&
PyType_Type
;
...
...
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