From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from localhost by hawkwind.utcs.toronto.edu with SMTP id <2735>; Wed, 3 Jun 1992 19:49:43 -0400 To: rc Subject: Re: $pid In-reply-to: quanstro's message of Wed, 03 Jun 92 19:17:53 -0400. <9206032317.AA27591@stolaf.edu> Date: Wed, 3 Jun 1992 19:49:27 -0400 From: Chris Siebenmann Message-Id: <92Jun3.194943edt.2735@hawkwind.utcs.toronto.edu> Easily fixed, I think; apply the following patch to wait.c. Corrections by those more widely read in rc internals than me gladly welcome. - cks *** /tmp/,RCSt1a17852 Wed Jun 3 19:48:00 1992 --- wait.c Wed Jun 3 19:46:06 1992 *************** *** 44,49 **** --- 44,50 ---- /* NOTREACHED */ case 0: forked = TRUE; + varassign("pid", word(nprint("%d", getpid()), NULL), FALSE); SIGCHK; return 0; default: