Hi,

On Sat, 12 Nov 2005 16:36:56 EET, Sergey Poznyakoff wrote:
> Thank you. Fixed.

This fix introduces easily reproducable bug (probably typo):
@@ -547,4 +701,4 @@ process_copy_out ()
                      file_hdr.c_tar_linkname = otherfile;
-                     write_out_header (&file_hdr, out_file_des);
-                     break;
+                     if (write_out_header (&file_hdr, out_file_des))
+                       continue;
                    }

Just try following test:
mkdir dir && touch dir/a && ln dir/a dir/b &&
        find dir |cpio --create --quiet --format=tar |tar tf -


-- 
ldv

Attachment: pgpxkS2tSuwD8.pgp
Description: PGP signature

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

Reply via email to