[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:
parent
2293d2fb2f
commit
c9e5ef8993
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue