[INFORMER]
* NEW: Do not abort if a component information file cannot be written. git-svn-id: svn://localhost/gambas/trunk@1259 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
909ce3f531
commit
252692f140
1 changed files with 8 additions and 2 deletions
|
@ -504,11 +504,17 @@ static void analyze(const char *comp, bool include)
|
|||
|
||||
out_info = fopen(path_info, "w");
|
||||
if (!out_info)
|
||||
error(TRUE, "Cannot write file: %s", path_info);
|
||||
{
|
||||
error(FALSE, "Cannot write file: %s", path_info);
|
||||
return;
|
||||
}
|
||||
|
||||
out_list = fopen(path_list, "w");
|
||||
if (!out_list)
|
||||
error(TRUE, "Cannot write file: %s", path_list);
|
||||
{
|
||||
error(FALSE, "Cannot write file: %s", path_list);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
fflush(stdout);
|
||||
|
|
Loading…
Reference in a new issue