summaryrefslogtreecommitdiff
path: root/src/remove.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-04-14 15:17:32 +0000
committerJim Meyering <jim@meyering.net>1998-04-14 15:17:32 +0000
commit713c315978828f693f84e10302cdf895816b4c5e (patch)
tree4831719b6efec15cb5445f21c100a3c3386c95d3 /src/remove.c
parent8cc46c2a189e0bf16dd83705604396da42bb3055 (diff)
downloadcoreutils-713c315978828f693f84e10302cdf895816b4c5e.tar.xz
Use STREQ in string equality tests, not strcmp.
Diffstat (limited to 'src/remove.c')
-rw-r--r--src/remove.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remove.c b/src/remove.c
index 6d9f57538..1bb3b5d8a 100644
--- a/src/remove.c
+++ b/src/remove.c
@@ -206,7 +206,7 @@ hash_pjw (const void *x, unsigned int tablesize)
static bool
hash_compare_strings (void const *x, void const *y)
{
- return strcmp (x, y) == 0;
+ return STREQ (x, y);
}
static inline void