[Zodb-checkins] CVS: Zope3/src/zodb/storage - file.py:1.18

Tim Peters tim.one@comcast.net
Fri, 14 Mar 2003 15:02:23 -0500


Update of /cvs-repository/Zope3/src/zodb/storage
In directory cvs.zope.org:/tmp/cvs-serv20155/src/zodb/storage

Modified Files:
	file.py 
Log Message:
checkPackVersions():  Fixed another time.time() granularity problem
unique to Windows.

FileStoragePacker.pack():  The Windows glitch above provoked this code
into taking unexpected paths, which proved to have bugs of their own.
This fixes one of them (h.back is already a long, so shouldn't be passed
thru U64).  Barry is looking into fixing the rest.


=== Zope3/src/zodb/storage/file.py 1.17 => 1.18 ===
--- Zope3/src/zodb/storage/file.py:1.17	Fri Mar 14 14:41:00 2003
+++ Zope3/src/zodb/storage/file.py	Fri Mar 14 15:01:52 2003
@@ -1715,7 +1715,7 @@
                         opos += plen - 8
                         splen = p64(plen)
                     else:
-                        p = u64(h.back)
+                        p = h.back
                         if p < packpos:
                             # We have a backpointer to a non-packed record.
                             # We have to be careful.  If we were pointing to a