> This bug was created by one of the debian changes (ie a change
> in cpio_2.6-11.diff.gz).  The attached patch fixes it.

Patch with offsets changed:

--- cpio-2.7.orig/src/copyout.c
+++ cpio-2.7/src/copyout.c
@@ -780,8 +780,9 @@
                      file_hdr.c_mode = (file_stat.st_mode & 07777);
                      file_hdr.c_mode |= CP_IFREG;
                      file_hdr.c_tar_linkname = otherfile;
-                     if (write_out_header (&file_hdr, out_file_des))
-                       continue;
+                     file_hdr.c_filesize = 0;
+                     write_out_header (&file_hdr, out_file_des);
+                     continue;
                      break;
                    }
                  add_inode (file_hdr.c_ino, orig_file_name, 


_______________________________________________
Bug-cpio mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-cpio

Reply via email to