mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 00:03:03 +01:00
Consistence.
This commit is contained in:
parent
420c96ff33
commit
cd0ff027d8
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user