| Summary: | "cmp -s" broken when reading a pipe | ||
|---|---|---|---|
| Product: | Base System | Reporter: | trost <trost> |
| Component: | bin | Assignee: | Sheldon Hearn <sheldonh> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Unspecified | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
trost
2000-07-24 18:00:01 UTC
On 24 Jul 2000 16:52:56 GMT, trost@cloud.rain.com wrote: > "cmp -s" will incorrectly report that files are different if > one of the files is standard input. I think that this is because -s implies -z (not mentioned in the manual page). Ciao, Sheldon. State Changed From-To: open->closed The problem came down to a pair of missing braces in rev 1.8. This'll be fixed in 4.1-RELEASE. Thanks for the report! Responsible Changed From-To: freebsd-bugs->sheldonh |