summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/environ.c
diff options
context:
space:
mode:
authorJonathan Matthew <jmatthew@cvs.openbsd.org>2016-05-26 06:59:43 +0000
committerJonathan Matthew <jmatthew@cvs.openbsd.org>2016-05-26 06:59:43 +0000
commitd0aac4b16ed89db12442240bf224fc84f2f42542 (patch)
tree8292b9e7b9004b62448a9491bf0bdf2f1465af63 /usr.bin/tmux/environ.c
parent5f30e38307a739ee0c5007da43a56fb1270660fe (diff)
Calculate elapsed time in poll() and subtract that from the remaining time
when restarting poll() after receiving a signal. The ruby runtime send signals to threads periodically, so without accounting for elapsed time, the timeout would never expire if we didn't get a response from a nameserver. ok deraadt@ eric@
Diffstat (limited to 'usr.bin/tmux/environ.c')
0 files changed, 0 insertions, 0 deletions