Up to [local] / src / usr.bin / tmux
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_5_8_BASE
Revision 1.36 / (download) - annotate - [select for diffs], Wed Jun 17 16:44:49 2015 UTC (8 years, 11 months ago) by nicm
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE,
OPENBSD_5_8
Changes since 1.35: +9 -6 lines
Diff to previous 1.35 (colored)
Use an explicit job state instead of avoid closing our side of the socketpair and setting it to -1 to mark when the other side is closed. This avoids closing it while the libevent bufferevent still has it (it could try to add it to the polled set which some mechanisms don't like). Fixes part a problem reported by Bruno Sutic.