diff options
author | aiju <aiju@phicode.de> | 2011-07-13 14:17:09 +0200 |
---|---|---|
committer | aiju <aiju@phicode.de> | 2011-07-13 14:17:09 +0200 |
commit | db0f050d2b65a5fe329cf9454720420cb2deb721 (patch) | |
tree | a018a55765531186d6a5c8eab00f41722d921e97 /sys/src/cmd/xd.c | |
parent | ebe8f9460b6a3012c9c75d8479a3e427d5c04977 (diff) |
fixed error handling in p, pr, sed, xd, yacc
Diffstat (limited to 'sys/src/cmd/xd.c')
-rw-r--r-- | sys/src/cmd/xd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/src/cmd/xd.c b/sys/src/cmd/xd.c index dcbc2f2f9..e14b741e1 100644 --- a/sys/src/cmd/xd.c +++ b/sys/src/cmd/xd.c @@ -65,6 +65,7 @@ main(int argc, char *argv[]) Arg *ap; Binit(&bout, 1, OWRITE); + Blethal(&bout, nil); err = 0; ap = 0; while(argc>1 && argv[1][0]=='-' && argv[1][1]){ @@ -205,6 +206,7 @@ xd(char *name, int title) bp = &bin; Binit(bp, fd, OREAD); } + Blethal(bp, nil); if(title) xprint("%s\n", name); addr = 0; |