Differences From Artifact [e8f32c52e1]:
- File
src/OFProcess.m
— part of check-in
[0c7c53dd58]
at
2016-05-28 13:18:54
on branch trunk
— OFProcess: Improve environment handling on Win32
This makes sure to return NULL if the passed environment is nil and
makes sure that the environment is always terminated with 4 zero bytes,
even if the environment is empty. (user: js, size: 14325) [annotate] [blame] [check-ins using]
To Artifact [273ab6b21b]:
- File
src/OFProcess.m
— part of check-in
[1de551cb5f]
at
2016-06-07 22:56:28
on branch trunk
— Add support for reusing OFStreams after close
Right now, this is only useful for OFTCPSocket, as this is the only
class so far not establishing the stream in the init method. However,
this adds the general infrastructure to allow reuse to all subclasses of
OFStream. (user: js, size: 14342) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
590 591 592 593 594 595 596 | CloseHandle(_process); } _process = INVALID_HANDLE_VALUE; _readPipe[0] = NULL; _writePipe[1] = NULL; #endif | | > > | 590 591 592 593 594 595 596 597 598 599 600 | CloseHandle(_process); } _process = INVALID_HANDLE_VALUE; _readPipe[0] = NULL; _writePipe[1] = NULL; #endif [super close]; } @end |