diff options
| author | Joerg Wunsch <joerg@FreeBSD.org> | 1997-04-13 08:39:38 +0000 |
|---|---|---|
| committer | Joerg Wunsch <joerg@FreeBSD.org> | 1997-04-13 08:39:38 +0000 |
| commit | a08b0cc730ac6b7a0a31f6ddb5df4d7931df4bdf (patch) | |
| tree | eaf87bfd17f02e4ffe19c2cdd7dc3c9f16c84e81 /gnu/usr.bin/tar | |
| parent | deb9eaa91f3c9f42ace061652d84c539ddb00c8b (diff) | |
Notes
Diffstat (limited to 'gnu/usr.bin/tar')
| -rw-r--r-- | gnu/usr.bin/tar/extract.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/usr.bin/tar/extract.c b/gnu/usr.bin/tar/extract.c index 2730cc2a3665..faf25adbc78d 100644 --- a/gnu/usr.bin/tar/extract.c +++ b/gnu/usr.bin/tar/extract.c @@ -158,7 +158,10 @@ extract_archive () userec (head); /* And go past it in the archive */ decode_header (head, &hstat, &head_standard, 1); /* Snarf fields */ - if (f_confirm && !confirm ("extract", current_file_name)) + if ((f_confirm && !confirm ("extract", current_file_name)) || + (f_exstdout && head->header.linkflag != LF_OLDNORMAL && + head->header.linkflag != LF_NORMAL && + head->header.linkflag != LF_CONTIG)) { if (head->header.isextended) skip_extended_headers (); |
