Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth committed Aug 31, 2024
1 parent dcee8f5 commit 0d691e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/iostream.jl
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ function filesize(s::IOStream)
catch e
e isa IOError || rethrow()
# if `s` is not seekable `ios_filesize` can fail, so fall back to slower stat method
stat(s).filesize
filesize(stat(s))
end
if sz == -1
err = Libc.errno()
Expand Down

0 comments on commit 0d691e5

Please sign in to comment.