diff options
author | Paul Smith <psmith@gnu.org> | 2002-04-20 19:25:54 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2002-04-20 19:25:54 +0000 |
commit | dad29566b34017a548ba56469147a5398c3334df (patch) | |
tree | 7bdd3704b8b96a8919959fb1ce20f971ae6a1cd4 /main.c | |
parent | d242ee90535385a33f5b32069220d8f547a52373 (diff) | |
download | gunmake-dad29566b34017a548ba56469147a5398c3334df.tar.gz |
Updates to translaations.
Fix an assert() in an obscure use of -q
Handling of double-colon timestamp updates was broken in a bizarre way.
Store arguments to $(call ...) functions in simple variables, not recursive
variables.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -1677,10 +1677,11 @@ int main (int argc, char ** argv) switch (update_goal_chain (read_makefiles, 1)) { case 1: - default: -#define BOGUS_UPDATE_STATUS 0 - assert (BOGUS_UPDATE_STATUS); - break; + /* The only way this can happen is if the user specified -q and asked + * for one of the makefiles to be remade as a target on the command + * line. Since we're not actually updating anything with -q we can + * treat this as "did nothing". + */ case -1: /* Did nothing. */ @@ -1860,6 +1861,11 @@ int main (int argc, char ** argv) exit (0); #endif /* NOTREACHED */ + + default: +#define BOGUS_UPDATE_STATUS 0 + assert (BOGUS_UPDATE_STATUS); + break; } db_level = orig_db_level; |