From 085866c1a33461cf5d62b85029b60e897fdfc064 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 16 May 1998 04:40:38 +0000 Subject: (hash_compare_strings): Return true or false, not 1/0. (remove_cwd_entries): Use RM_OK, not equivalent literal `1'. --- src/remove.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/remove.c') diff --git a/src/remove.c b/src/remove.c index f91ac55d4..c7bb679ba 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 STREQ (x, y); + return STREQ (x, y) ? true : false; } static inline void @@ -568,7 +568,7 @@ remove_cwd_entries (const struct rm_options *x) if (CLOSEDIR (dirp)) { error (0, errno, "%s", full_filename (".")); - status = 1; + status = RM_OK; } dirp = NULL; -- cgit v1.2.3-54-g00ecf