0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00

wasm/archive: correctly parse long file names

Wasm archive files are encoded the same way as GNU.
This means that the header notates the character index within
the long file name list rather than the length of the name.
The entire name is then delimited by an LF character (0x0a).

This also makes a cosmetic update to remove the `self` name,
and rather label it as `archive` instead.
This commit is contained in:
Luuk de Gram 2022-08-19 19:26:44 +02:00
commit aca911ca18
No known key found for this signature in database
GPG key ID: A8CFE58E4DC7D664