Landing: 7aa771dc0116

Project / Subsystem

gcc / cobol

Date

2026-09-17

Author

Xavier Del Campo Romero

Commit

7aa771dc011669f4f8ac40f1b89b61fa36a477c8

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
cobol
patch_id
—
commit_hash
7aa771dc011669f4f8ac40f1b89b61fa36a477c8
source_type
github
headline
Cobol: Revert redundant NUL-termination of OS filenames
tldr
Removes redundant filename null-termination in CBL_OPEN_FILE.
author
Xavier Del Campo Romero
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • cobol
  • • libgcobol
  • • revert
  • • filenames
discussion_id_link
—
bugzilla_pr
—
date
2026-09-17T00:00:00.000Z

A previous commit that added null-termination for OS filenames in CBL_OPEN_FILE.cbl has been reverted. The change was redundant as posix-open already performs this operation. Additionally, filename length validation no longer relies on hardcoded values, instead deferring to the kernel’s error handling.