> On 23 Oct 2014, at 16:55, Sven Van Caekenberghe <[email protected]> wrote:
> 
> Have you tried using two fake empty files ?
> If you are sure they are not used, that should work, right ?

I just tried and it works.
I removed the .changes file and replaced the .source file by a file containing 
just the word empty (a totally empty file does not seem to work).
Then the 4.0 image starts up and works OK (I only tried command line), it 
created an empty .changes.

Even decompilation works !

$ ./pharo Pharo.image eval '(ZnClient>>#execute) sourceCode'
'execute
        | t1 |
        self prepareRequest.
        self withProgressDo: [ t1 := self executeWithTimeout ].
        self prepareNextRequest.
        ^ t1'

Cool !

HTH,

Sven

> Or you could try hacking SourceFileArray>>#ensureOpen


Reply via email to