From 2277c5d7bbe1f9595fad512d8f790708473a9bf1 Mon Sep 17 00:00:00 2001 From: rsc Date: Sun, 21 Mar 2004 04:33:13 +0000 Subject: Small tweaks Lots of new code imported. --- src/cmd/rc/plan9ish.c | 2 +- src/cmd/rc/rc.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'src/cmd/rc') diff --git a/src/cmd/rc/plan9ish.c b/src/cmd/rc/plan9ish.c index 6e9d59f1..eb93a4f5 100644 --- a/src/cmd/rc/plan9ish.c +++ b/src/cmd/rc/plan9ish.c @@ -81,7 +81,7 @@ void Vinit(void){ for(s=*env;*s && *s!='(' && *s!='=';s++); switch(*s){ case '\0': - pfmt(err, "environment %q?\n", *env); + pfmt(err, "rc: odd environment %q?\n", *env); break; case '=': *s='\0'; diff --git a/src/cmd/rc/rc.h b/src/cmd/rc/rc.h index c81b6280..7df5fea0 100644 --- a/src/cmd/rc/rc.h +++ b/src/cmd/rc/rc.h @@ -26,6 +26,9 @@ #include "x.tab.h" #endif #endif + +#undef pipe /* so that /dev/fd works */ + typedef struct tree tree; typedef struct word word; typedef struct io io; -- cgit v1.2.3