[Midnightbsd-cvs] [MidnightBSD/src] 6f0dea: sbin/fsck_msdosfs: replace __nonstring with brace ...
Lucas Holt
noreply at github.com
Sat Jun 6 22:54:50 EDT 2026
Branch: refs/heads/master
Home: https://github.com/MidnightBSD/src
Commit: 6f0dea9ac881c7a1dedeb3a18a22bec5cd962734
https://github.com/MidnightBSD/src/commit/6f0dea9ac881c7a1dedeb3a18a22bec5cd962734
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-06-06 (Sat, 06 Jun 2026)
Changed paths:
M sbin/fsck_msdosfs/dir.c
Log Message:
-----------
sbin/fsck_msdosfs: replace __nonstring with brace initializers
The __nonstring attribute was added to silence warnings about
char arrays initialized with strings that fill all 11 bytes
with no room for a null terminator. Using brace initializers
instead is portable across all compiler versions and avoids
any dependency on __nonstring__ attribute support, fixing the
rescue build failure reported in issue #373.
Fixes: 6fcd6db0ff ("fsck_msdosfs: avoid warnings about too-long initializer strings")
Co-Authored-By: Claude Sonnet 4.6 <noreply at anthropic.com>
To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/src/settings/notifications
More information about the Midnightbsd-cvs
mailing list