SWDEV-407818 - Fixed bug when opening LinkerFile fstream on windows

Change-Id: If6f083d9fa83066eb2b20ab24dceaa9df7a2f0a0


[ROCm/clr commit: 791cea44f1]
Tá an tiomantas seo le fáil i:
Ioannis Assiouras tiomanta 2023-07-07 13:25:04 -04:00
1 tuismitheoir 73c16500c4
tiomantas 41381e9557
1 comhad athraithe
+1 -1
+1 -1
Féach ar an gComhad
@@ -598,7 +598,7 @@ bool RTCLinkProgram::AddLinkerDataImpl(std::vector<char>& link_data, hiprtcJITIn
}
bool RTCLinkProgram::AddLinkerFile(std::string file_path, hiprtcJITInputType input_type) {
std::ifstream file_stream{file_path};
std::ifstream file_stream{file_path, std::ios_base::in | std::ios_base::binary};
if (!file_stream.good()) {
return false;
}