[squeak-dev] The Trunk: Tools-cmm.187.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Feb 19 02:42:01 UTC 2010


Chris Muller uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-cmm.187.mcz

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

Name: Tools-cmm.187
Author: cmm
Time: 18 February 2010, 8:41:31.022 pm
UUID: 9d134eae-a002-4728-be0a-eba5c9465ff0
Ancestors: Tools-dtl.186

- Fixed a missed old-style DirectoryEntry access.

=============== Diff against Tools-dtl.186 ===============

Item was changed:
  ----- Method: FileList>>entriesMatching: (in category 'private') -----
  entriesMatching: patternString
  	"Answer a list of directory entries which match the patternString.
  	The patternString may consist of multiple patterns separated by ';'.
  	Each pattern can include a '*' or '#' as wildcards - see String>>match:"
  
  	| entries patterns |
  	entries := directory entries reject:[:e| e isDirectory].
  	patterns := patternString findTokens: ';'.
  	(patterns anySatisfy: [:each | each = '*'])
  		ifTrue: [^ entries].
+ 	^ entries select: [:entry | patterns anySatisfy: [:each | each match: entry name]]!
- 	^ entries select: [:entry | patterns anySatisfy: [:each | each match: entry first]]!




More information about the Squeak-dev mailing list