From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Subject: Re: [9fans] Arg fix From: "rob pike" MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20010528171116.3FA4A199E1@mail.cse.psu.edu> Date: Mon, 28 May 2001 13:11:14 -0400 Topicbox-Message-UUID: a9b0a10a-eac9-11e9-9e20-41e7f4b1d025 I have now installed a correct wrap file. -rob === Due to an editing mistake - mine - I omitted some cleanup code for the newest wrap. It was in the original code, I just dropped it from the wrap. How embarrassing. Add the following to newproc(), creating /sys/src/9/port/proc.c:347,349 free(p->args); p->args = nil; p->nargs = 0; It's not a huge problem, because sysexec frees the old args. The effect of this mistake is to cause a process that forks without exec'ing to pick up some stale, irrelevant arguments. I'll update the files on the web later today. -rob