[FIX][BUG] WinCE 2.7 VM can't find files

Jörn Eyrich Joern.Eyrich at brokat.com
Wed Nov 8 19:21:26 UTC 2000


I seem to have "rediscovered" this problem:

Ned Konz wrote:
> 
> ...
>
> DosFileDirectory>>fullPathFor: '\CF\Squeak\tiny.changes'
> returns '\C\CF\Squeak\tiny.changes'.
> 
> The problem is that the code there expects the instvar 'pathName'
> to be something starting with a volume letter and a colon.
> 
> However, WinCE doesn't have volume letters. So FileDirectory
> default in this case is '\CF\Squeak'.
> 
> Either we need a separate FileDirectory subclass, or we need
> a conditional in there that checks to see whether there is
> a drive letter.
> 
> Suggestions?

My suggested fix is attached.

Joern
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DosFileDirectory.je.2.zip
Type: application/x-zip-compressed
Size: 641 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20001108/7305b235/DosFileDirectory.je.2.bin


More information about the Squeak-dev mailing list