From MAILER-DAEMON Wed Jun 01 16:59:24 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QRsVf-0002cG-Uo
	for mharc-bug-patch@gnu.org; Wed, 01 Jun 2011 16:59:23 -0400
Received: from eggs.gnu.org ([140.186.70.92]:43065)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <twaugh@redhat.com>) id 1QRsVc-0002bU-VB
	for bug-patch@gnu.org; Wed, 01 Jun 2011 16:59:22 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <twaugh@redhat.com>) id 1QRsVb-00087z-M0
	for bug-patch@gnu.org; Wed, 01 Jun 2011 16:59:20 -0400
Received: from mx1.redhat.com ([209.132.183.28]:17014)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <twaugh@redhat.com>) id 1QRns1-0008OM-TH
	for bug-patch@gnu.org; Wed, 01 Jun 2011 12:02:10 -0400
Received: from int-mx01.intmail.prod.int.phx2.redhat.com
	(int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p51G285l015076
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK)
	for <bug-patch@gnu.org>; Wed, 1 Jun 2011 12:02:08 -0400
Received: from [10.3.237.6] (vpn-237-6.phx2.redhat.com [10.3.237.6])
	by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
	id p51G272a004778
	for <bug-patch@gnu.org>; Wed, 1 Jun 2011 12:02:08 -0400
From: Tim Waugh <twaugh@redhat.com>
To: bug-patch@gnu.org
Date: Wed, 01 Jun 2011 17:02:05 +0100
Content-Type: multipart/signed; micalg="pgp-sha1";
	protocol="application/pgp-signature"; 
	boundary="=-0yGqQc9+wCHvpFGxJ40q"
Message-ID: <1306944128.2207.18.camel@localhost.localdomain>
Mime-Version: 1.0
X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.132.183.28
Subject: Re: [bug-patch] diff -r and what constitutes "a difference"
X-BeenThere: bug-patch@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "Bug reports, suggestions,
	general discussion for GNU patch." <bug-patch.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-patch>,
	<mailto:bug-patch-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-patch>
List-Post: <mailto:bug-patch@gnu.org>
List-Help: <mailto:bug-patch-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-patch>,
	<mailto:bug-patch-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Jun 2011 20:59:22 -0000


--=-0yGqQc9+wCHvpFGxJ40q
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

...wrong list, of course.  Sorry!

Tim.
*/


--=-0yGqQc9+wCHvpFGxJ40q
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iD8DBQBN5mJ9BLQafZpK2tcRApJBAJ9lafC8Eq/wPNGM8FeS+aHlkkjqBQCeN7dt
gjdrRJN2bel1u3PubLvSV7U=
=eWHz
-----END PGP SIGNATURE-----

--=-0yGqQc9+wCHvpFGxJ40q--



From MAILER-DAEMON Wed Jun 01 22:05:04 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QRxHT-0003ZT-F4
	for mharc-bug-patch@gnu.org; Wed, 01 Jun 2011 22:05:03 -0400
Received: from eggs.gnu.org ([140.186.70.92]:33469)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <twaugh@redhat.com>) id 1QRxHQ-0003Yc-2w
	for bug-patch@gnu.org; Wed, 01 Jun 2011 22:05:01 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <twaugh@redhat.com>) id 1QRxHO-0005tF-9r
	for bug-patch@gnu.org; Wed, 01 Jun 2011 22:04:59 -0400
Received: from mx1.redhat.com ([209.132.183.28]:17353)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <twaugh@redhat.com>) id 1QRnqe-0008Dn-KZ
	for bug-patch@gnu.org; Wed, 01 Jun 2011 12:00:44 -0400
Received: from int-mx12.intmail.prod.int.phx2.redhat.com
	(int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p51G0gtt014677
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK)
	for <bug-patch@gnu.org>; Wed, 1 Jun 2011 12:00:43 -0400
Received: from [10.3.237.6] (vpn-237-6.phx2.redhat.com [10.3.237.6])
	by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id p51G0fpC012637
	for <bug-patch@gnu.org>; Wed, 1 Jun 2011 12:00:42 -0400
