Landing: d0f5e7a59a0b
Project / Subsystem
binutils / binutils
Date
2026-09-15
Author
Tom de Vries <vries@sourceware.org>
Commit
d0f5e7a59a0b1223ae1b55508522cdf0e437d5ed
Source
public_inbox
Perf win
No
Breaking
No
All attributes
- project
- binutils
- subsystem
- binutils
- patch_id
- —
- commit_hash
- d0f5e7a59a0b1223ae1b55508522cdf0e437d5ed
- source_type
- public_inbox
- headline
- Reject symlinks in check-file-mode script
- tldr
- The check-file-mode script now rejects symbolic links to prevent potential issues on platforms with limited symlink support.
- author
- Tom de Vries <vries@sourceware.org>
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • pre-commit
- • scripting
- • compatibility
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-09-15T00:00:00.000Z
The pre-commit hook’s check-file-mode script has been updated to reject symbolic links. This change addresses concerns about platform compatibility and potential problems on systems that do not fully support symlinks. The script’s functionality for checking file modes has also been refactored into a reusable function with improved error messages and comments.