parseaut: do not close fd or stdin
* spot/parseaut/public.hh, spot/parseaut/scanaut.ll: When parsing automata read from some given FD, do not close the file descriptor, as the caller is likely to already close it, and closing FDs twice is very bad. This seems to have be the root of some issue we had with recent jupyter versions, were 0MQ would crash with "Bad file descriptor" messages. Also do not close stdin while we are at it. * NEWS: Mention the bug.
This commit is contained in:
parent
a0956d25b6
commit
49266dee7f
3 changed files with 16 additions and 7 deletions
4
NEWS
4
NEWS
|
|
@ -59,6 +59,10 @@ New in spot 2.1.2.dev (not yet released)
|
|||
when run with use_simulation (the default) on non-simplified
|
||||
automata.
|
||||
|
||||
* When the automaton_stream_parser reads an automaton from an
|
||||
already opened file descriptor, it will not close the file
|
||||
anymore.
|
||||
|
||||
New in spot 2.1.2 (2016-10-14)
|
||||
|
||||
Command-line tools:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue