Skip to content
Permalink
Browse files

Fix image path encodin

  • Loading branch information
guillep committed Nov 12, 2018
1 parent de6180b commit d76cb533a332de0530e6b1ae6bc6ef390844cc38
@@ -46,7 +46,7 @@ SystemResolver >> changes [

{ #category : #origins }
SystemResolver >> image [
^ self resolveString: Smalltalk primImagePath
^ self resolveString: Smalltalk imagePath
]

{ #category : #origins }
@@ -146,7 +146,7 @@ OmSessionStore >> headReference [
OmSessionStore >> imagePathString [
"Answer the full path name for the current image."

^ SmalltalkImage current primImagePath
^ SmalltalkImage current imagePath
]

{ #category : #initialization }
@@ -66,7 +66,7 @@ PharoBootstrapInitialization class >> initializeCommandLineHandlerAndErrorHandli
UIManager default activate.

Smalltalk sourceFileVersionString: 'PharoV60'.
(Smalltalk class classVariableNamed: 'LastImagePath') value: Smalltalk primImagePath. "set the default value"
(Smalltalk class classVariableNamed: 'LastImagePath') value: Smalltalk imagePath. "set the default value"
SourceFiles := SourceFileArray new.

"Create the ASTCache and add it to the startup list"
@@ -763,7 +763,7 @@ SmalltalkImage >> image [
SmalltalkImage >> imageDirectory [
"Answer the directory containing the current image."

^ self primImagePath asFileReference parent
^ self imagePath asFileReference parent
]

{ #category : #'image, changes name' }
@@ -1329,7 +1329,7 @@ SmalltalkImage >> primBytesLeft [
^0
]

{ #category : #'image, changes name' }
{ #category : #primitives }
SmalltalkImage >> primImagePath [
"Answer the full path name for the current image."
"Smalltalk imageName"
@@ -1338,7 +1338,7 @@ SmalltalkImage >> primImagePath [
self primitiveFailed
]

{ #category : #'image, changes name' }
{ #category : #primitives }
SmalltalkImage >> primImagePath: newName [
"Set the the full path name for the current image. All further snapshots will use this."

0 comments on commit d76cb53

Please sign in to comment.
You can’t perform that action at this time.