CrLfFileStream on MacOSX

Andrew P. Black black at cs.pdx.edu
Wed Feb 14 01:17:47 UTC 2007


I have noticed that CrLfFileStream class >>  
guessDefaultLineEndConvention does not work on my MacOSX system

DirectoryClass (a class variable, defined in class FileDirectory) is   
UnixFileDirectory on my system, which seems reasonable — but  that  
class hard-codes the path separator to be /, which  
guessDefaultLineEndConvention uses to guess that LF is the right line  
ending convention.

This explains, perhaps, why LF characters are increasingly polluting  
the sources and changes files.

	Andrew




More information about the Squeak-dev mailing list