[BUG] Relative directory strangeness?
Ned Konz
ned at bike-nomad.com
Sun Sep 30 19:45:48 UTC 2001
/home/ned/tmp is an empty directory.
/tmp/xx.txt exists and is a file.
d _ FileDirectory on: '/home/ned/tmp'.
d fileExists: 'tmp/xx.txt' "true, but shouldn't be"
d fileExists: './tmp/xx.txt' "true, but shouldn't be"
d fileExists: '/tmp/xx.txt' "true"
d fileExists: '/home/ned/tmp/tmp/xx.txt' "false"
It seems to me that there should be some way to test for the existence of
arbitrary files even in subdirectories. I think that
d fileExists: 'tmp/xx.txt'
and
d fileExists: './tmp/xx.txt'
should both return false.
Anyone else got an opinion on this?
--
Ned Konz
currently: Stanwood, WA
email: ned at bike-nomad.com
homepage: http://bike-nomad.com
More information about the Squeak-dev
mailing list
|