ObjFW  Diff

Differences From Artifact [4951913bf9]:

To Artifact [bef5ba2521]:


366
367
368
369
370
371
372
373


374
375
376
377
378
379
380
381
	}

	return (size_t)bytesWritten;
}

- (void)closeForWriting
{
	if (_writePipe[1] != NULL)


		CloseHandle(_writePipe[1]);

	_writePipe[1] = NULL;
}

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







|
>
>
|







366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
	}

	return (size_t)bytesWritten;
}

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

	CloseHandle(_writePipe[1]);

	_writePipe[1] = NULL;
}

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