修复文件路径包含空格命令被截断问题

Signed-off-by: zengxj <zengxiangjun8@h-partners.com>
Change-Id: Iad3466eb933c7874cbaea089e054ee060e2f0013
This commit is contained in:
zengxj 2024-09-29 09:50:53 +08:00
parent 184baf019f
commit a0b4aae094

View File

@ -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;