Landing: 9742769e0d72
Project / Subsystem
gcc / gcc/algol68
Date
2026-05-24
Author
Peter Damianov
Commit
9742769e0d72a98988bf151d6674ab597be43493
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc/algol68
- patch_id
- —
- commit_hash
- 9742769e0d72a98988bf151d6674ab597be43493
- source_type
- github
- headline
- Algol68: Open source files in binary mode
- tldr
- The Algol68 compiler now opens source files in binary mode, fixing issues with CRLF newlines on Windows.
- author
- Peter Damianov
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • algol68
- • windows
- • newline
- • file I/O
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-05-24T00:00:00.000Z
The Algol68 compiler now opens source files in binary mode to prevent incorrect handling of CRLF newlines on Windows. Without this change, CRLF sequences were being converted to LFs, causing a86_file_read to return incorrect byte counts and trigger assertions.