diff options
author | Roland McGrath <roland@redhat.com> | 1995-03-24 05:40:22 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1995-03-24 05:40:22 +0000 |
commit | fe05aaf7f250ca7d794fb1c064921e1aa03e9ec1 (patch) | |
tree | 81f7b9cda4a8925b3ba95fb4a631ec7da2cc66b3 /remake.c | |
parent | cc35ff7381795cc4c1415f62fa0a840a91c94c89 (diff) | |
download | gunmake-fe05aaf7f250ca7d794fb1c064921e1aa03e9ec1.tar.gz |
(update_file_1): Handle FILE->update_status == 2 in -d printout.
Diffstat (limited to 'remake.c')
-rw-r--r-- | remake.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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; } |