WAAbstractFileLibrary>>#addFile: and Squeak 5.2

Tim Johnson <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.squeak.seaside
Message-ID <[email protected]>
Hi,

I ran into a problem when trying to import a file.

I was able to solve it for this file by changing "next" to "next asCharacter" in GRSqueakPlatform>>#convertToSmalltalkNewlines:

	next = Character lf
						ifTrue: [ writeStream nextPutAll: self newline ]
						ifFalse: [ writeStream nextPut: next asCharacter ] 

However, I wonder if part of the problem isn't in the calling method, WAAbstractFileLibrary>>#addFile:, or another class's #rawContents method, which is returning a ByteArray instead of a String...?

Thanks,
Tim

_______________________________________________
seaside mailing list
[email protected]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.