Use newline char as a delimiter in coreclr_env.list (#158) tizen_5.5_tv accepted/tizen/5.5/unified/20200129.120414 submit/tizen_5.5/20200129.055305
author김상욱/Common Platform Lab(SR)/Engineer/삼성전자 <swift.kim@samsung.com>
Wed, 29 Jan 2020 03:17:39 +0000 (12:17 +0900)
committerHyungju Lee <leee.lee@samsung.com>
Wed, 29 Jan 2020 05:52:46 +0000 (14:52 +0900)
NativeLauncher/launcher/dotnet/dotnet_launcher.cc

index 2ad94e3..1b83feb 100644 (file)
@@ -109,12 +109,9 @@ static void setEnvFromFile()
 
        if (inFile) {
                _INFO("coreclr_env.list is found");
-               std::getline(inFile, envList);
 
-               std::istringstream ss(envList);
                std::string token;
-
-               while (std::getline(ss, token, ':')) {
+               while (std::getline(inFile, token, '\n')) {
                        if (!token.empty()) {
                                __envList.push_back(token);
                        }