[ARCHIVER]
* NEW: Ignore valgrind core files and callgrind output files when creating an archive. git-svn-id: svn://localhost/gambas/trunk@3002 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
29e1b1ae70
commit
a01e8c1d72
1 changed files with 6 additions and 0 deletions
|
@ -302,6 +302,12 @@ int main(int argc, char **argv)
|
||||||
if ((len > 5) && (strncmp(file_name, "core.", 5) == 0))
|
if ((len > 5) && (strncmp(file_name, "core.", 5) == 0))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
if ((len > 7) && (strncmp(file_name, "vgcore.", 5) == 0))
|
||||||
|
continue;
|
||||||
|
|
||||||
|
if ((len > 10) && (strncmp(file_name, "callgrind.", 5) == 0))
|
||||||
|
continue;
|
||||||
|
|
||||||
file = FILE_cat(path, file_name, NULL);
|
file = FILE_cat(path, file_name, NULL);
|
||||||
|
|
||||||
if (stat(file_name, &info))
|
if (stat(file_name, &info))
|
||||||
|
|
Loading…
Reference in a new issue