[FIX] FixConcreteStream-nk (updated for 2.9 cs3144)

ned at bike-nomad.com ned at bike-nomad.com
Sun Jan 7 21:16:56 UTC 2001


"Change Set:		FixConcreteStream-nk
Date:			7 January 2001
Author:			Ned Konz <ned at bike-nomad.com>

This change set lets you change your default FileStream concreteStream
without breaking Squeak fileouts. This is important for people who
are not using Macs.
What this means is that you can create normal files using whatever
line ending preference you want (especially using the CrLfFileStream
for native compatibility), while still maintaining Squeak compatibility
for filed-out Squeak code. For instance, you can view and edit files
using
the File List regardless of what type they are.

This is done by adding a new stream constructor in FileStream class and
FileDirectory class called newSqueakFileNamed: , and making sure that
everywhere a file-out is done this constructor is called. 

Additionally, you can change your preference for
FileStream concreteStream by saying something like:

	FileStream concreteStream: CrLfFileStream

or

	FileStream concreteStream: StandardFileStream"!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/octet-stream
Size: 6052 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20010107/8575a779/attachment.obj


More information about the Squeak-dev mailing list