FreeBSD Bugzilla – Attachment 152820 Details for
Bug 197499
wc libxo emits invalid JSON when used on multiple files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for wc that puts the total object outside the file array
wc_outside.diff (text/plain), 481 bytes, created by
Allan Jude
on 2015-02-09 21:01:54 UTC
(
hide
)
Description:
Patch for wc that puts the total object outside the file array
Filename:
MIME Type:
Creator:
Allan Jude
Created:
2015-02-09 21:01:54 UTC
Size:
481 bytes
patch
obsolete
>Index: usr.bin/wc/wc.c >=================================================================== >--- usr.bin/wc/wc.c (revision 278472) >+++ usr.bin/wc/wc.c (working copy) >@@ -140,12 +140,12 @@ > } while(*++argv); > } > >+ xo_close_list("file"); > if (total > 1) { > xo_open_container("total"); > show_cnt("total", tlinect, twordct, tcharct, tlongline); > xo_close_container("total"); > } >- xo_close_list("file"); > xo_close_container("wc"); > xo_finish(); > exit(errors == 0 ? 0 : 1);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 197499
: 152820 |
152821
|
152825