Page MenuHomeFreeBSD

D38489.diff
No OneTemporary

D38489.diff

diff --git a/usr.bin/wc/wc.c b/usr.bin/wc/wc.c
--- a/usr.bin/wc/wc.c
+++ b/usr.bin/wc/wc.c
@@ -50,7 +50,6 @@
#include <capsicum_helpers.h>
#include <ctype.h>
-#include <err.h>
#include <errno.h>
#include <fcntl.h>
#include <locale.h>
@@ -187,7 +186,8 @@
fileargs_free(fa);
xo_close_container("wc");
- xo_finish();
+ if (xo_finish() < 0)
+ xo_err(1, "stdout");
exit(errors == 0 ? 0 : 1);
}

File Metadata

Mime Type
text/plain
Expires
Thu, Jan 9, 9:19 AM (3 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15731209
Default Alt Text
D38489.diff (409 B)

Event Timeline