Hacking on core Squeak
May 16th, 2006 tonyg
Today, attempting to port SPrevayler to Squeak 3.9, I ran into a problem with the FilePlugin. It turns out the problem is already covered by a test case in the image, and that the test case is currently failing, at least on Linux on the versions of the VM I tried (3.7-7, 3.9-7, and svn trunk).
The problem is that FilePlugin is caching the DIR* for the directory that was just deleted, and deleting the directory doesn’t invalidate the DIR* cache. Adding a check against lastPathValid and lastPath in dir_Delete solves the problem. Hopefully the fix will be included in mainline builds soon.
(The bug report I filed is at http://bugs.impara.de/view.php?id=3649.)
Entry Filed under: Programming
Leave a Comment
Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>
Trackback this post | Subscribe to the comments via RSS Feed