r4545: Fix based on work by Derrell.Lipman@UnwiredUniverse.com :
authorJeremy Allison <jra@samba.org>
Thu, 6 Jan 2005 00:45:39 +0000 (00:45 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:53:47 +0000 (10:53 -0500)
commit1afc2e01ce7803a7b54715acfbcb824130f673df
tree1d42c3f26458b80078e7b7e611edba8ba27ece79
parentd097ea490525e7a35739dae6a295fd03ba52cfc0
r4545: Fix based on work by Derrell.Lipman@UnwiredUniverse.com :

  * In an application with signals, it was possible for functions to block
    indefinitely while awaiting timeouts.  This patch ensures that if a system
    call with a timeout is aborted and needs to be restarted, it is restarted
    with a timeout which is adjusted for the amount of time already waited.

Jeremy.
(This used to be commit 3a0d426764ab8bac561a47329500a03a52a00fa3)
source3/lib/select.c