On Thu, 25 Sep 2003, Etienne Goyer wrote: > However, the man page is wrong about EINTR at least as far as RedHat 7.x > is concerned. In a murder environnement, when following a referral :
No it isn't wrong. The problem is signals that are configured via signal() instead of sigaction(). On Linux, signal() implicetly sets the SA_RESTART flag, which causes the signal to have this behavior, not the syscall. If SA_RESTART is not set, then the system call is interrupted (and returns EINTR) as it should be. -Rob -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456 Research Systems Programmer * /usr/contributed Gatekeeper