From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@9fans.net Subject: Re: [9fans] rc bug From: "Russ Cox" Date: Tue, 1 Jul 2008 19:11:11 -0400 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20080701230856.C400F1E8C1C@holo.morphisms.net> Topicbox-Message-UUID: d5413db6-ead3-11e9-9d60-3106f5b1d025 > I saw something similar before, but unfortunately, the patch below > doesn't fix it. I submitted a patch. diff ./io.c /n/sources/plan9/sys/src/cmd/rc/io.c 94c94 < for(t = s;*t;t++) if(*t >= 0 && needsrcquote(*t)) break; --- > for(t = s;*t;t++) if(!wordchr(*t)) break; diff ./plan9.c /n/sources/plan9/sys/src/cmd/rc/plan9.c 278c278 < pfmt(fd, "fn %q %s\n", v->name, v->fn[v->pc-1].s); --- > pfmt(fd, "fn %s %s\n", v->name, v->fn[v->pc-1].s);