From: Roland McGrath Date: Fri, 24 Mar 1995 05:40:22 +0000 (+0000) Subject: (update_file_1): Handle FILE->update_status == 2 in -d printout. X-Git-Tag: 3.72.12~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe05aaf7f250ca7d794fb1c064921e1aa03e9ec1;p=thirdparty%2Fmake.git (update_file_1): Handle FILE->update_status == 2 in -d printout. --- diff --git a/remake.c b/remake.c index 2a882b30..9a75434a 100644 --- a/remake.c +++ b/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; }