[Zodb-checkins] CVS: Zope/lib/python/ZODB - fspack.py:1.5.4.4

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


Update of /cvs-repository/Zope/lib/python/ZODB
In directory cvs.zope.org:/tmp/cvs-serv23375

Modified Files:
      Tag: Zope-2_6-branch
	fspack.py 
Log Message:
Promote int to long to avoid overflow.


=== Zope/lib/python/ZODB/fspack.py 1.5.4.3 => 1.5.4.4 ===
--- Zope/lib/python/ZODB/fspack.py:1.5.4.3	Fri Jun 13 11:47:56 2003
+++ Zope/lib/python/ZODB/fspack.py	Tue Jun 24 17:02: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