[Zodb-checkins] CVS: ZODB3/ZODB - fspack.py:1.5.2.3

Jeremy Hylton jeremy at zope.com
Thu May 22 12:30:50 EDT 2003


Update of /cvs-repository/ZODB3/ZODB
In directory cvs.zope.org:/tmp/cvs-serv17311

Modified Files:
      Tag: ZODB3-3_1-branch
	fspack.py 
Log Message:
Make file offsets long to support large files.


=== ZODB3/ZODB/fspack.py 1.5.2.2 => 1.5.2.3 ===
--- ZODB3/ZODB/fspack.py:1.5.2.2	Fri May 16 16:38:58 2003
+++ ZODB3/ZODB/fspack.py	Thu May 22 11:30:49 2003
@@ -78,7 +78,7 @@
 
     # subclasses must provide _file
 
-    _metadata_size = 4
+    _metadata_size = 4L
     _format_version = "21"
 
     def _read_num(self, pos):
@@ -465,7 +465,7 @@
         del self.oid2curpos
 
     def buildPackIndex(self):
-        pos = 4
+        pos = 4L
         while pos < self.eof:
             th = self._read_txn_header(pos)
             if th.tid > self.packtime:




More information about the Zodb-checkins mailing list