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
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
ZEO
Commits
28ab567c
Commit
28ab567c
authored
Aug 01, 2000
by
Shane Hathaway
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correction for large seek pointers. This fixes an issue that prevented
FileStorage from expanding to 2 GB.
parent
516b5076
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/ZODB/utils.py
src/ZODB/utils.py
+2
-2
No files found.
src/ZODB/utils.py
View file @
28ab567c
...
@@ -96,9 +96,9 @@ def p64(v, pack=struct.pack):
...
@@ -96,9 +96,9 @@ def p64(v, pack=struct.pack):
def
u64
(
v
,
unpack
=
struct
.
unpack
):
def
u64
(
v
,
unpack
=
struct
.
unpack
):
h
,
v
=
unpack
(
">ii"
,
v
)
h
,
v
=
unpack
(
">ii"
,
v
)
if
v
<
0
:
v
=
t32
-
v
if
v
<
0
:
v
=
t32
+
v
if
h
:
if
h
:
if
h
<
0
:
h
=
t32
-
h
if
h
<
0
:
h
=
t32
+
h
v
=
h
*
t32
+
v
v
=
h
*
t32
+
v
return
v
return
v
...
...
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