[ARCHIVER]

* BUG: Ignore "core" file when creating an executable.


git-svn-id: svn://localhost/gambas/trunk@3816 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2011-04-30 12:53:09 +00:00
parent 2293d2fb2f
commit c9e5ef8993

View file

@ -303,6 +303,9 @@ int main(int argc, char **argv)
//if (strcmp(file_name, ARCH_project_name) == 0)
// continue;
if ((len == 4) && (strncmp(file_name, "core", 4) == 0))
continue;
if ((len > 5) && (strncmp(file_name, "core.", 5) == 0))
continue;