1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-13 20:33:35 +08:00
Files
osu-lazer/osu.Game.Tests
T
antfaia f73807919a Fix compatibility export using platform-dependent line endings (#37051)
The compatibility export was creating .osu files with CRLF line endings
on Windows and LF line endings on Linux/macOS, because StreamWriter
defaults to Environment.NewLine.

This caused the server to detect spurious file changes when a mapper
alternated between platforms, leading to unnecessary wipes of local
scores and noise in the beatmap update history.

Fix by explicitly setting NewLine = "\r\n" on the StreamWriter, ensuring
CRLF is always used regardless of platform.

Closes #36846

---------

Co-authored-by: Dean Herbert <pe@ppy.sh>
f73807919a · 2026-03-23 17:04:41 +09:00
History
..
2026-03-17 03:58:02 +09:00
2023-06-24 01:00:03 +09:00
2026-03-17 03:58:02 +09:00
2026-03-17 03:58:02 +09:00
2026-03-19 00:05:52 +09:00
2026-03-17 03:58:02 +09:00
2026-03-17 03:58:02 +09:00
2025-03-18 16:24:01 +09:00
2026-03-17 03:58:02 +09:00
2026-03-17 03:58:02 +09:00
2023-05-02 11:55:05 +03:00
2026-03-17 03:58:02 +09:00
2026-03-17 03:58:02 +09:00