[BUG] FileDirectory>>exists
David T. Lewis
lewis at mail.msen.com
Tue Jun 10 23:02:45 UTC 2003
On Tue, Jun 10, 2003 at 06:52:19AM -0700, Ned Konz wrote:
> On Monday 09 June 2003 08:23 pm, John M McIntosh wrote:
>
> > Well I fixed the issue of exists: in the MAC VM 3.5.1b2.
>
> Great!
>
> > However now that exists: if it's a directory is ok, and considering
> > the bug below according Stephen's note the fallback position causes
> > the logic to open the file using unix fopen, then do a read using
> > unix fread. That exposes another BUG.
>
> Isn't it possible for a file to exist but not actually be readable?
>
> I'd much prefer to expose stat() to the Squeak layers for Unix boxes.
Done. See DirectoryPlugin <http://minnow.cc.gatech.edu/squeak/2274>.
I have not tested it since Squeak 3.2 (which I'm still using for my
OSProcess development). If there is interest I'll retest it and put it
on SM. The image-side part of the code is a bit invasive, so there is
work involved in keeping it up to date with the image.
Dave
More information about the Squeak-dev
mailing list
|