projects
/
platform
/
upstream
/
make.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a12be3
)
(main): Handle 1 and 2 returns from update_goal_chain makefile run
author
Roland McGrath
<roland@redhat.com>
Fri, 24 Mar 1995 23:27:05 +0000
(23:27 +0000)
committer
Roland McGrath
<roland@redhat.com>
Fri, 24 Mar 1995 23:27:05 +0000
(23:27 +0000)
properly.
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index
9363fe6
..
3777ef9
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-923,14
+923,17
@@
main (argc, argv, envp)
switch (update_goal_chain (read_makefiles, 1))
{
+ case 1:
+ assert ("Status indicates -q set while remaking makefiles!");
default:
- abort ();
+ assert ("bogus status from update_goal_chain");
+ break;
case -1:
/* Did nothing. */
break;
- case
1
:
+ case
2
:
/* Failed to update. Figure out if we care. */
{
/* Nonzero if any makefile was successfully remade. */