aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/rc/io.h
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-03-04 02:36:36 +0000
committerrsc <devnull@localhost>2004-03-04 02:36:36 +0000
commit0b917997919b470edc949b0cf7af62f160885f5e (patch)
tree293bba61e3ccdf7b30d33b491e2d0a0e1a397e15 /src/cmd/rc/io.h
parent1ae0de511a26ab944bccf7eba89c3718697cd366 (diff)
downloadplan9port-0b917997919b470edc949b0cf7af62f160885f5e.tar.gz
plan9port-0b917997919b470edc949b0cf7af62f160885f5e.tar.bz2
plan9port-0b917997919b470edc949b0cf7af62f160885f5e.zip
Fix rc not to bus error on Mac OS X.
Don't print about child notes either.
Diffstat (limited to 'src/cmd/rc/io.h')
-rw-r--r--src/cmd/rc/io.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cmd/rc/io.h b/src/cmd/rc/io.h
index 92a439e5..ec511871 100644
--- a/src/cmd/rc/io.h
+++ b/src/cmd/rc/io.h
@@ -1,3 +1,9 @@
+/*
+ * on Mac OS X, err is something else,
+ * and assigning to it causes a bus error.
+ * what a crappy linker.
+ */
+#define err rc_err
#define EOF (-1)
#define NBUF 512
struct io{