diff options
author | rsc <devnull@localhost> | 2004-03-21 04:33:13 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-03-21 04:33:13 +0000 |
commit | 2277c5d7bbe1f9595fad512d8f790708473a9bf1 (patch) | |
tree | 4d653e13906f1971d3170dba6dbe0fbf92eb48d6 /src/cmd/rc | |
parent | a770daa795754cb600ad3fab2fdd2961147006c4 (diff) | |
download | plan9port-2277c5d7bbe1f9595fad512d8f790708473a9bf1.tar.gz plan9port-2277c5d7bbe1f9595fad512d8f790708473a9bf1.tar.bz2 plan9port-2277c5d7bbe1f9595fad512d8f790708473a9bf1.zip |
Small tweaks
Lots of new code imported.
Diffstat (limited to 'src/cmd/rc')
-rw-r--r-- | src/cmd/rc/plan9ish.c | 2 | ||||
-rw-r--r-- | src/cmd/rc/rc.h | 3 |
2 files changed, 4 insertions, 1 deletions
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; |