fclose(FILE*) instead of close(fileno(FILE*)) (#1758)
This is the same thing but confuses Coverity.
This commit is contained in:
@ -336,7 +336,7 @@ bool FdManager::HaveLseekHole()
|
||||
result = false;
|
||||
}
|
||||
}
|
||||
close(fd);
|
||||
fclose(ptmpfp);
|
||||
|
||||
FdManager::checked_lseek = true;
|
||||
FdManager::have_lseek_hole = result;
|
||||
|
||||
Reference in New Issue
Block a user