projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
087bc82
)
Wrap exclude_file() inside a #ifdef CONFIG_FEATURE_TAR_EXCLUDE block
author
Eric Andersen
<andersen@codepoet.org>
Sat, 27 Oct 2001 03:20:00 +0000
(
03:20
-0000)
committer
Eric Andersen
<andersen@codepoet.org>
Sat, 27 Oct 2001 03:20:00 +0000
(
03:20
-0000)
archival/tar.c
patch
|
blob
|
history
diff --git
a/archival/tar.c
b/archival/tar.c
index 9459a506143e58aa70159cc3dbf999eedb73ddf9..8159497673225c0eda81fbaa345e57c83ef80738 100644
(file)
--- a/
archival/tar.c
+++ b/
archival/tar.c
@@
-315,6
+315,7
@@
writeTarHeader(struct TarBallInfo *tbInfo, const char *header_name,
return ( TRUE);
}
+# if defined CONFIG_FEATURE_TAR_EXCLUDE
static int exclude_file(char **excluded_files, const char *file)
{
int i;
@@
-341,6
+342,7
@@
static int exclude_file(char **excluded_files, const char *file)
return 0;
}
+#endif
static int writeFileToTarball(const char *fileName, struct stat *statbuf, void* userData)
{