[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:
Benoît Minisini 2008-03-26 01:31:20 +00:00
parent 909ce3f531
commit 252692f140

View file

@ -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);