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
nexedi
ZODB
Commits
9ff4de4c
Commit
9ff4de4c
authored
May 20, 2003
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use longs to guard against overflow.
Reported by Sidnei da Silva.
parent
c28c02f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/ZODB/fspack.py
src/ZODB/fspack.py
+2
-2
No files found.
src/ZODB/fspack.py
View file @
9ff4de4c
...
...
@@ -77,7 +77,7 @@ class FileStorageFormatter:
# subclasses must provide _file
_metadata_size
=
4
_metadata_size
=
4
L
_format_version
=
"21"
def
_read_num
(
self
,
pos
):
...
...
@@ -464,7 +464,7 @@ class GC(FileStorageFormatter):
del
self
.
oid2curpos
def
buildPackIndex
(
self
):
pos
=
4
pos
=
4
L
while
pos
<
self
.
eof
:
th
=
self
.
_read_txn_header
(
pos
)
if
th
.
tid
>
self
.
packtime
:
...
...
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