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

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


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

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


=== ZODB3/ZODB/fspack.py 1.8 => 1.8.6.1 ===
--- ZODB3/ZODB/fspack.py:1.8	Thu May 22 14:15:55 2003
+++ ZODB3/ZODB/fspack.py	Tue Jun 24 17:01:58 2003
@@ -757,7 +757,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