diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2019-11-03 16:44:32 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2019-11-03 16:44:32 +0200 |
commit | 38290e9dde947f2d46e06e594d7d81644f423cd7 (patch) | |
tree | e5cd091c02e55f7126bbc7d4cf4be31f8b35d616 /src/copyout.c | |
parent | 068f5dbd006c02f9e70558a2b19e61becb5ed652 (diff) | |
download | cpio-38290e9dde947f2d46e06e594d7d81644f423cd7.tar.gz cpio-38290e9dde947f2d46e06e594d7d81644f423cd7.tar.bz2 |
Remove HPUX CDF support
Diffstat (limited to 'src/copyout.c')
-rw-r--r-- | src/copyout.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/copyout.c b/src/copyout.c index 7532dac..71abc4d 100644 --- a/src/copyout.c +++ b/src/copyout.c @@ -659,27 +659,7 @@ process_copy_out () assign_string (&orig_file_name, input_name.ds_string); cpio_safer_name_suffix (input_name.ds_string, false, !no_abs_paths_flag, true); -#ifndef HPUX_CDF cpio_set_c_name (&file_hdr, input_name.ds_string); -#else - if ( (archive_format != arf_tar) && (archive_format != arf_ustar) ) - { - /* We mark CDF's in cpio files by adding a 2nd `/' after the - "hidden" directory name. We need to do this so we can - properly recreate the directory as hidden (in case the - files of a directory go into the archive before the - directory itself (e.g from "find ... -depth ... | cpio")). */ - cpio_set_c_name (&file_hdr, - add_cdf_double_slashes (input_name.ds_string)); - } - else - { - /* We don't mark CDF's in tar files. We assume the "hidden" - directory will always go into the archive before any of - its files. */ - cpio_set_c_name (&file_hdr, input_name.ds_string); - } -#endif /* Copy the named file to the output. */ switch (file_hdr.c_mode & CP_IFMT) |