projects
/
repair.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8ce029
)
return reasonable error codes
author
bdemsky
<bdemsky>
Mon, 17 Oct 2005 19:31:06 +0000
(19:31 +0000)
committer
bdemsky
<bdemsky>
Mon, 17 Oct 2005 19:31:06 +0000
(19:31 +0000)
Repair/RepairCompiler/structextract/dumpstructures.c
patch
|
blob
|
history
diff --git
a/Repair/RepairCompiler/structextract/dumpstructures.c
b/Repair/RepairCompiler/structextract/dumpstructures.c
index 8a95dea964b3bfc27b989b424984e415481c6a68..f56b08ab3f667aacc04750da1683d872277e7b9b 100755
(executable)
--- a/
Repair/RepairCompiler/structextract/dumpstructures.c
+++ b/
Repair/RepairCompiler/structextract/dumpstructures.c
@@
-38,7
+38,7
@@
char *arrayfile=NULL;
int main(int argc, char **argv) {
int i;
if (argc<2)
- return
0
;
+ return
1
;
if (argc>=3)
rootfile=argv[2];
for(i=3;i<argc;i++) {
@@
-51,6
+51,7
@@
int main(int argc, char **argv) {
}
process_elf_binary_data(argv[1]);
daikon_preprocess_entry_array();
+ return 0;
}
// Pre-processes global dwarf_entry_array in order to place