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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZODB
Commits
80387fd3
Commit
80387fd3
authored
Sep 04, 2002
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use the correct offset for seek in load().
p can be negative, which merely means the offset is in the other file.
parent
ddc3aaac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/ZEO/ClientCache.py
src/ZEO/ClientCache.py
+2
-2
No files found.
src/ZEO/ClientCache.py
View file @
80387fd3
...
@@ -97,7 +97,7 @@ with '\0\0\0\0'.
...
@@ -97,7 +97,7 @@ with '\0\0\0\0'.
If var is not writable, then temporary files are used for
If var is not writable, then temporary files are used for
file 0 and file 1.
file 0 and file 1.
$Id: ClientCache.py,v 1.3
3 2002/09/04 18:06:4
4 jeremy Exp $
$Id: ClientCache.py,v 1.3
4 2002/09/04 18:09:1
4 jeremy Exp $
"""
"""
import
os
import
os
...
@@ -311,7 +311,7 @@ class ClientCache:
...
@@ -311,7 +311,7 @@ class ClientCache:
v
=
vheader
[:
-
4
]
v
=
vheader
[:
-
4
]
if
version
!=
v
:
if
version
!=
v
:
if
dlen
:
if
dlen
:
seek
(
p
+
27
)
seek
(
a
p
+
27
)
data
=
read
(
dlen
)
data
=
read
(
dlen
)
self
.
_trace
(
0x2C
,
oid
,
version
,
h
[
19
:],
dlen
)
self
.
_trace
(
0x2C
,
oid
,
version
,
h
[
19
:],
dlen
)
return
data
,
h
[
19
:]
return
data
,
h
[
19
:]
...
...
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