summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-11-11 14:50:53 +0200
committerPanu Matilainen <pmatilai@redhat.com>2008-11-11 18:16:22 +0200
commit0d168d173a4c361cc1f548304743cb63bdc5946d (patch)
tree6ee725ff8bbac56a9d20d86c1ef7b393ea425b75 /build
parent8e3b5bfc894c5e5b0e3dd41d49fc62db3eaef7aa (diff)
downloadrpm-0d168d173a4c361cc1f548304743cb63bdc5946d.tar.gz
rpm-0d168d173a4c361cc1f548304743cb63bdc5946d.tar.bz2
rpm-0d168d173a4c361cc1f548304743cb63bdc5946d.zip
Figure out cpio mapflags in rpmfiNew()
- all the necessary info is there, no need to litter the logic all over the place
Diffstat (limited to 'build')
-rw-r--r--build/files.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/build/files.c b/build/files.c
index db9335dd1..5872aa9c7 100644
--- a/build/files.c
+++ b/build/files.c
@@ -1279,11 +1279,6 @@ static void genCpioListAndHeader(FileList fl,
fi->fuser = _free(fi->fuser);
fi->fgroup = _free(fi->fgroup);
- fi->mapflags = CPIO_MAP_PATH |
- CPIO_MAP_TYPE | CPIO_MAP_MODE | CPIO_MAP_UID | CPIO_MAP_GID;
- if (isSrc)
- fi->mapflags |= CPIO_FOLLOW_SYMLINKS;
-
/* Make the cpio list */
for (i = 0, flp = fl->fileList; i < fi->fc; i++, flp++) {
char * b;