projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6629da
)
fix result in error case
author
Matthias Braun
<matze@braunis.de>
Mon, 4 Aug 2008 12:35:51 +0000
(12:35 +0000)
committer
Matthias Braun
<matze@braunis.de>
Mon, 4 Aug 2008 12:35:51 +0000
(12:35 +0000)
[r20968]
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index
fbee913
..
c2d819c
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-1090,6
+1090,9
@@
int main(int argc, char **argv)
file->type = filetype;
}
+ if (result != EXIT_SUCCESS)
+ return result;
+
/* link program file */
if(mode == CompileAssembleLink) {
obstack_1grow(&ldflags_obst, '\0');