From: Tim Waugh <twaugh@redhat.com>
To: bug-patch@gnu.org
Date: Wed, 01 Jun 2011 17:00:38 +0100
Content-Type: multipart/signed; micalg="pgp-sha1";
	protocol="application/pgp-signature"; 
	boundary="=-65JLNqHhceMYEETioYrA"
Message-ID: <1306944042.2207.17.camel@localhost.localdomain>
Mime-Version: 1.0
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.132.183.28
Subject: [bug-patch] diff -r and what constitutes "a difference"
X-BeenThere: bug-patch@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "Bug reports, suggestions,
	general discussion for GNU patch." <bug-patch.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-patch>,
	<mailto:bug-patch-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-patch>
List-Post: <mailto:bug-patch@gnu.org>
List-Help: <mailto:bug-patch-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-patch>,
	<mailto:bug-patch-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 02 Jun 2011 02:05:02 -0000


--=-65JLNqHhceMYEETioYrA
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Imagine this directory tree:

.
|-- [drwxrwxr-x]  a
|   `-- [drwxrwxr-x]  foo
|       |-- [-rw-rw-r--]  file1
|       |-- [-rw-rw-r--]  file2
|       `-- [-rw-rw-r--]  file3
`-- [drwxrwxr-x]  b
    `-- [-rw-rw-r--]  foo

In diffutils-3.0, 'diff -r a b' says this:

File a/foo is a directory while file b/foo is a regular empty file

This is correct as far as it goes, but it's been suggested=C2=B9 that it's
missing a few differences, and that it ought to say this:

File a/foo is a directory while file b/foo is a regular empty file
Only in a: foo/file1
Only in a: foo/file2
Only in a: foo/file3

What do you think?

Tim.
*/

=C2=B9 https://bugzilla.redhat.com/show_bug.cgi?id=3D688369

--=-65JLNqHhceMYEETioYrA
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iD8DBQBN5mImBLQafZpK2tcRAur0AJ9x1zxphoB4uKRcIyWSZ2zsd2CKTgCdG5FI
LOb+GtGtNyk/d61Tfc4z7yI=
=KvCf
-----END PGP SIGNATURE-----

--=-65JLNqHhceMYEETioYrA--



From MAILER-DAEMON Sat Jun 25 17:21:50 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QaaIX-0000nz-UW
	for mharc-bug-patch@gnu.org; Sat, 25 Jun 2011 17:21:50 -0400
Received: from eggs.gnu.org ([140.186.70.92]:47864)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <lauer@WPI.EDU>) id 1QaYiH-0000md-7a
	for bug-patch@gnu.org; Sat, 25 Jun 2011 15:40:18 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <lauer@WPI.EDU>) id 1QaYiE-0007nt-3d
	for bug-patch@gnu.org; Sat, 25 Jun 2011 15:40:16 -0400
Received: from mail1.wpi.edu ([130.215.36.91]:41736)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <lauer@WPI.EDU>) id 1QaYiD-0007kz-OP
	for bug-patch@gnu.org; Sat, 25 Jun 2011 15:40:13 -0400
Received: from MAIL1.WPI.EDU (MAIL1.WPI.EDU [130.215.36.91])
	by MAIL1.WPI.EDU (8.14.5/8.14.5) with ESMTP id p5PJe6ZY008036
	for <bug-patch@gnu.org>; Sat, 25 Jun 2011 15:40:06 -0400
X-DKIM: Sendmail DKIM Filter v2.8.3 MAIL1.WPI.EDU p5PJe6ZY008036
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wpi.edu; s=_dkim;
	t=1309030806; bh=yj8b4CYTy8s1OU75tUGnSNiIp75/aidga3Wcw+bqjis=;
	h=From:To:CC:Subject:Date:Message-ID:Content-Type:MIME-Version;
	b=biLrDSqyYPGbgnYRtLXVagl1oN4J20kC5DzJZ1aAtufqNkd7wxm+EXJyQlc/m6tF2
	WyY6AezUK7PSGwpJfis8KlbpVRBSrG/XaBRxYoMIqY1fAqud6kSPvGv4BNUr3mJgzv
	CkmgCbA4jVBYn89VFBk9VvuHziv6JDw3AOQGN2O0=
