mirror of
https://https.git.savannah.gnu.org/git/diffutils.git
synced 2026-01-27 01:44:20 +00:00
maint: avoid new syntax-check failure
* src/diff.c (compare_files): Use STREQ, not strcmp.
This commit is contained in:
parent
e3324651cc
commit
6e51ccfb4e
@ -1311,7 +1311,7 @@ compare_files (struct comparison const *parent,
|
||||
}
|
||||
if (status == EXIT_SUCCESS)
|
||||
{
|
||||
if (strcmp (link_value[0], link_value[1]) != 0)
|
||||
if ( ! STREQ (link_value[0], link_value[1]))
|
||||
{
|
||||
message ("Symbolic links %s and %s differ\n",
|
||||
cmp.file[0].name, cmp.file[1].name);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user