[Bug?!] FileDirectory>>fullNameFor: (was RE: [ENH] UnixFileDirectorytweak)

Raab, Andreas Andreas.Raab at disney.com
Fri Dec 17 19:46:52 UTC 1999


Tim,

> > 	aFile _ (CrLfFileStream readOnlyFileNamed: filename) ascii.
> > 
> > Why shouldn't this work with a relative path in Unix?! 
> This is exactly what I have been trying to warn about w.r.t 
> CrLfFileStream for months. Take a look at how CLFS inherits from 
> StandardFileStream. See how it thereby _does not_ use the 
> FileStream methods that use fullNameFor: to sort out
> the path!

Argh. You're right - I just checked it. We need to fix this (I don't
remember having seen your fixes - can you post them again?!). Though it
doesn't explain why you can't open a relative file on Unix ;-)

  Andreas





More information about the Squeak-dev mailing list