From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <17291D00-8580-474A-B398-8DCE626A9042@fastmail.fm> From: Ethan Grammatikidis To: ebo@sandien.com, Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Wed, 14 Apr 2010 17:22:36 +0100 References: Subject: Re: [9fans] 9vx patch to read environment var PLAN9 Topicbox-Message-UUID: 0117db96-ead6-11e9-9d60-3106f5b1d025 On 13 Apr 2010, at 06:20, EBo wrote: > Skip Tavakkolian <9nut@9netics.com> said: > >>> but both >>> of the hard-coded paths in 9vx main.c are obviously in RSC's home >>> directories >> >> it's not hardcoded; > > What? The findroot code reads: > > static char* > findroot(void) > { > static char cwd[1024]; > int i; > char buf[1024]; > char *dir[] = { > cwd, I don't usually like to say "why bother", but given 9vx could be launched with the appropriate parameter from a 2 line shell script (including the #!), why are you even debating this? -- Simplicity does not precede complexity, but follows it. -- Alan Perlis