aboutsummaryrefslogtreecommitdiff
path: root/src/copyin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/copyin.c')
-rw-r--r--src/copyin.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/copyin.c b/src/copyin.c
index 22e33dc..3ab5dac 100644
--- a/src/copyin.c
+++ b/src/copyin.c
@@ -518,7 +518,7 @@ copyin_regular_file (struct cpio_file_stat* file_hdr, int in_file_des)
518 file_hdr->c_name); 518 file_hdr->c_name);
519 } 519 }
520 copy_files_tape_to_disk (in_file_des, out_file_des, file_hdr->c_filesize); 520 copy_files_tape_to_disk (in_file_des, out_file_des, file_hdr->c_filesize);
521 disk_empty_output_buffer (out_file_des); 521 disk_empty_output_buffer (out_file_des, true);
522 522
523 if (to_stdout_option) 523 if (to_stdout_option)
524 { 524 {
@@ -532,16 +532,6 @@ copyin_regular_file (struct cpio_file_stat* file_hdr, int in_file_des)
532 return; 532 return;
533 } 533 }
534 534
535 /* Debian hack to fix a bug in the --sparse option.
536 This bug has been reported to
537 "bug-gnu-utils@prep.ai.mit.edu". (96/7/10) -BEM */
538 if (delayed_seek_count > 0)
539 {
540 lseek (out_file_des, delayed_seek_count-1, SEEK_CUR);
541 write (out_file_des, "", 1);
542 delayed_seek_count = 0;
543 }
544
545 set_perms (out_file_des, file_hdr); 535 set_perms (out_file_des, file_hdr);
546 536
547 if (close (out_file_des) < 0) 537 if (close (out_file_des) < 0)

Return to:

Send suggestions and report system problems to the System administrator.