help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] bug or feature?


From: Paolo Bonzini
Subject: Re: [Help-smalltalk] bug or feature?
Date: Wed, 07 Jan 2009 16:38:56 +0100
User-agent: Thunderbird 2.0.0.18 (Macintosh/20081105)

Sean Allen wrote:
> I've noticed that file instances can lie...
> ( its one of the first things I check when using file objects in any
> language )
> 
> if i
> 
> create a new file instance
> get mode ( XYZ reported )
> something else ( in testing, me from command line ) changes mode to ZYX
> get mode ( XYZ reported )
> 
> the last line should report ZYX but it reports XYZ.

Use the "refresh" method or recreate the file instance.  It is a bug
that it is undocumented. :-)  Do you want to do the patch yourself (I
guess to kernel/FilePath.st)?

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]