Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Avoid using stat to retrieve file modification times on Windows (#7731) #7736

merged 1 commit into from Sep 13, 2019


Copy link

@orudge orudge commented Sep 11, 2019

Arguable whether it's worth the effort fixing this one, but the attached changes fix the issue reported in #7731. I've tested with MSVC 2019 and a Windows XP VM and the file sorting works correctly. Since our builds do still work on XP SP3 it doesn't seem unreasonable to fix issues that are straightforward, but I would maintain that XP is still very much unsupported at this stage!

src/fios.cpp Outdated Show resolved Hide resolved
Copy link

@planetmaker planetmaker left a comment

I have little ability to test that myself, but see no reason to not approve, if it works.

@orudge orudge merged commit 165eae0 into OpenTTD:master Sep 13, 2019
8 checks passed
@nielsmh nielsmh added the backport requested label Sep 16, 2019
@nielsmh nielsmh added backported and removed backport requested labels Sep 16, 2019
Copy link

@sirkoz sirkoz commented Sep 18, 2019

A big thank you to all involved to make this happen. They live! (XP machines that is) :-)

Copy link

@LordAro LordAro commented Sep 18, 2019

But they really shouldn't! ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

Successfully merging this pull request may close these issues.

None yet

5 participants