diff options
author | rsc <devnull@localhost> | 2004-03-25 23:03:57 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-03-25 23:03:57 +0000 |
commit | 8ad517944e46710ab832350c0dc3fc4e9239f7e2 (patch) | |
tree | 7b99a1833e1b303719c2aac75e3f7e82482b42ab /src/cmd/diff | |
parent | cb27443abf3d6af6ab52377c71c843e619928433 (diff) | |
download | plan9port-8ad517944e46710ab832350c0dc3fc4e9239f7e2.tar.gz plan9port-8ad517944e46710ab832350c0dc3fc4e9239f7e2.tar.bz2 plan9port-8ad517944e46710ab832350c0dc3fc4e9239f7e2.zip |
Today's changes.
More changes.
Diffstat (limited to 'src/cmd/diff')
-rw-r--r-- | src/cmd/diff/diff.h | 2 | ||||
-rw-r--r-- | src/cmd/diff/main.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/cmd/diff/diff.h b/src/cmd/diff/diff.h index 8e56765f..c809ae81 100644 --- a/src/cmd/diff/diff.h +++ b/src/cmd/diff/diff.h @@ -1,3 +1,5 @@ +#define stdout bstdout + char mode; /* '\0', 'e', 'f', 'h' */ char bflag; /* ignore multiple and trailing blanks */ char rflag; /* recurse down directory trees */ diff --git a/src/cmd/diff/main.c b/src/cmd/diff/main.c index 43eb6dd1..00f69a3e 100644 --- a/src/cmd/diff/main.c +++ b/src/cmd/diff/main.c @@ -26,6 +26,8 @@ void done(int status) { rmtmpfiles(); +Bflush(&stdout); +Bterm(&stdout); switch(status) { case 0: |