Fix a file descriptor leak in cmp(1)
Also, add a few test cases
Reported by: Coverity
|63–98 ↗||(On Diff #23683)|
I can do that, or I can create a separate test file for our tests. Which would you prefer?
|93 ↗||(On Diff #23683)|
|102 ↗||(On Diff #23683)|
Grr, I should've seen that. Still, I wish Coverity would sanely sort its output.