[lldb][windows] fix yaml2macho not loading file (#194909)
This commit is contained in:
@@ -72,7 +72,7 @@ int main(int argc, char **argv) {
|
|||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
FILE *input = fopen(InputFilename.c_str(), "r");
|
FILE *input = fopen(InputFilename.c_str(), "rb");
|
||||||
if (!input) {
|
if (!input) {
|
||||||
fprintf(stderr, "Unable to open %s, exiting\n", InputFilename.c_str());
|
fprintf(stderr, "Unable to open %s, exiting\n", InputFilename.c_str());
|
||||||
exit(1);
|
exit(1);
|
||||||
|
|||||||
Reference in New Issue
Block a user