diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2012-11-20 19:48:27 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2012-11-20 19:48:27 +0100 |
| commit | 985464bee52b687ab531d8ae2562465f8e7fcc92 (patch) | |
| tree | 4af5aaa87bae14304a85bd7bf5904d3485f11b54 /src/input_handler.cc | |
| parent | 8bbfbc8c72330dded76c5c3bd6a6a67724739639 (diff) | |
Fix FIFO double deregistering issue when closing the buffer after EOF
When a fifo was closed, the fifo event handler would close the fd and
unregister it from the event handler, however the hook on BufClose
did that as well without checking if the fd was still refering to the
fifo.
Now we use a Buffer flag Fifo to tag the buffer as still linked to
a fifo so that the BufClose hook do not close and unregister a second
time
Diffstat (limited to 'src/input_handler.cc')
0 files changed, 0 insertions, 0 deletions
