ObjFW  Diff

Differences From Artifact [f41e3bb02c]:

To Artifact [9ff417c581]:


359
360
361
362
363
364
365
366
367




368
369
370
371
372
373
374
359
360
361
362
363
364
365


366
367
368
369
370
371
372
373
374
375
376







-
-
+
+
+
+







- (int)fileDescriptorForWriting
{
	return _writePipe[1];
}

- (void)closeForWriting
{
	if (_writePipe[1] != -1)
		close(_writePipe[1]);
	if (_readPipe[0] == -1 || _writePipe[1] == -1)
		@throw [OFNotOpenException exceptionWithObject: self];

	close(_writePipe[1]);

	_writePipe[1] = -1;
}

- (void)close
{
	if (_readPipe[0] == -1)