8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 00:03:03 +01:00

Consistence.

This commit is contained in:
robocop 2006-06-30 07:41:39 +00:00
parent 420c96ff33
commit cd0ff027d8

View File

@ -245,8 +245,8 @@ void TempFile::seek(offset_t offset)
Firebird::system_call_failed::raise("SetFilePointer");
}
#else
const off_t seek = ::lseek(handle, (off_t) offset, SEEK_SET);
if (seek == (off_t) -1)
const off_t seek_result = ::lseek(handle, (off_t) offset, SEEK_SET);
if (seek_result == (off_t) -1)
{
Firebird::system_call_failed::raise("lseek");
}