[BUG][FIX] FileDirectory (on Windows)
Ned Konz
ned at bike-nomad.com
Wed Dec 4 17:14:31 UTC 2002
On Wednesday 04 December 2002 07:47 am, Stephen Pair wrote:
> The attached change set fixes this problem by overriding #exists in
> DosFileDirectory to check whether the path is to a drive. It also
> makes #driveName a little more robust.
>
> I'm a bit concerned that this behavior might not be exibited in all
> versions of Windows. What I found was that "self
> primLookupEntryIn: pathName index: 0" in FileDirectory>>exists was
> not giving back the expected result for a pathName of 'c:' (or
> other drive letter) and thus it was answering false. I find it
> hard to believe that this was not caught until now. Anyway, this
> fix works, but the real fix might need to happen in the
> primitive...I don't know.
The MoreFileFixes-nk change set that I posted on 30 November also
fixes this problem.
--
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE
More information about the Squeak-dev
mailing list
|