bin: remove temporary files even on errors

Fixes #259.

* bin/common_setup.cc: Register a cleanup_tmpfiles() via atexit.
* tests/core/ltldo.test: Add a test case.
* NEWS: Mention the bug.
This commit is contained in:
Alexandre Duret-Lutz 2017-05-04 14:40:32 +02:00
parent e21499ea7c
commit 04640af135
3 changed files with 25 additions and 2 deletions

3
NEWS
View file

@ -8,6 +8,9 @@ New in spot 2.3.3.dev (not yet released)
- the --help output of randaut and ltl2tgba was showing an
unsupported %b stat.
- ltldo and ltlcross could leave temporary files behind when
aborting on error.
New in spot 2.3.3 (2017-04-11)
Tools: