Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
-
fc958fc9
by Julian Ospald at 2025-12-06T11:08:53-05:00
1 changed file:
Changes:
| ... | ... | @@ -592,6 +592,9 @@ HsInt loadArchive_ (pathchar *path) |
| 592 | 592 | if (!readThinArchiveMember(n, memberSize, path, fileName, image)) {
|
| 593 | 593 | goto fail;
|
| 594 | 594 | }
|
| 595 | + // Unlike for regular archives for thin archives we can only identify the object format
|
|
| 596 | + // after having read the file pointed to.
|
|
| 597 | + object_fmt = identifyObjectFile_(image, memberSize);
|
|
| 595 | 598 | }
|
| 596 | 599 | else
|
| 597 | 600 | {
|