mirror of
https://github.com/rui314/mold.git
synced 2024-09-11 13:06:59 +03:00
Attempt to fix Windows CI
This commit is contained in:
parent
32c4a09deb
commit
8df5a76203
@ -1004,7 +1004,7 @@ void write_repro_file(Context<E> &ctx) {
|
||||
// We reopen a file because we may have modified the contents of mf
|
||||
// in memory, which is mapped with PROT_WRITE and MAP_PRIVATE.
|
||||
MappedFile *mf2 = must_open_file(ctx, mf->name);
|
||||
tar->append(to_abs_path(mf->name), mf2->get_contents());
|
||||
tar->append(to_abs_path(mf->name).string(), mf2->get_contents());
|
||||
mf2->unmap();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user