1 From jhpb@sarto.gaithersburg.md.us Mon Jul 26 21:57:20 1999
2 Return-Path: <jhpb@sarto.gaithersburg.md.us>
3 Received: from mail.redhat.com (mail.redhat.com [199.183.24.239])
4 by developer.redhat.com (8.8.7/8.8.7) with ESMTP id VAA15169
5 for <bugzilla@developer.redhat.com>; Mon, 26 Jul 1999 21:57:20 -0400
6 Received: from lacrosse.corp.redhat.com (root@lacrosse.corp.redhat.com [207.175.42.154])
7 by mail.redhat.com (8.8.7/8.8.7) with ESMTP id VAA21351
8 for <bugzilla@developer.redhat.com>; Mon, 26 Jul 1999 21:57:20 -0400
9 Received: from mail.redhat.com (mail.redhat.com [199.183.24.239])
10 by lacrosse.corp.redhat.com (8.9.3/8.9.3) with ESMTP id VAA01496
11 for <bugzilla@lacrosse.redhat.com>; Mon, 26 Jul 1999 21:57:19 -0400
12 Received: from sjc3-1.relay.mail.uu.net (sjc3-1.relay.mail.uu.net [199.171.54.122])
13 by mail.redhat.com (8.8.7/8.8.7) with ESMTP id VAA21342
14 for <bugzilla@redhat.com>; Mon, 26 Jul 1999 21:57:19 -0400
15 Received: from uucp1.uu.net by sjc3sosrv11.alter.net with SMTP
16 (peer crosschecked as: uucp1.uu.net [192.48.96.81])
18 for <bugzilla@redhat.com>; Tue, 27 Jul 1999 01:57:56 GMT
19 Received: from sarto.UUCP by uucp1.uu.net with UUCP/RMAIL
20 ; Mon, 26 Jul 1999 21:55:38 -0400
21 Received: from sarto.gaithersburg.md.us (IDENT:jhpb@altera.gaithersburg.md.us [10.10.10.11])
22 by altera.gaithersburg.md.us (8.9.3/8.9.3) with ESMTP id UAA02705
23 for <bugzilla@redhat.com>; Mon, 26 Jul 1999 20:51:35 -0400
24 Sender: jhpb@sarto.gaithersburg.md.us
25 Message-ID: <379D0297.ECEADA06@sarto.gaithersburg.md.us>
26 Date: Mon, 26 Jul 1999 20:51:35 -0400
27 From: "Joseph H. Buehler" <jhpb@sarto.gaithersburg.md.us>
28 X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.5 i686)
31 To: bugzilla@redhat.com
33 Content-Type: multipart/mixed;
34 boundary="------------747FAF18CE4E4F8E71D6ED66"
36 This is a multi-part message in MIME format.
37 --------------747FAF18CE4E4F8E71D6ED66
38 Content-Type: text/plain; charset=us-ascii
39 Content-Transfer-Encoding: 7bit
41 The 2.4.2 version of GNU cpio goes into an infinite loop when unpacking
42 cpio files that have empty files with hard links. Duplicate as
49 find t | cpio -o -H newc > temp.cpio &&
50 cpio -idmuv <temp.cpio &&
53 Also, cpio on systems without lchown() (probably not Redhat) will incorrectly
54 set the permissions on files that symlinks point at, instead of the
60 --------------747FAF18CE4E4F8E71D6ED66
61 Content-Type: text/plain; charset=us-ascii;
62 name="cpio-2.4.2.patch"
63 Content-Transfer-Encoding: 7bit
64 Content-Disposition: inline;
65 filename="cpio-2.4.2.patch"
67 *** cpio-2.4.2.redhat/copypass.c Mon Jan 8 16:59:05 1996
68 --- cpio-2.4.2/copypass.c Wed Sep 11 21:22:04 1996
75 - #define lchown chown
78 /* Copy files listed on the standard input into directory `directory_name'.
79 If `link_flag', link instead of copying. */
87 /* Set the attributes of the new link. */
90 if ((lchown (output_name.ds_string,
91 set_owner_flag ? set_owner : in_file_stat.st_uid,
92 set_group_flag ? set_group : in_file_stat.st_gid) < 0)
94 error (0, errno, "%s", output_name.ds_string);
99 *** cpio-2.4.2.redhat/copyin.c Wed Nov 30 17:49:06 1994
100 --- cpio-2.4.2/copyin.c Tue Sep 17 11:21:15 1996
106 - #ifndef HAVE_LCHOWN
107 - #define lchown chown
110 static void read_pattern_file ();
111 static void tape_skip_padding ();
112 static void defer_copyin ();
122 if ((lchown (file_hdr.c_name,
123 set_owner_flag ? set_owner : file_hdr.c_uid,
124 set_group_flag ? set_group : file_hdr.c_gid) < 0)
126 error (0, errno, "%s", file_hdr.c_name);
134 for (d = deferments; d != NULL; d = d->next)
137 link_res = link_to_maj_min_ino (d->header.c_name,
138 d->header.c_dev_maj, d->header.c_dev_maj,
142 --------------747FAF18CE4E4F8E71D6ED66--