3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-10-10 09:48:06 +00:00

Don't unquote args in bugpoint or setenv

This commit is contained in:
Krystine Sherwin 2025-09-24 17:39:57 +12:00
parent ab6bdb50a9
commit 137a801b4a
No known key found for this signature in database
2 changed files with 0 additions and 4 deletions

View file

@ -149,9 +149,6 @@ struct BugpointPass : public Pass {
if (grep.empty())
return true;
if (grep.size() > 2 && grep.front() == '"' && grep.back() == '"')
grep = grep.substr(1, grep.size() - 2);
string bugpoint_file = "bugpoint-case";
if (suffix.size())
bugpoint_file += stringf(".%.8s", suffix);

View file

@ -46,7 +46,6 @@ struct SetenvPass : public Pass {
std::string name = args[1];
std::string value = args[2];
if (value.front() == '\"' && value.back() == '\"') value = value.substr(1, value.size() - 2);
#if defined(_WIN32)
_putenv_s(name.c_str(), value.c_str());