plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 7ae745421a25a4706522fe894303cc40ec153cd1
parent 372c9567e1d2b9115eeee0db4a28ba0688e490dc
Author: rsc <devnull@localhost>
Date:   Thu, 17 Jun 2004 03:30:49 +0000

look for $HOME - thanks to peter canning.

Diffstat:
Msrc/cmd/acme/acme.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/cmd/acme/acme.c b/src/cmd/acme/acme.c @@ -111,6 +111,8 @@ threadmain(int argc, char *argv[]) cputype = getenv("cputype"); objtype = getenv("objtype"); home = getenv("home"); + if(home == nil) + home = getenv("HOME"); p = getenv("tabstop"); if(p != nil){ maxtab = strtoul(p, nil, 0);