Updated diffutils packages that fix two bugs are now available for Red Hat Enterprise Linux 5.
The diffutils package contains utilities for comparing text files. These utilities include diff, cmp, diff3, and sdiff.
Prior to this update, the "-E" option of the sdiff command was not accepted and returned the following error message:
sdiff: invalid option -- E sdiff: Try `sdiff --help' for more information.
This was because the "-E" option was accidentally omitted from the list of accepted options. This update fixes this bug, and the "-E" option works as expected.
When using the cmp command's "-s" option to compare files, incorrect results were returned for special files whose metadata is not accurate, for example files in the proc file system. This update fixes this bug by always reading the content of files whose length is reported as zero bytes.
All users of diffutils are advised to upgrade to these updated packages, which fix these bugs.