diff options
author | Tim Kientzle <kientzle@FreeBSD.org> | 2008-06-24 15:18:40 +0000 |
---|---|---|
committer | Tim Kientzle <kientzle@FreeBSD.org> | 2008-06-24 15:18:40 +0000 |
commit | e6c78aec4f5e804187fc7068220a7fb29558ebc2 (patch) | |
tree | 285e7a4c0d76a4a7e116d3002272bdb537d0252e /usr.bin | |
parent | cf77b848790674d82f58ef7aa55bd87885a04b61 (diff) | |
download | src-test2-e6c78aec4f5e804187fc7068220a7fb29558ebc2.tar.gz src-test2-e6c78aec4f5e804187fc7068220a7fb29558ebc2.zip |
Notes
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/cpio/cpio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/cpio/cpio.c b/usr.bin/cpio/cpio.c index e6904a5630f9..79fdf9fcace5 100644 --- a/usr.bin/cpio/cpio.c +++ b/usr.bin/cpio/cpio.c @@ -182,6 +182,7 @@ main(int argc, char *argv[]) break; case 'p': /* POSIX 1997 */ cpio->mode = opt; + cpio->extract_flags &= ~ARCHIVE_EXTRACT_SECURE_NODOTDOT; break; case OPTION_QUIET: /* GNU cpio */ cpio->quiet = 1; |