mirror of
https://github.com/mirror/make.git
synced 2024-12-29 14:30:42 +08:00
(update_file_1): Handle FILE->update_status == 2 in -d printout.
This commit is contained in:
parent
cc35ff7381
commit
fe05aaf7f2
7
remake.c
7
remake.c
@ -573,14 +573,17 @@ update_file_1 (file, depth)
|
||||
|
||||
switch (file->update_status)
|
||||
{
|
||||
case 1:
|
||||
case 2:
|
||||
DEBUGPR ("Failed to remake target file `%s'.\n");
|
||||
break;
|
||||
case 0:
|
||||
DEBUGPR ("Successfully remade target file `%s'.\n");
|
||||
break;
|
||||
case 1:
|
||||
DEBUGPR ("Target file `%s' needs remade under -q.\n");
|
||||
break;
|
||||
default:
|
||||
assert (file->update_status == 0 || file->update_status == 1);
|
||||
assert (file->update_status >= 0 && file->update_status <= 2);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user