bin: diagnose more write errors
* tests/core/full.test: New file. * tests/Makefile.am: Add it. * bin/autfilt.cc, bin/common_aoutput.cc, bin/common_aoutput.hh, bin/common_file.cc, bin/common_file.hh, bin/genltl.cc, bin/ltlcross.cc, bin/ltlfilt.cc, bin/ltlgrind.cc, bin/randltl.cc: Add diagnostics. * NEWS: Mention the fix.
This commit is contained in:
parent
53e6640034
commit
e97ea5fa74
13 changed files with 96 additions and 3 deletions
|
|
@ -409,6 +409,13 @@ void automaton_printer::add_stat(char c, const spot::printable* p)
|
|||
outputnamer.declare(c, p);
|
||||
}
|
||||
|
||||
automaton_printer::~automaton_printer()
|
||||
{
|
||||
for (auto& p : outputfiles)
|
||||
p.second->close(p.first);
|
||||
}
|
||||
|
||||
|
||||
void printable_automaton::print(std::ostream& os, const char* pos) const
|
||||
{
|
||||
std::string options = "l";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue