[Pharo-project] FileSystem differences between Pharo-2.0 and Pharo-1.4

Sean P. DeNigris sean at clipperadams.com
Wed Aug 8 20:27:34 CEST 2012


Camillo Bruni-3 wrote
> 
> in pharo 1.4 #fileStream and #fileStreamDo: & Co are not working
> properly...
> 

Cami, are you sure? I've been using #fileStreamDo: in 1.4, and it seems to
eventually send:
  openFileStream: path writable: writable
	| fullPath |
	fullPath := self stringFromPath: path.
	"redirect over the default implementation"
	^ writable 
		ifFalse: [ FileStream readOnlyFileNamed: fullPath ]
		ifTrue: [ FileStream fileNamed: fullPath ]
which returns aFileStream

Sean




--
View this message in context: http://forum.world.st/FileSystem-differences-between-Pharo-2-0-and-Pharo-1-4-tp4643583p4643605.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.



More information about the Pharo-project mailing list