diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2024-11-21 13:25:02 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2024-11-21 13:25:02 +0000 |
commit | 7780a86b36a26a50ae51d1c52249f6550dfac7f6 (patch) | |
tree | 4528bba5967e451cb2de6835d150d06e6659afcb /lib/libcurses/terminfo.3 | |
parent | ab6a86f6b7a68f64b630aaeb1208266516f3045b (diff) |
Try to handle the dumpster fire called constraint.c a bit better.
The imsg handling in here is not quite right. It works but more by luck.
- use imsgbuf_read_one (similar code as found in a few other places)
to read the one message we expect.
- do not call imsgbuf_flush() without a child running to read the data.
With large enough requests imsgbuf_flush() may be locked forever since
there is no reader on the other side of the pipe.
OK tb@
Diffstat (limited to 'lib/libcurses/terminfo.3')
0 files changed, 0 insertions, 0 deletions