Re: [Pharo-project] Setting File>>serverMode
On May 29, 2011, at 11:06 AM, Marcus Denker wrote:
On May 29, 2011, at 11:00 AM, Marcus Denker wrote:
So I vote for removing that preference.
It seems the code behind does nothing anyway.
-> EncodeAndDecodeStdioFiles is only set to true in initialize. No other use.
So we can clean up...
I will put an issue for that. -- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD.
stdioStreamClass ^self encodeAndDecodeStdioFiles ifTrue: [ MultiByteFileStream ] ifFalse: [ StandardFileStream ] so it is used? encodeAndDecodeStdioFiles ^EncodeAndDecodeStdioFiles ifNil: [ true ] stdioSettingOn: aBuilder <systemsettings> "we should put them under System" (aBuilder group: #Files) label: 'Files' translated; description: 'File settings' translated; with: [ (aBuilder setting: #encodeAndDecodeStdioFiles) label: 'Server mode' translated; target: FileStream; description: 'If enabled, then the contents of stdin, stdout and stderr are encoded/decoded using the system default text converter' translated] Stef
It seems the code behind does nothing anyway.
-> EncodeAndDecodeStdioFiles is only set to true in initialize. No other use.
So we can clean up...
<CleanUpServerModeSetting.1.cs>
I will put an issue for that.
-- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD.
participants (2)
-
Marcus Denker -
Stéphane Ducasse