#BUGFIX by stefan
class: PipeStream
changed: #openPipeFor:withMode:errorDisposition:inDirectory:
fix stdio filepointer memory leak introduced in V1.130
--- a/PipeStream.st Thu Jan 12 01:11:21 2017 +0100
+++ b/PipeStream.st Thu Jan 12 01:13:40 2017 +0100
@@ -686,10 +686,10 @@
result ifTrue:[
"successfull creation of subprocesss"
- self setFileHandle:myPipeEnd fileHandle mode:rwMode.
+ handle := myPipeEnd handle.
+ handleType := myPipeEnd handleType.
myPipeEnd unregisterForFinalization. "make sure filedesciptor is not closed by finalizer"
myPipeEnd := nil.
- handleType := #pipeFilePointer.
] ifFalse:[
"the pipe open failed for some reason ...
... this may be either due to an invalid command string,