Open tcj opened 2 years ago
This is interesting. On Windows, I get a does-not-exist error. So, why is macOS not failing for an attempt like this:
FileStream concreteStream readOnlyFileNamed: '/Users/tcj/src/metacello/repository'
Hmm....
FileStream concreteStream readOnlyFileNamed: '/Users/tcj/src/metacello/repository'
also does not fail on 5.3:
I wonder if Squeak on macOS has always allowed attempting to open a directory as a file?
Squeak6.0beta-21829-64bit / macOS
I understand, merely from reading the code, that this wants a file, but perhaps some safety can be built in here to not try to read a directory as if it were a file. Or, when it does, not to go into what seems like an infinite loop.
shows:
...and then goes into a seemingly endless loop...