From 3e26bde6dbc9a8a46d5a1a694e6810e689cbd25a Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Fri, 15 Oct 1999 07:00:58 +0000 Subject: * Fix PR/1394. * Apply changes from Paul Eggert. * Many other cleanups (index/rindex --> strchr/strrchr, etc.) --- remake.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'remake.c') diff --git a/remake.c b/remake.c index 1d7ac08..a3653f3 100644 --- a/remake.c +++ b/remake.c @@ -744,9 +744,11 @@ notice_finished_file (file) would have been updated. */ if (question_flag || just_print_flag) - for (i = file->cmds->ncommand_lines; i > 0; --i) - if (! (file->cmds->lines_flags[i-1] & COMMANDS_RECURSE)) - break; + { + for (i = file->cmds->ncommand_lines; i > 0; --i) + if (! (file->cmds->lines_flags[i-1] & COMMANDS_RECURSE)) + break; + } /* If there were no commands at all, it's always new. */ @@ -1232,7 +1234,7 @@ library_search (lib, mtime_ptr) /* Loop variables for the libpatterns value. */ char *p, *p2; - int len; + unsigned int len; char *file, **dp; -- cgit v1.2.3