Hi,

when creating a file, the line end convention of the OS is not
enforced by default. As an example,

FileStream
  forceNewFileNamed: 'test'
  do: [:stream | stream
                              nextPut: $a;
                              cr;
                              nextPut: $b;
                              cr]

always creates a file with MacOS X line end convention. To enforce the
line end convention of the system, one has to do the following:

...
  do: [:stream | stream
                            wantsLineEndConvention: true;
                            ...

is it the desired behavior? If yes, should we ensure that
#wantsLineEndConvention is called each time Pharo generates a file for
the user (e.g., PharoDebug.log).

-- 
Damien Cassou
http://damiencassou.seasidehosting.st

"Lambdas are relegated to relative obscurity until Java makes them
popular by not having them." James Iry

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to