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

Jeremy Hylton jeremy at zope.com
Tue Jun 24 18:01:22 EDT 2003


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

Modified Files:
      Tag: ZODB3-3_1-branch
	fspack.py 
Log Message:
Promote int to long to avoid overflow.


=== ZODB3/ZODB/fspack.py 1.5.2.4 => 1.5.2.5 ===
--- ZODB3/ZODB/fspack.py:1.5.2.4	Thu May 22 12:36:20 2003
+++ ZODB3/ZODB/fspack.py	Tue Jun 24 17:01:21 2003
@@ -763,7 +763,7 @@
         If any data records are copied, also write txn header (th).
         """
         copy = 0
-        new_tpos = 0
+        new_tpos = 0L
         tend = pos + th.tlen
         pos += th.headerlen()
         while pos < tend:




More information about the Zodb-checkins mailing list