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
949cb8e5
Commit
949cb8e5
authored
Nov 13, 1997
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed minor error handling bug in reinit.
parent
70a8e2a0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
45 additions
and
156 deletions
+45
-156
src/Persistence/cPersistence.c
src/Persistence/cPersistence.c
+15
-52
src/ZODB/cPersistence.c
src/ZODB/cPersistence.c
+15
-52
src/persistent/cPersistence.c
src/persistent/cPersistence.c
+15
-52
No files found.
src/Persistence/cPersistence.c
View file @
949cb8e5
/*
/*
**********************************************************************
$Id: cPersistence.c,v 1.
19 1997/09/18 19:53:46
jim Exp $
$Id: cPersistence.c,v 1.
20 1997/11/13 19:46:24
jim Exp $
C Persistence Module
...
...
@@ -8,55 +8,11 @@
Copyright 1996 Digital Creations, L.C., 910 Princess Anne
Street, Suite 300, Fredericksburg, Virginia 22401 U.S.A. All
rights reserved. Copyright in this software is owned by DCLC,
unless otherwise indicated. Permission to use, copy and
distribute this software is hereby granted, provided that the
above copyright notice appear in all copies and that both that
copyright notice and this permission notice appear. Note that
any product, process or technology described in this software
may be the subject of other Intellectual Property rights
reserved by Digital Creations, L.C. and are not licensed
hereunder.
Trademarks
Digital Creations & DCLC, are trademarks of Digital Creations, L.C..
All other trademarks are owned by their respective companies.
No Warranty
The software is provided "as is" without warranty of any kind,
either express or implied, including, but not limited to, the
implied warranties of merchantability, fitness for a particular
purpose, or non-infringement. This software could include
technical inaccuracies or typographical errors. Changes are
periodically made to the software; these changes will be
incorporated in new editions of the software. DCLC may make
improvements and/or changes in this software at any time
without notice.
Limitation Of Liability
In no event will DCLC be liable for direct, indirect, special,
incidental, economic, cover, or consequential damages arising
out of the use of or inability to use this software even if
advised of the possibility of such damages. Some states do not
allow the exclusion or limitation of implied warranties or
limitation of liability for incidental or consequential
damages, so the above limitation or exclusion may not apply to
you.
If you have questions regarding this software,
contact:
Jim Fulton, jim@digicool.com
Digital Creations L.C.
(540) 371-6909
rights reserved.
*****************************************************************************/
static
char
*
what_string
=
"$Id: cPersistence.c,v 1.
19 1997/09/18 19:53:46
jim Exp $"
;
static
char
*
what_string
=
"$Id: cPersistence.c,v 1.
20 1997/11/13 19:46:24
jim Exp $"
;
#include <time.h>
#include "cPersistence.h"
...
...
@@ -445,10 +401,14 @@ Per__p___reinit__(cPersistentObject *self, PyObject *args)
Py_DECREF
(
copy
);
Py_DECREF
(
init
);
}
else
if
(
HasInstDict
(
self
)
&&
(
dict
=
INSTANCE_DICT
(
self
)))
else
{
PyDict_Clear
(
dict
);
self
->
state
=
cPersistent_GHOST_STATE
;
PyErr_Clear
();
if
(
HasInstDict
(
self
)
&&
(
dict
=
INSTANCE_DICT
(
self
)))
{
PyDict_Clear
(
dict
);
self
->
state
=
cPersistent_GHOST_STATE
;
}
}
}
else
...
...
@@ -940,7 +900,7 @@ void
initcPersistence
()
{
PyObject
*
m
,
*
d
;
char
*
rev
=
"$Revision: 1.
19
$"
;
char
*
rev
=
"$Revision: 1.
20
$"
;
PATimeType
.
ob_type
=&
PyType_Type
;
...
...
@@ -967,6 +927,9 @@ initcPersistence()
/****************************************************************************
$Log: cPersistence.c,v $
Revision 1.20 1997/11/13 19:46:24 jim
Fixed minor error handling bug in reinit.
Revision 1.19 1997/09/18 19:53:46 jim
Added attribute, _p_state.
...
...
src/ZODB/cPersistence.c
View file @
949cb8e5
/*
/*
**********************************************************************
$Id: cPersistence.c,v 1.
19 1997/09/18 19:53:46
jim Exp $
$Id: cPersistence.c,v 1.
20 1997/11/13 19:46:24
jim Exp $
C Persistence Module
...
...
@@ -8,55 +8,11 @@
Copyright 1996 Digital Creations, L.C., 910 Princess Anne
Street, Suite 300, Fredericksburg, Virginia 22401 U.S.A. All
rights reserved. Copyright in this software is owned by DCLC,
unless otherwise indicated. Permission to use, copy and
distribute this software is hereby granted, provided that the
above copyright notice appear in all copies and that both that
copyright notice and this permission notice appear. Note that
any product, process or technology described in this software
may be the subject of other Intellectual Property rights
reserved by Digital Creations, L.C. and are not licensed
hereunder.
Trademarks
Digital Creations & DCLC, are trademarks of Digital Creations, L.C..
All other trademarks are owned by their respective companies.
No Warranty
The software is provided "as is" without warranty of any kind,
either express or implied, including, but not limited to, the
implied warranties of merchantability, fitness for a particular
purpose, or non-infringement. This software could include
technical inaccuracies or typographical errors. Changes are
periodically made to the software; these changes will be
incorporated in new editions of the software. DCLC may make
improvements and/or changes in this software at any time
without notice.
Limitation Of Liability
In no event will DCLC be liable for direct, indirect, special,
incidental, economic, cover, or consequential damages arising
out of the use of or inability to use this software even if
advised of the possibility of such damages. Some states do not
allow the exclusion or limitation of implied warranties or
limitation of liability for incidental or consequential
damages, so the above limitation or exclusion may not apply to
you.
If you have questions regarding this software,
contact:
Jim Fulton, jim@digicool.com
Digital Creations L.C.
(540) 371-6909
rights reserved.
*****************************************************************************/
static
char
*
what_string
=
"$Id: cPersistence.c,v 1.
19 1997/09/18 19:53:46
jim Exp $"
;
static
char
*
what_string
=
"$Id: cPersistence.c,v 1.
20 1997/11/13 19:46:24
jim Exp $"
;
#include <time.h>
#include "cPersistence.h"
...
...
@@ -445,10 +401,14 @@ Per__p___reinit__(cPersistentObject *self, PyObject *args)
Py_DECREF
(
copy
);
Py_DECREF
(
init
);
}
else
if
(
HasInstDict
(
self
)
&&
(
dict
=
INSTANCE_DICT
(
self
)))
else
{
PyDict_Clear
(
dict
);
self
->
state
=
cPersistent_GHOST_STATE
;
PyErr_Clear
();
if
(
HasInstDict
(
self
)
&&
(
dict
=
INSTANCE_DICT
(
self
)))
{
PyDict_Clear
(
dict
);
self
->
state
=
cPersistent_GHOST_STATE
;
}
}
}
else
...
...
@@ -940,7 +900,7 @@ void
initcPersistence
()
{
PyObject
*
m
,
*
d
;
char
*
rev
=
"$Revision: 1.
19
$"
;
char
*
rev
=
"$Revision: 1.
20
$"
;
PATimeType
.
ob_type
=&
PyType_Type
;
...
...
@@ -967,6 +927,9 @@ initcPersistence()
/****************************************************************************
$Log: cPersistence.c,v $
Revision 1.20 1997/11/13 19:46:24 jim
Fixed minor error handling bug in reinit.
Revision 1.19 1997/09/18 19:53:46 jim
Added attribute, _p_state.
...
...
src/persistent/cPersistence.c
View file @
949cb8e5
/*
/*
**********************************************************************
$Id: cPersistence.c,v 1.
19 1997/09/18 19:53:46
jim Exp $
$Id: cPersistence.c,v 1.
20 1997/11/13 19:46:24
jim Exp $
C Persistence Module
...
...
@@ -8,55 +8,11 @@
Copyright 1996 Digital Creations, L.C., 910 Princess Anne
Street, Suite 300, Fredericksburg, Virginia 22401 U.S.A. All
rights reserved. Copyright in this software is owned by DCLC,
unless otherwise indicated. Permission to use, copy and
distribute this software is hereby granted, provided that the
above copyright notice appear in all copies and that both that
copyright notice and this permission notice appear. Note that
any product, process or technology described in this software
may be the subject of other Intellectual Property rights
reserved by Digital Creations, L.C. and are not licensed
hereunder.
Trademarks
Digital Creations & DCLC, are trademarks of Digital Creations, L.C..
All other trademarks are owned by their respective companies.
No Warranty
The software is provided "as is" without warranty of any kind,
either express or implied, including, but not limited to, the
implied warranties of merchantability, fitness for a particular
purpose, or non-infringement. This software could include
technical inaccuracies or typographical errors. Changes are
periodically made to the software; these changes will be
incorporated in new editions of the software. DCLC may make
improvements and/or changes in this software at any time
without notice.
Limitation Of Liability
In no event will DCLC be liable for direct, indirect, special,
incidental, economic, cover, or consequential damages arising
out of the use of or inability to use this software even if
advised of the possibility of such damages. Some states do not
allow the exclusion or limitation of implied warranties or
limitation of liability for incidental or consequential
damages, so the above limitation or exclusion may not apply to
you.
If you have questions regarding this software,
contact:
Jim Fulton, jim@digicool.com
Digital Creations L.C.
(540) 371-6909
rights reserved.
*****************************************************************************/
static
char
*
what_string
=
"$Id: cPersistence.c,v 1.
19 1997/09/18 19:53:46
jim Exp $"
;
static
char
*
what_string
=
"$Id: cPersistence.c,v 1.
20 1997/11/13 19:46:24
jim Exp $"
;
#include <time.h>
#include "cPersistence.h"
...
...
@@ -445,10 +401,14 @@ Per__p___reinit__(cPersistentObject *self, PyObject *args)
Py_DECREF
(
copy
);
Py_DECREF
(
init
);
}
else
if
(
HasInstDict
(
self
)
&&
(
dict
=
INSTANCE_DICT
(
self
)))
else
{
PyDict_Clear
(
dict
);
self
->
state
=
cPersistent_GHOST_STATE
;
PyErr_Clear
();
if
(
HasInstDict
(
self
)
&&
(
dict
=
INSTANCE_DICT
(
self
)))
{
PyDict_Clear
(
dict
);
self
->
state
=
cPersistent_GHOST_STATE
;
}
}
}
else
...
...
@@ -940,7 +900,7 @@ void
initcPersistence
()
{
PyObject
*
m
,
*
d
;
char
*
rev
=
"$Revision: 1.
19
$"
;
char
*
rev
=
"$Revision: 1.
20
$"
;
PATimeType
.
ob_type
=&
PyType_Type
;
...
...
@@ -967,6 +927,9 @@ initcPersistence()
/****************************************************************************
$Log: cPersistence.c,v $
Revision 1.20 1997/11/13 19:46:24 jim
Fixed minor error handling bug in reinit.
Revision 1.19 1997/09/18 19:53:46 jim
Added attribute, _p_state.
...
...
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