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

gzip: back to pointers

This commit is contained in:
Emil J. Tywoniak 2025-01-09 16:26:03 +01:00
parent a8a5463f57
commit 7aefd4b226
5 changed files with 20 additions and 20 deletions

View file

@ -470,7 +470,7 @@ void Frontend::extra_args(std::istream *&f, std::string &filename, std::vector<s
next_args.insert(next_args.end(), filenames.begin()+1, filenames.end());
}
yosys_input_files.insert(filename);
f = &uncompressed(filename, bin_input ? std::ifstream::binary : std::ifstream::in);
f = uncompressed(filename, bin_input ? std::ifstream::binary : std::ifstream::in);
}
if (f == NULL)
log_cmd_error("Can't open input file `%s' for reading: %s\n", filename.c_str(), strerror(errno));