summaryrefslogtreecommitdiff
path: root/documentation/3.kernel/basic/basic.md
diff options
context:
space:
mode:
authorWang Zupeng <[email protected]>2026-11-20 20:39:10 +0800
committerRbb666 <[email protected]>2026-11-24 15:05:46 +0800
commit8d60e5f437e8e8c9d5347222135a817947d662d6 (patch)
tree0eb3ecdb3218b05036b1e12d60f92252b7f3c282 /documentation/3.kernel/basic/basic.md
parent1103c1355127b257ae915ed715099e79898f4ddc (diff)
[tools] Align binary ROMFS entries after UTF-8 names
mkromfs calculated name padding from the number of characters before encoding the name. A multibyte name could leave the following file data or directory table between word boundaries. Encode the name first and include its NUL terminator when rounding up to four bytes. Exercise the binary CLI with a nested directory and file whose UTF-8 names require different amounts of padding.
Diffstat (limited to 'documentation/3.kernel/basic/basic.md')
0 files changed, 0 insertions, 0 deletions