summaryrefslogtreecommitdiff
path: root/lib/cpio.h
diff options
context:
space:
mode:
authorewt <devnull@localhost>1997-07-31 14:04:56 +0000
committerewt <devnull@localhost>1997-07-31 14:04:56 +0000
commit9174be23bae7e21c3e1ffb11c0b301a2ca14bc1b (patch)
tree2a1d650341bfb895bf9d0466b7d3dc4d4a1d240f /lib/cpio.h
parentce379332c44dd6f69929da17da3e338874733850 (diff)
downloadrpm-9174be23bae7e21c3e1ffb11c0b301a2ca14bc1b.tar.gz
rpm-9174be23bae7e21c3e1ffb11c0b301a2ca14bc1b.tar.bz2
rpm-9174be23bae7e21c3e1ffb11c0b301a2ca14bc1b.zip
1) cpio can now conditionally follow symlinks
2) directory archiving is fixed CVS patchset: 1778 CVS date: 1997/07/31 14:04:56
Diffstat (limited to 'lib/cpio.h')
-rw-r--r--lib/cpio.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/cpio.h b/lib/cpio.h
index eb59234cd..dc60e5fe1 100644
--- a/lib/cpio.h
+++ b/lib/cpio.h
@@ -27,10 +27,11 @@
it has some behaviors which are more to RPM's liking. I tried to document
them inline in cpio.c, but I may have missed some. */
-#define CPIO_MAP_PATH (1 << 0)
-#define CPIO_MAP_MODE (1 << 1)
-#define CPIO_MAP_UID (1 << 2)
-#define CPIO_MAP_GID (1 << 3)
+#define CPIO_MAP_PATH (1 << 0)
+#define CPIO_MAP_MODE (1 << 1)
+#define CPIO_MAP_UID (1 << 2)
+#define CPIO_MAP_GID (1 << 3)
+#define CPIO_FOLLOW_SYMLINKS (1 << 4) /* only for building */
struct cpioFileMapping {
char * archivePath;