diff options
author | Jim Meyering <meyering@redhat.com> | 2012-01-12 14:04:17 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2012-01-12 14:04:44 +0100 |
commit | 6e51ccfb4eccfdb6672e69c982723f633fb0f099 (patch) | |
tree | 0cdbeab91ec5ab96982bf15a840342de9aaaae8c | |
parent | e3324651cc1f9f116754a4713e08bfb0bac50150 (diff) | |
download | diffutils-6e51ccfb4eccfdb6672e69c982723f633fb0f099.tar.gz |
maint: avoid new syntax-check failure
* src/diff.c (compare_files): Use STREQ, not strcmp.
-rw-r--r-- | src/diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |