[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-cpio] Re: Bug#358990: cpio: Patch to fix bug
From: |
Clint Adams |
Subject: |
[Bug-cpio] Re: Bug#358990: cpio: Patch to fix bug |
Date: |
Sat, 14 Apr 2007 11:25:52 -0400 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
> 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,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-cpio] Re: Bug#358990: cpio: Patch to fix bug,
Clint Adams <=