I was just puzzled why "CrLfFileStream defaultToLF" does not work until I
figured that CrLfFileStream new returns an instance of a different class:
CrLfFileStream class>>new
^ (MultiByteFileStream new) wantsLineEndConversion: true; yourself.
Does somebody know what the point is? I really sometimes wonder why good coders
write such code, and not even care to add a comment...
Cheers,
Adrian
___________________
http://www.adrian-lienhard.ch/
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project