Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!rice!sun-spots-request From: cs@kanawha.eng.sun.com (Carl Smith) Newsgroups: comp.sys.sun Subject: Re: Portmap fix is Bug Id 1025560 (was Re: missing ethers entry) Keywords: SunOS Message-ID: <3631@brazos.Rice.edu> Date: 2 Dec 89 12:12:15 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 6 Approved: Sun-Spots@rice.edu X-Refs: Original: v8n204, Replies: v8n208 v8n210 X-Sun-Spots-Digest: Volume 8, Issue 215, message 1 of 12 The portmapper problem was caused by a SIGCHLD interrupting svc_run and calling a signal handler which changed the value of errno (svc_run checks for and ignores errno == EINTR, but believes other errors are genuine and returns). The patch saves and restores errno in the SIGCHLD handler. Carl