@@ -695,21 +695,21 @@ { if (lseek(fd, offset, SEEK_SET) == -1) @throw [OFSeekFailedException newWithClass: isa]; } -- (size_t)_seekForwardWithOffset: (off_t)offset +- (off_t)_seekForwardWithOffset: (off_t)offset { off_t ret; if ((ret = lseek(fd, offset, SEEK_CUR)) == -1) @throw [OFSeekFailedException newWithClass: isa]; return ret; } -- (size_t)_seekToOffsetRelativeToEnd: (off_t)offset +- (off_t)_seekToOffsetRelativeToEnd: (off_t)offset { off_t ret; if ((ret = lseek(fd, offset, SEEK_END)) == -1) @throw [OFSeekFailedException newWithClass: isa]; @@ -771,6 +771,24 @@ { @throw [OFNotImplementedException newWithClass: isa selector: _cmd]; [super dealloc]; /* Get rid of stupid warning */ } + +- (void)_seekToOffset: (off_t)offset +{ + @throw [OFNotImplementedException newWithClass: isa + selector: _cmd]; +} + +- (off_t)_seekForwardWithOffset: (off_t)offset +{ + @throw [OFNotImplementedException newWithClass: isa + selector: _cmd]; +} + +- (off_t)_seekToOffsetRelativeToEnd: (off_t)offset +{ + @throw [OFNotImplementedException newWithClass: isa + selector: _cmd]; +} @end