mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
parent
dff3a37afd
commit
1bc8fab0e7
2 changed files with 2 additions and 2 deletions
|
|
@ -473,7 +473,7 @@ static size_t
|
|||
new_buffersize(PyFileObject *f, size_t currentsize)
|
||||
{
|
||||
#ifdef HAVE_FSTAT
|
||||
long pos, end;
|
||||
off_t pos, end;
|
||||
struct stat st;
|
||||
if (fstat(fileno(f->f_fp), &st) == 0) {
|
||||
end = st.st_size;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue