diff options
author | Paul Smith <psmith@gnu.org> | 1999-10-15 07:00:58 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 1999-10-15 07:00:58 +0000 |
commit | 3e26bde6dbc9a8a46d5a1a694e6810e689cbd25a (patch) | |
tree | 20d000099ba9c0723a3c4d8925adba97aee4f2dc /remake.c | |
parent | c71200d0229f75fe99d508dd3aea013ceba4d32e (diff) | |
download | gunmake-3e26bde6dbc9a8a46d5a1a694e6810e689cbd25a.tar.gz |
* Fix PR/1394.
* Apply changes from Paul Eggert.
* Many other cleanups (index/rindex --> strchr/strrchr, etc.)
Diffstat (limited to 'remake.c')
-rw-r--r-- | remake.c | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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; |