diff options
| author | Luuk de Gram <luuk@degram.dev> | 2022-08-19 19:26:44 +0200 |
|---|---|---|
| committer | Luuk de Gram <luuk@degram.dev> | 2022-08-20 14:50:08 +0200 |
| commit | aca911ca18d43fddcc3d36f44d3750d07b53fb56 (patch) | |
| tree | a5b7eca81ae4e2a2b91ea3c3df0e797ce03c93a4 /lib/std | |
| parent | e5e6eb983159df0a089e7d1c8efcea9006e253a9 (diff) | |
| download | zig-aca911ca18d43fddcc3d36f44d3750d07b53fb56.tar.gz zig-aca911ca18d43fddcc3d36f44d3750d07b53fb56.zip | |
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.
Diffstat (limited to 'lib/std')
0 files changed, 0 insertions, 0 deletions
