From 1a6451654fe365c1981b18f35cb6e453166d1b32 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 25 Sep 2007 17:19:02 +0000 Subject: We no longer use bool in our public headers, using int instead. --- src/env-update.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/env-update.c') diff --git a/src/env-update.c b/src/env-update.c index c9739a78..254a0348 100644 --- a/src/env-update.c +++ b/src/env-update.c @@ -134,7 +134,7 @@ int env_update (int argc, char **argv) char **entries = NULL; j = strlen (file); - if (! rc_is_dir (path) && + if (rc_is_dir (path) != 0 && j > 2 && *file >= '0' && *file <= '9' && @@ -297,7 +297,7 @@ int env_update (int argc, char **argv) if (ldconfig) { /* Update ld.so.conf only if different */ - if (rc_exists (LDSOCONF)) { + if (rc_exists (LDSOCONF) == 0) { char **lines = rc_get_list (LDSOCONF); char *line; ld = false; -- cgit v1.2.3