Commit Graph
1 Commits
Author SHA1 Message Date
doctor-claw a4697bd29d Use 64-bit stat in FileStat on Windows (#2705)
FileStat used struct _stat and _wstat on Windows, whose st_size is 32-bit, so _wstat failed with EOVERFLOW for a file of 2 GiB or more. is_file() then returned false, and set_mount_point served 404 for a file that exists; size() and mtime() had the same limit. struct _stat64 and _wstat64 have a 64-bit st_size.
2026-12-02 00:21:45 -05:00