[lldb][windows] fix yaml2macho not loading file (#194909)

This commit is contained in:
Charles Zablit
2026-04-29 23:21:04 +01:00
committed by GitHub
parent bb82a7a872
commit 2296100e3b

View File

@@ -72,7 +72,7 @@ int main(int argc, char **argv) {
exit(1);
}
FILE *input = fopen(InputFilename.c_str(), "r");
FILE *input = fopen(InputFilename.c_str(), "rb");
if (!input) {
fprintf(stderr, "Unable to open %s, exiting\n", InputFilename.c_str());
exit(1);