Commit a2fd722
committed
fix(wc): flush stdout before printing deferred error
Ensure deferred error messages are printed after all stats output, matching GNU wc behavior. Added io::stdout().flush() to guarantee buffered output is written before showing the error.1 parent e9070a9 commit a2fd722
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
973 | 973 | | |
974 | 974 | | |
975 | 975 | | |
| 976 | + | |
976 | 977 | | |
977 | 978 | | |
978 | 979 | | |
| |||
0 commit comments