~vcs-imports/make/master

Viewing all changes in revision 2700.

  • Committer: Eli Zaretskii
  • Date: 2021-05-29 08:37:09 UTC
  • Revision ID: git-v1:012918bf11fbc2a94dc2319d15d05595c351b811
[SV 58656] Fix mtime for large files on MS-Windows

In MSVC builds, 'stat' fails when called on files larger than
2GB.  Call '_stat64' instead to work around this.

* src/remake.c (STAT): Define to '_stat64' for MSVC builds.
(name_mtime) [WINDOWS32]: Use STAT instead of 'stat'.
Suggested by Makoto Kato <m_kato@ga2.so-net.ne.jp>.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: