[Zope-CVS] CVS: Products/AdaptableStorage - TmpStore.py:1.2
Shane Hathaway
shane@zope.com
Tue, 31 Dec 2002 16:15:22 -0500
Update of /cvs-repository/Products/AdaptableStorage
In directory cvs.zope.org:/tmp/cvs-serv14258
Modified Files:
TmpStore.py
Log Message:
Anticipated a change to mainline TmpStore: avoid an integer overflow
=== Products/AdaptableStorage/TmpStore.py 1.1 => 1.2 ===
--- Products/AdaptableStorage/TmpStore.py:1.1 Wed Dec 25 00:27:35 2002
+++ Products/AdaptableStorage/TmpStore.py Tue Dec 31 16:15:22 2002
@@ -29,7 +29,7 @@
self._file = tempfile.TemporaryFile()
# _pos: current file position
# _tpos: file position at last commit point
- self._pos = self._tpos = 0
+ self._pos = self._tpos = 0L
# _index: map oid to pos of last committed version
self._index = {}
# _tindex: map oid to pos for new updates