Landing: 91b6b3371109
Project / Subsystem
gcc / cobol
Date
2026-09-18
Author
Xavier Del Campo Romero
Commit
91b6b3371109346ac54e95f895b479d0b1657a75
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- cobol
- patch_id
- —
- commit_hash
- 91b6b3371109346ac54e95f895b479d0b1657a75
- source_type
- github
- headline
- Cobol defers file status check errors to mmap
- tldr
- Cobol file opening now defers fstat errors to mmap, preventing premature failures.
- author
- Xavier Del Campo Romero
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • cobol
- • error handling
- • file I/O
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-18T00:00:00.000Z
The Cobol compiler now defers error checking for fstat(2) and directory detection during file opening to the subsequent mmap(2) call. This change improves robustness by preventing premature failures on transient file status issues.