We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b202e21 commit 19e3da4Copy full SHA for 19e3da4
emcc.py
@@ -478,7 +478,7 @@ def is_ar_file_with_missing_index(archive_file):
478
archive_header = b'!<arch>\n'
479
file_header_size = 60
480
481
- with open(archive_file) as f:
+ with open(archive_file, 'rb') as f:
482
header = f.read(len(archive_header))
483
if header != archive_header:
484
# This is not even an ar file
0 commit comments