Received: from SMTP.WPI.EDU (SMTP.WPI.EDU [130.215.36.186])
	by MAIL1.WPI.EDU (8.14.5/8.14.5) with ESMTP id p5PJe6aH008033;
	Sat, 25 Jun 2011 15:40:06 -0400
Received: from FASTBACK.admin.wpi.edu (fastback.wpi.edu [130.215.33.58])
	by SMTP.WPI.EDU (8.14.4/8.14.4) with ESMTP id p5PJe5lC002940;
	Sat, 25 Jun 2011 15:40:05 -0400 (envelope-from lauer@wpi.edu)
Received: from S197.admin.wpi.edu ([fe80::60b2:457:7e47:74df]) by
	FASTBACK.admin.wpi.edu ([fe80::244f:644:e400:c8c3%12]) with mapi;
	Sat, 25 Jun 2011 15:40:04 -0400
From: "Lauer, Hugh C" <lauer@WPI.EDU>
To: "bug-patch@gnu.org" <bug-patch@gnu.org>
Thread-Topic: Changes to patch program -- "refusing to patch"
Thread-Index: Acwzbvt3WJgqDbHDSmKBRf2l0aYbqQ==
Date: Sat, 25 Jun 2011 15:39:45 -0400
Message-ID: <07BD857B6B8BD74284FD282D77D45317C4E3@S197.admin.wpi.edu>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Content-Type: multipart/alternative;
	boundary="_000_07BD857B6B8BD74284FD282D77D45317C4E3S197adminwpiedu_"
MIME-Version: 1.0
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 130.215.36.91
X-Mailman-Approved-At: Sat, 25 Jun 2011 17:21:48 -0400
Cc: "Lauer, Hugh C. <lauer@cs.wpi.edu>" <lauer@cs.wpi.edu>
Subject: [bug-patch] Changes to patch program -- "refusing to patch"
X-BeenThere: bug-patch@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "Bug reports, suggestions,
	general discussion for GNU patch." <bug-patch.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-patch>,
	<mailto:bug-patch-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-patch>
List-Post: <mailto:bug-patch@gnu.org>
List-Help: <mailto:bug-patch-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-patch>,
	<mailto:bug-patch-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 25 Jun 2011 19:40:19 -0000

--_000_07BD857B6B8BD74284FD282D77D45317C4E3S197adminwpiedu_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

What was the rationale for changing the patch program to refuse to patch re=
ad-only files? It looks like this happened in version 2.6.1.64 about a year=
 ago.

This is a fundamental change in functionality that I and others have depend=
ed upon. The previous behavior was to rename the read-only file, replace it=
 with a writable copy, and patch the copy. I have a lot of scripts that dep=
end upon this functionality, particularly in managing sources trees for the=
 Linux kernel. Is there any switch that can restore it?

Regards,

Hugh C. Lauer
Department of Computer Science
Worcester Polytechnic Institute



--_000_07BD857B6B8BD74284FD282D77D45317C4E3S197adminwpiedu_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV=3D"Content-Type" CONTENT=
=3D"text/html; charset=3Dus-ascii"><meta name=3DGenerator content=3D"Micros=
oft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue vli=
nk=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal>What was the rat=
ionale for changing the patch program to refuse to patch read-only files? I=
t looks like this happened in version 2.6.1.64 about a year ago.<o:p></o:p>=
</p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>This is =
a fundamental change in functionality that I and others have depended upon.=
 The previous behavior was to rename the read-only file, replace it with a =
writable copy, and patch the copy. I have a lot of scripts that depend upon=
 this functionality, particularly in managing sources trees for the Linux k=
ernel. Is there any switch that can restore it?<o:p></o:p></p><p class=3DMs=
oNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>Regards,<o:p></o:p></p><p=
 class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>Hugh C. Lauer<=
o:p></o:p></p><p class=3DMsoNormal>Department of Computer Science<o:p></o:p=
></p><p class=3DMsoNormal>Worcester Polytechnic Institute<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:=
p></p></div></body></html>=

--_000_07BD857B6B8BD74284FD282D77D45317C4E3S197adminwpiedu_--


