aboutsummaryrefslogtreecommitdiff
path: root/bin/vwhois
diff options
context:
space:
mode:
authorMichael Teichgräber <mt4swm@googlemail.com>2009-08-08 16:27:01 -0400
committerMichael Teichgräber <mt4swm@googlemail.com>2009-08-08 16:27:01 -0400
commit74be46038de399f5d5ba48bef15a3b649b883967 (patch)
tree21e7797ec60c75e3c82c83e77fceb13909051057 /bin/vwhois
parent1d534ed6ceb13aa90fea2d0889bdb28ff946ac8d (diff)
downloadplan9port-74be46038de399f5d5ba48bef15a3b649b883967.tar.gz
plan9port-74be46038de399f5d5ba48bef15a3b649b883967.tar.bz2
plan9port-74be46038de399f5d5ba48bef15a3b649b883967.zip
rc: fix segfault when SIGINT is received
Save the value of `runq' at the start of the function, so that the `pc' update at the end does work on that original value, and not on a probably modified value of `runq'. fixes #14 http://code.swtch.com/plan9port/issue/14/ http://codereview.appspot.com/104066
Diffstat (limited to 'bin/vwhois')
0 files changed, 0 insertions, 0 deletions