Differences From Artifact [47e26e30a9]:
- File
src/OFProcess.m
— part of check-in
[2f4e0df8be]
at
2017-10-17 00:33:37
on branch trunk
— Do not use implicit method return types
Instead, explicitly declare them, as OF_ASSUME_NONNULL_{BEGIN,END} does
not apply to implicit return types. This means that after this commit,
all init methods have a nonnull return type, as they should have. (user: js, size: 14313) [annotate] [blame] [check-ins using]
To Artifact [b38c51b4de]:
- File
src/OFProcess.m
— part of check-in
[69749b6a5b]
at
2017-11-19 11:04:22
on branch trunk
— Do not conform to OFReadyFor*Observing by default
Instead of letting OFStream conform to it, which itself does not really
conform to it, let all the subclasses that actually do conform to it. (user: js, size: 14223) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
523 524 525 526 527 528 529 530 531 |
errNo: errNo];
}
#endif
return (size_t)bytesWritten;
}
- (int)fileDescriptorForReading
{
| > < < < < < < < < > | 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 |
errNo: errNo];
}
#endif
return (size_t)bytesWritten;
}
#ifndef OF_WINDOWS
- (int)fileDescriptorForReading
{
return _readPipe[0];
}
- (int)fileDescriptorForWriting
{
return _writePipe[1];
}
#endif
- (void)closeForWriting
{
#ifndef OF_WINDOWS
if (_writePipe[1] != -1)
close(_writePipe[1]);
|
| ︙ | ︙ |