aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/bc.y
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-04-24 16:34:15 +0000
committerrsc <devnull@localhost>2004-04-24 16:34:15 +0000
commite2713e92abdfd2ac5359f5756ffff112e1069c78 (patch)
tree13f0ed38829954e2e929105b13c8061d8e0b51f0 /src/cmd/bc.y
parent97dafe411ab1f501cea5f1d4a14dbc9be549a767 (diff)
downloadplan9port-e2713e92abdfd2ac5359f5756ffff112e1069c78.tar.gz
plan9port-e2713e92abdfd2ac5359f5756ffff112e1069c78.tar.bz2
plan9port-e2713e92abdfd2ac5359f5756ffff112e1069c78.zip
bug fixes and a new gview
Diffstat (limited to 'src/cmd/bc.y')
-rw-r--r--src/cmd/bc.y4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cmd/bc.y b/src/cmd/bc.y
index 5eddf471..1bd638e2 100644
--- a/src/cmd/bc.y
+++ b/src/cmd/bc.y
@@ -6,6 +6,8 @@
#define bsp_max 5000
Biobuf *in;
+ #define stdin bstdin
+ #define stdout bstdout
Biobuf stdin;
Biobuf stdout;
char cary[1000];
@@ -979,5 +981,5 @@ main(int argc, char **argv)
dup(p[0], 0);
close(p[0]);
close(p[1]);
- execl("/bin/dc", "dc", 0);
+ execlp("dc", "dc", 0);
}