--- a/AbstractOperatingSystem.st Tue Feb 04 11:35:14 2020 +0100
+++ b/AbstractOperatingSystem.st Tue Feb 04 11:47:09 2020 +0100
@@ -17,8 +17,8 @@
Object subclass:#AbstractOperatingSystem
instanceVariableNames:''
- classVariableNames:'ConcreteClass ErrorSignal LastErrorNumber LocaleInfo OSSignals
- PipeFailed Resources VoiceMapping DefaultVoice'
+ classVariableNames:'ConcreteClass DefaultVoice ErrorSignal LastErrorNumber LocaleInfo
+ OSSignals PipeFailed Resources VoiceMapping'
poolDictionaries:''
category:'System-Support'
!
@@ -1366,70 +1366,6 @@
"Created: / 12.11.1998 / 14:39:20 / cg"
! !
-!AbstractOperatingSystem class methodsFor:'executing OS commands-private'!
-
-shuffleAllFrom:anInStream to:anOutStream lineWise:lineWise lockWith:aLock
- "This is obsolete but still used in expecco-StandardLibrary 2.11 (and newer)"
- <resource: #obsolete>
- <resource: #EXPECCO_API>
-
- lineWise ifFalse:[
- ^ anInStream copyToEndInto:anOutStream.
- ].
- [anInStream isOpen and:[anInStream atEnd not]] whileTrue:[
- aLock critical:[
- self
- shuffleFrom:anInStream
- to:anOutStream
- lineWise:lineWise
- ]
- ]
-
- "Modified (comment): / 20-07-2017 / 17:47:18 / stefan"
- "Modified: / 19-02-2019 / 23:07:25 / Claus Gittinger"
-!
-
-shuffleFrom:anInStream to:anOutStream lineWise:lineWise
- "copy data from anInStream to anOutStream.
- Caller makes sure, that anInStream does not block.
- anOutstream should have been set to non-blocking-mode"
-
- "This is obsolete but still used in expecco-StandardLibrary 2.11 (and newer)"
-
- <resource: #obsolete>
- <resource: #EXPECCO_API>
-
- lineWise ifTrue:[
- |data|
-
- data := anInStream nextLine.
- data notNil ifTrue:[
- anOutStream nextPutLine:data
- ] .
- ] ifFalse:[
- anInStream copyToEndInto:anOutStream.
- ].
-
- "Modified (comment): / 20-07-2017 / 17:47:01 / stefan"
- "Modified: / 19-02-2019 / 23:08:02 / Claus Gittinger"
-!
-
-shuffleRestFrom:anInStream to:anOutStream lineWise:lineWise
- "This is obsolete but still used in expecco-StandardLibrary 2.11"
-
- <resource: #obsolete>
- <resource: #EXPECCO_API>
-
- [anInStream atEnd] whileFalse:[
- self
- shuffleFrom:anInStream
- to:anOutStream
- lineWise:lineWise.
- ].
-
- "Modified (comment): / 20-07-2017 / 17:46:26 / stefan"
- "Modified: / 19-02-2019 / 23:08:26 / Claus Gittinger"
-! !
!AbstractOperatingSystem class methodsFor:'executing OS commands-public'!
@@ -5888,7 +5824,7 @@
The fallback here is to use the same encoding as for system calls;
(which works currently, but who knows...)"
- self encodePathOrCommandInput:aString.
+ ^ self encodePathOrCommandInput:aString.
"Created: / 01-03-2017 / 11:22:27 / cg"
! !