[Pharo-project] Problem with FileSystem primitives in latest Pharo2.0
fernando.olivero at usi.ch
Wed Jul 4 04:53:43 EDT 2012
Yes, i'm using the latest.
Sven, are you using Mac OSX ?
Esteban replied that's a known bug, (unexisting file giving tue on
#exists) maybe its implied that'solely for the Mac ?
I will do an unit test to capture this issue.
On Wed, Jul 4, 2012 at 10:44 AM, Sven Van Caekenberghe <sven at beta9.be> wrote:
> On 04 Jul 2012, at 09:51, Fernando Olivero wrote:
>> But i found that the following is working incorrectly:
>> (FileSystem disk workingDirectory / 'unexistingFileForTesting.txt')
>> asFileReference exists = true
> Hmm, that would be a serious problem, I am using that as well,
> (FileSystem disk workingDirectory / 'unexistingFileForTesting.txt') exists
> gives false for me ;-)
> And this works as well:
> 2 timesRepeat:[ (FileSystem disk workingDirectory /
> 'unexistingFileForTesting.txt') delete ].
> Is there a unit test covering your problem ?
> If not, there should be.
More information about the Pharo-dev