Cleanly handle select() returning EINTR.
authorEmil Mikulic <emikulic@gmail.com>
Sun, 10 Mar 2013 17:23:34 +0000 (04:23 +1100)
committerEmil Mikulic <emikulic@gmail.com>
Sun, 10 Mar 2013 17:26:24 +0000 (04:26 +1100)
commit4b7c0d634e02224d587a66ae240aba9e47a386c8
tree3a15010d8169428a8221514d410a43a326895271
parentb7aa51de0d613dd94111728413716f25556714c8
Cleanly handle select() returning EINTR.

This is usually the result of catching SIGTERM (via ^C).
After this change, we exit cleanly.
buftee.c