Skip to content

Commit

Permalink
Fixed infinite loop when reading STDIN
Browse files Browse the repository at this point in the history
  • Loading branch information
ra3xdh committed Sep 30, 2024
1 parent 5cb8565 commit ca2fde5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ucs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ int main (int argc, char ** argv) {
module::registerDynamicModules (projPath, vamodules);
}

else { //no argument, look into netlist
else if (infile != NULL) { //no argument, look into netlist

std::string sLine = "";
std::ifstream file;
Expand Down

0 comments on commit ca2fde5

Please sign in to comment.