[squeak-dev] The Inbox: SMBase-cbc.133.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Jun 25 21:09:14 UTC 2014


A new version of SMBase was added to project The Inbox:
http://source.squeak.org/inbox/SMBase-cbc.133.mcz

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

Name: SMBase-cbc.133
Author: cbc
Time: 25 June 2014, 2:09:06.091 pm
UUID: 6a22238a-9713-1440-88f0-b02e04f702d8
Ancestors: SMBase-nice.132

Change to SMFileCache>>directoryForPackageRelease:
It was previously doing a FileDirectory default on self directory (which was also the full directory to local directory), resulting in serieously deep directories - and failing on Windows.

=============== Diff against SMBase-nice.132 ===============

Item was changed:
  ----- Method: SMFileCache>>directoryForPackageRelease: (in category 'accessing') -----
  directoryForPackageRelease: aPackageRelease
  	"Returns the local path for storing the package cache's version of a  
  	package file. This also ensures that the path exists."
  
  	| slash path dir |
  	slash := FileDirectory slash.
  	path := 'packages' , slash , aPackageRelease package id asString36 , slash , aPackageRelease automaticVersionString.
+ 	dir := FileDirectory on: self directory fullName, slash, path.
- 	dir := FileDirectory default on: self directory fullName, slash, path.
  	dir assureExistence.
  	^dir!



More information about the Squeak-dev mailing list