The Trunk: Files-eem.138.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Files-eem.138.mcz

commits-2
Eliot Miranda uploaded a new version of Files to project The Trunk:
http://source.squeak.org/trunk/Files-eem.138.mcz

==================== Summary ====================

Name: Files-eem.138
Author: eem
Time: 15 September 2014, 9:45:42.663 am
UUID: 9dc5167d-267f-4496-92e3-da7e2750d917
Ancestors: Files-eem.137

Fix regression in Files-eem.132.  The instance-side
FileDirectory on: method needs to be class-specific
in determining the full path of a file name.

=============== Diff against Files-eem.137 ===============

Item was changed:
  ----- Method: FileDirectory>>on: (in category 'path access') -----
  on: path
+ "Answer another instance"
- "Return another instance"
 
+ ^self class on: (self fullPathFor: path)!
- ^ self class on: ((path at: 1 ifAbsent: nil) = self pathNameDelimiter
- ifTrue: [path]
- ifFalse: [pathName asString, (String with: self pathNameDelimiter), path])!