ObjFW  Diff

Differences From Artifact [8e458eea83]:

To Artifact [08425887c5]:


894
895
896
897
898
899
900


901
902
903
904
905
906
907
{
	off_t ret = lseek(_fd, offset, whence);

	if (ret == -1)
		@throw [OFSeekFailedException exceptionWithStream: self
							   offset: offset
							   whence: whence];



	return ret;
}

- (int)fileDescriptorForReading
{
	return _fd;







>
>







894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
{
	off_t ret = lseek(_fd, offset, whence);

	if (ret == -1)
		@throw [OFSeekFailedException exceptionWithStream: self
							   offset: offset
							   whence: whence];

	_atEndOfStream = false;

	return ret;
}

- (int)fileDescriptorForReading
{
	return _fd;