[Checkins] SVN: zc.FileStorage/dev/src/zc/FileStorage/__init__.py
	Fixed a method misspelling and added a call to get the
	freeing code to
    Jim Fulton 
    jim at zope.com
       
    Fri Dec 14 10:24:03 EST 2007
    
    
  
Log message for revision 82287:
  Fixed a method misspelling and added a call to get the freeing code to
  be actually called. :/
  
Changed:
  U   zc.FileStorage/dev/src/zc/FileStorage/__init__.py
-=-
Modified: zc.FileStorage/dev/src/zc/FileStorage/__init__.py
===================================================================
--- zc.FileStorage/dev/src/zc/FileStorage/__init__.py	2007-12-14 04:51:14 UTC (rev 82286)
+++ zc.FileStorage/dev/src/zc/FileStorage/__init__.py	2007-12-14 15:24:02 UTC (rev 82287)
@@ -320,15 +320,16 @@
                     last[0] = 4
                 elif (pos - last[0]) < 50000000:
                     return
-                    
+
                 last[0] = pos
-                _zc_FileStorage_posix_fadvise.fadvise(
+                _zc_FileStorage_posix_fadvise.advise(
                     fd, 0, last[0]-10000,
                     _zc_FileStorage_posix_fadvise.POSIX_FADV_DONTNEED)
 
         self._free = _free
 
     def _read_txn_header(self, pos, tid=None):
+        self._free(pos)
         return FileStoragePacker._read_txn_header(self, pos, tid)
 
     def pack(self):
    
    
More information about the Checkins
mailing list