ObjFW  Diff

Differences From Artifact [47e26e30a9]:

To Artifact [b38c51b4de]:


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
548
549
550
551
552
553
							     errNo: errNo];
	}
#endif

	return (size_t)bytesWritten;
}


- (int)fileDescriptorForReading
{
#ifndef OF_WINDOWS
	return _readPipe[0];
#else
	OF_UNRECOGNIZED_SELECTOR
#endif
}

- (int)fileDescriptorForWriting
{
#ifndef OF_WINDOWS
	return _writePipe[1];
#else
	OF_UNRECOGNIZED_SELECTOR
#endif
}


- (void)closeForWriting
{
#ifndef OF_WINDOWS
	if (_writePipe[1] != -1)
		close(_writePipe[1]);








>


<

<
<
<




<

<
<
<

>







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]);