3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-23 17:15:33 +00:00

Less verbose ABC output

This commit is contained in:
Clifford Wolf 2014-12-29 15:17:40 +01:00
parent 0bb6b24c11
commit 7a4d5d1c0f
3 changed files with 55 additions and 23 deletions

View file

@ -360,7 +360,6 @@ void remove_directory(std::string dirname)
if (strcmp(namelist[i]->d_name, ".") && strcmp(namelist[i]->d_name, "..")) {
std::string buffer = stringf("%s/%s", dirname.c_str(), namelist[i]->d_name);
if (!stat(buffer.c_str(), &stbuf) && S_ISREG(stbuf.st_mode)) {
log("Removing `%s'.\n", buffer.c_str());
remove(buffer.c_str());
} else
remove_directory(buffer);
@ -368,7 +367,6 @@ void remove_directory(std::string dirname)
free(namelist[i]);
}
free(namelist);
log("Removing `%s'.\n", dirname.c_str());
rmdir(dirname.c_str());
#endif
}