mirror of
https://github.com/rui314/mold.git
synced 2025-01-01 05:02:36 +03:00
temporary
This commit is contained in:
parent
d322939443
commit
cec53b4ff8
@ -837,7 +837,7 @@ std::vector<MemoryMappedFile> read_archive_members(MemoryMappedFile mb) {
|
||||
|
||||
if (hdr.ar_name[0] == '/') {
|
||||
const char *start = strtab.data() + atoi(hdr.ar_name + 1);
|
||||
name = {start, strchr(start, '/')};
|
||||
name = {start, strstr(start, "/\n")};
|
||||
} else {
|
||||
name = {hdr.ar_name, strchr(hdr.ar_name, '/')};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user