Page MenuHomeFreeBSD

D38489.1794675891.diff
No OneTemporary

Authored By
Unknown
Size
409 B
Referenced Files
None
Subscribers
None

D38489.1794675891.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
Sat, Nov 14, 5:04 PM (14 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41728241
Default Alt Text
D38489.1794675891.diff (409 B)

Event Timeline