mirror of
https://gitee.com/openharmony/developtools_profiler
synced 2024-11-23 06:50:12 +00:00
修复文件路径包含空格命令被截断问题
Signed-off-by: zengxj <zengxiangjun8@h-partners.com> Change-Id: Iad3466eb933c7874cbaea089e054ee060e2f0013
This commit is contained in:
parent
184baf019f
commit
a0b4aae094
@ -95,7 +95,7 @@ int ParseMapsLine(const string& line, MapInfo& mapping)
|
||||
return -1;
|
||||
}
|
||||
// 读取文件路径
|
||||
if (!(iss >> mapping.pathname)) {
|
||||
if (getline(iss, mapping.pathname)) {
|
||||
mapping.pathname = "[anno]";
|
||||
};
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user