|
@@ -618,15 +618,11 @@ void on_fresh_env(sp_rpc_server_t* server, int epid, int svc_id, int call_type,
|
|
|
if (!values[i].IsStartWith(strPrefix)) {
|
|
|
if (!strNewPath.IsNullOrEmpty()) strNewPath += ENV_SEP_STR;
|
|
|
strNewPath += values[i];
|
|
|
- //TODO: 测试代码,后续移除 [Gifur@20241015]
|
|
|
- DbgWithLink(LOG_LEVEL_DEBUG, LOG_TYPE_SYSTEM)("toadd:%s", values[i].GetData());
|
|
|
}
|
|
|
}
|
|
|
if (env->dir->dep_ver_path != NULL) {
|
|
|
if (!strNewPath.IsNullOrEmpty()) strNewPath += ENV_SEP_STR;
|
|
|
strNewPath += env->dir->dep_ver_path;
|
|
|
- //TODO: 测试代码,后续移除 [Gifur@20241015]
|
|
|
- DbgWithLink(LOG_LEVEL_DEBUG, LOG_TYPE_SYSTEM)("toadd1:%s", env->dir->dep_ver_path);
|
|
|
}
|
|
|
char vendorName[128];
|
|
|
size = 127;
|
|
@@ -636,14 +632,10 @@ void on_fresh_env(sp_rpc_server_t* server, int epid, int svc_id, int call_type,
|
|
|
CSimpleStringA strSubDep(env->dir->dep_ver_path);
|
|
|
strSubDep += SPLIT_SLASH_STR;
|
|
|
strSubDep += vendorName;
|
|
|
- //TODO: 测试代码,后续移除 [Gifur@20241015]
|
|
|
- DbgWithLink(LOG_LEVEL_DEBUG, LOG_TYPE_SYSTEM)("toadd1:%s", strSubDep.GetData());
|
|
|
if (!strNewPath.IsNullOrEmpty()) strNewPath += ENV_SEP_STR;
|
|
|
strNewPath += strSubDep;
|
|
|
}
|
|
|
toolkit_setenv(name, strNewPath.GetData());
|
|
|
- //TODO: 测试代码,后续移除 [Gifur@20241015]
|
|
|
- DbgWithLink(LOG_LEVEL_DEBUG, LOG_TYPE_SYSTEM)("renew env:%s", strNewPath.GetData());
|
|
|
}
|
|
|
|
|
|
typedef struct
|