From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@9fans.net Date: Thu, 15 Apr 2010 08:44:11 +0000 From: Balwinder S Dheeman Message-ID: <9jbh97xjn4.ln2@news.homelinux.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: , <17291D00-8580-474A-B398-8DCE626A9042@fastmail.fm> Subject: Re: [9fans] 9vx patch to read environment var PLAN9 Topicbox-Message-UUID: 019e6210-ead6-11e9-9d60-3106f5b1d025 On 04/14/2010 09:55 PM, Ethan Grammatikidis wrote: > > 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? Just to add more complications ;) -- Balwinder S "bdheeman" Dheeman Registered Linux User: #229709 Anu'z Linux@HOME (Unix Shoppe) Machines: #168573, 170593, 259192 Chandigarh, UT, 160062, India Plan9, T2, Arch/Debian/FreeBSD/XP Home: http://werc.homelinux.net/ Visit: http://counter.li.org/