From 8ad517944e46710ab832350c0dc3fc4e9239f7e2 Mon Sep 17 00:00:00 2001 From: rsc Date: Thu, 25 Mar 2004 23:03:57 +0000 Subject: Today's changes. More changes. --- src/cmd/rc/plan9ish.c | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'src/cmd/rc') diff --git a/src/cmd/rc/plan9ish.c b/src/cmd/rc/plan9ish.c index eb93a4f5..6b32a227 100644 --- a/src/cmd/rc/plan9ish.c +++ b/src/cmd/rc/plan9ish.c @@ -27,20 +27,10 @@ char *syssigname[]={ char* Rcmain(void) { - return "#9/rcmain"; -/* - static char buf[256]; - char *root; - - root = getenv("PLAN9"); - if(root == nil) - root = "/usr/local/plan9"; - snprint(buf, sizeof buf, "%s/rcmain", root); - return buf; -*/ + return unsharp("#9/rcmain"); } -char Fdprefix[]="#d/"; +char Fdprefix[]="/dev/fd/"; void execfinit(void); void execbind(void); void execmount(void); -- cgit v1.2.3