Fixing CRLF issues

subbukk subbukk at gmail.com
Mon May 7 17:52:42 UTC 2007


Hi,

I bumped into CRLF pollution in SqueakV39.sources file and also saw the bug 
report
http://bugs.squeak.org/view.php?id=6173
by Andrew.

IMHO, line endings is platform-specific (not filesystem specific). A fileout 
on a FAT32 filesystem on a Linux box, should put LF in the file not CRLF.

Reader should be prepared to handle any convention while writers should be 
using platform-native convention for text files.

Shouldn't this be handled in a primitive or a System Attribute? Attempting to 
guess line ending in Squeak code sounds regressive.

Regards .. Subbu



More information about the Squeak-dev mailing list