OutputFile::unset_extent() sets bytes_written

This commit is contained in:
John Reiser 2007-02-07 22:02:28 -08:00
parent 6e68ab6d9e
commit 2f529158a0

View File

@ -411,6 +411,7 @@ off_t OutputFile::unset_extent()
{
_offset = 0;
_length = ::lseek(_fd, 0, SEEK_END);
bytes_written = _length;
return _length;
}