From MAILER-DAEMON Wed Aug 03 08:03:24 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QoaAW-00074J-BF
	for mharc-bug-diffutils@gnu.org; Wed, 03 Aug 2011 08:03:24 -0400
Received: from eggs.gnu.org ([140.186.70.92]:44651)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sanvila@unex.es>) id 1QoaAT-00073p-5Y
	for bug-diffutils@gnu.org; Wed, 03 Aug 2011 08:03:22 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sanvila@unex.es>) id 1QoaAR-0004kc-KN
	for bug-diffutils@gnu.org; Wed, 03 Aug 2011 08:03:21 -0400
Received: from pizarro.unex.es ([158.49.8.2]:48386)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sanvila@unex.es>) id 1QoaAR-0004kU-F6
	for bug-diffutils@gnu.org; Wed, 03 Aug 2011 08:03:19 -0400
Received: from localhost (lavadora.siue [192.168.1.121])
	by pizarro.unex.es (Postfix) with ESMTP id 938AD14801A;
	Wed,  3 Aug 2011 14:03:17 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at lavadora.unex.es
Received: from pizarro.unex.es ([192.168.1.103])
	by localhost (lavadora.unex.es [192.168.1.121]) (amavisd-new,
	port 10024)
	with ESMTP id aSYJmmadhxmS; Wed,  3 Aug 2011 13:56:39 +0200 (CEST)
Received: from guadiana.unex.es (guadiana.unex.es [158.49.17.23])
	by pizarro.unex.es (Postfix) with ESMTP id 4773C148018;
	Wed,  3 Aug 2011 14:03:16 +0200 (CEST)
Received: from kolmogorov.unex.es (kolmogorov.unex.es [158.49.50.5])
	by guadiana.unex.es (Postfix) with ESMTPS id 9126E4B96B;
	Wed,  3 Aug 2011 14:03:16 +0200 (CEST)
Date: Wed, 3 Aug 2011 14:03:14 +0200 (CEST)
From: Santiago Vila <sanvila@unex.es>
To: Christoph Anton Mitterer <calestyo@scientia.net>
In-Reply-To: <1306534994.3190.7.camel@fermat.scientia.net>
Message-ID: <alpine.DEB.2.00.1108031400070.21456@kolmogorov.unex.es>
References: <10d13d6fb4036cc51d36b387775aad74@imap.dd24.net>
	<4C649A8C.8060905@cs.ucla.edu>
	<1306534994.3190.7.camel@fermat.scientia.net>
User-Agent: Alpine 2.00 (DEB 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 158.49.8.2
Cc: bug-diffutils@gnu.org
Subject: Re: [bug-diffutils] bug: diff -r swaps the files it should check
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Aug 2011 12:03:22 -0000

On Sat, 28 May 2011, Christoph Anton Mitterer wrote:

> Hi Paul.
> 
> I've seen this issue again now using diff 3.0 from Debian sid (see the
> attached log file output.
> 
> 
> Any ideas?

diffutils 3.0 was released 2010-05-03, and the patch by Paul is dated
2010-08-12 (i.e. later), so it should not be a surprise that the bug
is still there.

A problem similar to this one has been reported here:

http://bugs.debian.org/633978

Should I try to backport the patch to diffutils 3.0 in Debian,
or maybe there will be a new stable release sometime soon?

Thanks.


From MAILER-DAEMON Wed Aug 03 08:23:25 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QoaTt-0002nu-N5
	for mharc-bug-diffutils@gnu.org; Wed, 03 Aug 2011 08:23:25 -0400
Received: from eggs.gnu.org ([140.186.70.92]:59060)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1QoaTr-0002nR-DZ
	for bug-diffutils@gnu.org; Wed, 03 Aug 2011 08:23:24 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1QoaTq-0000dw-8o
	for bug-diffutils@gnu.org; Wed, 03 Aug 2011 08:23:23 -0400
Received: from mx.meyering.net ([82.230.74.64]:33731)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1QoaTp-0000dk-Ta
	for bug-diffutils@gnu.org; Wed, 03 Aug 2011 08:23:22 -0400
Received: from rho.meyering.net (localhost.localdomain [127.0.0.1])
	by rho.meyering.net (Acme Bit-Twister) with ESMTP id 75DB8600D5;
	Wed,  3 Aug 2011 14:23:19 +0200 (CEST)
From: Jim Meyering <jim@meyering.net>
To: Santiago Vila <sanvila@unex.es>
In-Reply-To: <alpine.DEB.2.00.1108031400070.21456@kolmogorov.unex.es>
	(Santiago Vila's message of "Wed, 3 Aug 2011 14:03:14 +0200 (CEST)")
References: <10d13d6fb4036cc51d36b387775aad74@imap.dd24.net>
	<4C649A8C.8060905@cs.ucla.edu>
	<1306534994.3190.7.camel@fermat.scientia.net>
	<alpine.DEB.2.00.1108031400070.21456@kolmogorov.unex.es>
Date: Wed, 03 Aug 2011 14:23:19 +0200
Message-ID: <87bow6vg3s.fsf@rho.meyering.net>
Lines: 26
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 82.230.74.64
Cc: bug-diffutils@gnu.org, Christoph Anton Mitterer <calestyo@scientia.net>
Subject: Re: [bug-diffutils] bug: diff -r swaps the files it should check
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Aug 2011 12:23:24 -0000

Santiago Vila wrote:
> On Sat, 28 May 2011, Christoph Anton Mitterer wrote:
>
>> Hi Paul.
>>
>> I've seen this issue again now using diff 3.0 from Debian sid (see the
>> attached log file output.
>>
>>
>> Any ideas?
>
> diffutils 3.0 was released 2010-05-03, and the patch by Paul is dated
> 2010-08-12 (i.e. later), so it should not be a surprise that the bug
> is still there.
>
> A problem similar to this one has been reported here:
>
> http://bugs.debian.org/633978
>
> Should I try to backport the patch to diffutils 3.0 in Debian,
> or maybe there will be a new stable release sometime soon?

Hi Santiago,

A release seems justifiable, and I can make one pretty easily.
I'll wait a day or so, in case anyone has a reason to defer.


From MAILER-DAEMON Wed Aug 03 12:17:33 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Qoe8T-0006xC-QJ
	for mharc-bug-diffutils@gnu.org; Wed, 03 Aug 2011 12:17:33 -0400
Received: from eggs.gnu.org ([140.186.70.92]:43377)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Qoe8N-0005Sb-VJ
	for bug-diffutils@gnu.org; Wed, 03 Aug 2011 12:17:31 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Qodxn-0000WK-93
	for bug-diffutils@gnu.org; Wed, 03 Aug 2011 12:06:32 -0400
Received: from mx.meyering.net ([82.230.74.64]:52722)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Qodxn-0000WB-3O
	for bug-diffutils@gnu.org; Wed, 03 Aug 2011 12:06:31 -0400
Received: from rho.meyering.net (localhost.localdomain [127.0.0.1])
	by rho.meyering.net (Acme Bit-Twister) with ESMTP id 27B926009D;
	Wed,  3 Aug 2011 18:06:30 +0200 (CEST)
From: Jim Meyering <jim@meyering.net>
To: Santiago Vila <sanvila@unex.es>
In-Reply-To: <87bow6vg3s.fsf@rho.meyering.net> (Jim Meyering's message of
	"Wed, 03 Aug 2011 14:23:19 +0200")
References: <10d13d6fb4036cc51d36b387775aad74@imap.dd24.net>
	<4C649A8C.8060905@cs.ucla.edu>
	<1306534994.3190.7.camel@fermat.scientia.net>
	<alpine.DEB.2.00.1108031400070.21456@kolmogorov.unex.es>
	<87bow6vg3s.fsf@rho.meyering.net>
Date: Wed, 03 Aug 2011 18:06:30 +0200
Message-ID: <87hb5ytr7d.fsf@rho.meyering.net>
Lines: 50
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 82.230.74.64
Cc: bug-diffutils@gnu.org, Christoph Anton Mitterer <calestyo@scientia.net>
Subject: Re: [bug-diffutils] bug: diff -r swaps the files it should check
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Aug 2011 16:17:32 -0000

Jim Meyering wrote:
> Santiago Vila wrote:
>> On Sat, 28 May 2011, Christoph Anton Mitterer wrote:
>>
>>> Hi Paul.
>>>
>>> I've seen this issue again now using diff 3.0 from Debian sid (see the
>>> attached log file output.
>>>
>>>
>>> Any ideas?
>>
>> diffutils 3.0 was released 2010-05-03, and the patch by Paul is dated
>> 2010-08-12 (i.e. later), so it should not be a surprise that the bug
>> is still there.
>>
>> A problem similar to this one has been reported here:
>>
>> http://bugs.debian.org/633978
>>
>> Should I try to backport the patch to diffutils 3.0 in Debian,
>> or maybe there will be a new stable release sometime soon?
>
> Hi Santiago,
>
> A release seems justifiable, and I can make one pretty easily.
> I'll wait a day or so, in case anyone has a reason to defer.

FYI, I've just updated to the latest from gnulib
and tested the result on solaris 10 and freebsd 8.2.
So far so good.

>From 1ce0b3604b88aa6ba07b7ff5c0201224465307f1 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@redhat.com>
Date: Wed, 3 Aug 2011 14:22:24 +0200
Subject: [PATCH] build: update gnulib submodule to latest

---
 gnulib |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gnulib b/gnulib
index 03f358b..8068b5d 160000
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit 03f358b413de011c710f08b85cdeb0e5b10a3731
+Subproject commit 8068b5d283630a295b2929b9dc6a65916b10f52f
--
1.7.4.4


From MAILER-DAEMON Wed Aug 03 14:12:57 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Qofw9-0000nP-IY
	for mharc-bug-diffutils@gnu.org; Wed, 03 Aug 2011 14:12:57 -0400
Received: from eggs.gnu.org ([140.186.70.92]:47213)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <calestyo@scientia.net>) id 1Qofw5-0000mN-CK
	for bug-diffutils@gnu.org; Wed, 03 Aug 2011 14:12:54 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <calestyo@scientia.net>) id 1Qofw4-0005DI-6j
	for bug-diffutils@gnu.org; Wed, 03 Aug 2011 14:12:53 -0400
Received: from mailgw02.dd24.net ([193.46.215.43]:57478)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <calestyo@scientia.net>) id 1Qofw3-0005DC-Th
	for bug-diffutils@gnu.org; Wed, 03 Aug 2011 14:12:52 -0400
Received: from localhost (amavis02.dd24.net [192.168.1.113])
	by mailgw02.dd24.net (Postfix) with ESMTP id B85663545C4;
	Wed,  3 Aug 2011 18:12:49 +0000 (GMT)
X-Virus-Scanned: domaindiscount24.com mail filter gateway
Received: from mailgw02.dd24.net ([192.168.1.197])
	by localhost (amavis02.dd24.net [192.168.1.106]) (amavisd-new,
	port 10197)
	with ESMTP id 0QQV--qBYrZ6; Wed,  3 Aug 2011 18:12:45 +0000 (GMT)
Received: from [192.168.0.101] (ppp-93-104-63-120.dynamic.mnet-online.de
	[93.104.63.120])
	by mailgw02.dd24.net (Postfix) with ESMTPA id 5C5363547EF;
	Wed,  3 Aug 2011 18:12:45 +0000 (GMT)
From: Christoph Anton Mitterer <calestyo@scientia.net>
To: Santiago Vila <sanvila@unex.es>
In-Reply-To: <alpine.DEB.2.00.1108031400070.21456@kolmogorov.unex.es>
References: <10d13d6fb4036cc51d36b387775aad74@imap.dd24.net>
	<4C649A8C.8060905@cs.ucla.edu>
	<1306534994.3190.7.camel@fermat.scientia.net>
	<alpine.DEB.2.00.1108031400070.21456@kolmogorov.unex.es>
Content-Type: multipart/signed; micalg="sha1";
	protocol="application/x-pkcs7-signature";
	boundary="=-1N+o06DU2T1r5yS231h4"
Date: Wed, 03 Aug 2011 20:12:44 +0200
Message-ID: <1312395164.3359.18.camel@fermat.scientia.net>
Mime-Version: 1.0
X-Mailer: Evolution 2.32.3 
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 193.46.215.43
Cc: bug-diffutils@gnu.org
Subject: Re: [bug-diffutils] bug: diff -r swaps the files it should check
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Aug 2011 18:12:54 -0000


--=-1N+o06DU2T1r5yS231h4
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi Santiago.

On Wed, 2011-08-03 at 14:03 +0200, Santiago Vila wrote:
> diffutils 3.0 was released 2010-05-03, and the patch by Paul is dated
> 2010-08-12 (i.e. later), so it should not be a surprise that the bug
> is still there.
Thanks for pointing this out.

Didn't look closely enough at it,... when I hit it again,..

Cheers,
Chris.

--=-1N+o06DU2T1r5yS231h4
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Disposition: attachment; filename="smime.p7s"
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITMjCCBggw
ggPwoAMCAQICAQEwDQYJKoZIhvcNAQEEBQAweTEQMA4GA1UEChMHUm9vdCBDQTEeMBwGA1UECxMV
aHR0cDovL3d3dy5jYWNlcnQub3JnMSIwIAYDVQQDExlDQSBDZXJ0IFNpZ25pbmcgQXV0aG9yaXR5
MSEwHwYJKoZIhvcNAQkBFhJzdXBwb3J0QGNhY2VydC5vcmcwHhcNMDUxMDE0MDczNjU1WhcNMzMw
MzI4MDczNjU1WjBUMRQwEgYDVQQKEwtDQWNlcnQgSW5jLjEeMBwGA1UECxMVaHR0cDovL3d3dy5D
QWNlcnQub3JnMRwwGgYDVQQDExNDQWNlcnQgQ2xhc3MgMyBSb290MIICIjANBgkqhkiG9w0BAQEF
AAOCAg8AMIICCgKCAgEAq0k1EUh80iZ+U5TPQ6ndKNdCKovzh3gZWHwPntqJfeH763KQDXShlmSr
n6AkmXPa4lV2xxd79QSsRrjDvn9kjRBsJPNhnMDykPpR5vVpAWPDD1biSkLP4kSMJSioxXkJfUa5
ivPp8zQpCEXkHJ/LlAQcgagUs5hlxEPsToKNCdG9qluNktDs3pDFfwrC4+vmMVpedD6XM1nowwM9
YDO/99FvR8TN7mKDUm4uCJqk2RUYkaaFkkewrkjrbbch7IUaaHI1q//wEF3A9JSnatU7kn5MkAV+
k8Esi6SOYnQVcW4LcQPqrxU4mtTSBXJvjPkr61pyJfk5RuNyGz4Ew2QnIhAqik9YpwOtvrQuE+1d
qkjX1X3UKntc+kYEUOTMDkJbjO3b8s/8lpPg2xE2VGI0OI8MYJs7l1Y4rfPSW4ugW+pOlrh819Wg
hnBA05Ept6I8rfWMu88akorkNHvA2Gxf6QrCw6cgmlrfLF1SXLpH1ZvvJChwOCAv1X8pwLJBA2iS
zOCczJdLRe86EAqrcDqYlXCtNbHqhSukHIAhMamuYHqAJkgAuAHAk2NVIpE8Vuev2zol848xVOom
i4FZ+aHRUxHFe50D9nQR4G2xLD8shpGZcZqmd4s0YNEUtCysna+MENOfxGr4bxP8c1n3ZkJ0Horj
+NzSb5icy0eYlUAF++kCAwEAAaOBvzCBvDAPBgNVHRMBAf8EBTADAQH/MF0GCCsGAQUFBwEBBFEw
TzAjBggrBgEFBQcwAYYXaHR0cDovL29jc3AuQ0FjZXJ0Lm9yZy8wKAYIKwYBBQUHMAKGHGh0dHA6
Ly93d3cuQ0FjZXJ0Lm9yZy9jYS5jcnQwSgYDVR0gBEMwQTA/BggrBgEEAYGQSjAzMDEGCCsGAQUF
BwIBFiVodHRwOi8vd3d3LkNBY2VydC5vcmcvaW5kZXgucGhwP2lkPTEwMA0GCSqGSIb3DQEBBAUA
A4ICAQB/CIih2hpQSdqJ+6EIcvOK9x7EOrR5WyAwsUXewl3TZWnxwl1UVDyFX7l7QpHCmf0bUZur
RqWhEFOebYisc24sM6bw9J7gdcE+iEWp4WZD/lZa0XpBePdA2ko68QtbpbsWBubC55O5hU2XT7Ee
OEOA75sNjO+4p2AAh1d9HkQcyyPvmzyZna+1KRxFeRaWTSdt8Rxsw8JVZLO8FOLzpB8eMvwnFQXP
3S6uPoJhe/AhEBj2ROpTOfnc0Jog4Ma74LtaT8SZyAe9tb2i2y5iDUI0Qbz/i4r1USKqiDAA4rDU
vL5lutUDV3mb6NzITfhQ7ZGlUiiirPs2WD7plCuRUIcb1l7WjMz3DxAMUk7QFmHl5QpsvxfHckZX
nJj1bGBjem9euU4vyLm5u2qFvJgN7fk+l4Q0lK4Ar6Hl55JuTr3z4tkUi1zS6wFsoBelLRDrnHpK
vb3uzv3tIkCrcDiI9QqHasKrBWDJSAXaU8HeRHdqs/M8PO2AvKY4SikkX/5ZO5slelZjAGS5XaRi
fVc2T62D7x+SU6COd1fd5WERPSMAkEw8+qNgkwSjrzX2DmqPT0pgp4UFbEahj/THduOhWVf3cbLE
bhRcbW1BZt8bk7HUAMPuy888PSGAqV9jZfzd4F+k9CvwhXFB1Gcl+xqxl67WmYITQdJupRuZJ4Dn
C6moADCCBo8wggR3oAMCAQICAwCyHTANBgkqhkiG9w0BAQUFADBUMRQwEgYDVQQKEwtDQWNlcnQg
SW5jLjEeMBwGA1UECxMVaHR0cDovL3d3dy5DQWNlcnQub3JnMRwwGgYDVQQDExNDQWNlcnQgQ2xh
c3MgMyBSb290MB4XDTEwMDgwMTIxMjc0M1oXDTEyMDczMTIxMjc0M1owggEdMSEwHwYDVQQDExhD
aHJpc3RvcGggQW50b24gTWl0dGVyZXIxJDAiBgkqhkiG9w0BCQEWFWNhbGVzdHlvQHNjaWVudGlh
Lm5ldDExMC8GCSqGSIb3DQEJARYibWFpbEBjaHJpc3RvcGguYW50b24ubWl0dGVyZXIubmFtZTEv
MC0GCSqGSIb3DQEJARYgY2hyaXN0b3BoLmFudG9uLm1pdHRlcmVyQGNlcm4uY2gxPjA8BgkqhkiG
9w0BCQEWL2NocmlzdG9waC5hbnRvbi5taXR0ZXJlckBwaHlzaWsudW5pLW11ZW5jaGVuLmRlMS4w
LAYJKoZIhvcNAQkBFh9jaHJpc3RvcGguYW50b24ubWl0dGVyZXJAbG11LmRlMIIBIjANBgkqhkiG
9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuwNa6CEzsTRd3bRYXPNn2KYKhFZbyPPk1CjuFfy+1PAfKBiG
JmhhHGkmwCdnOd5aVnGzwIPfTv/+Rw3Cuw2zJ4YmJmX3uNDz/l2M6h5MO7Bawv7CjdR+ljGaIBYi
gMuNaBawmoo60shkvOwf8df/Ou5KTxX7uL/hNOb1Q2/3yJWBBMPCbKD0nTvVH34nE1lfZxvKk/Mu
dT7jc/WZ3kJshsO7y0WS/DEDvqPiQI5zfCx/qslMYCSCwcqZ4/NHwEXX4zgt9tfPj34iBNLEod7H
zdNhCfdqn1j/FTsRI12M2OXEYhYgBoRNRYshPV10ePbV9+GPzvWlJm7Hn07fxVi4ZQIDAQABo4IB
nTCCAZkwDAYDVR0TAQH/BAIwADBWBglghkgBhvhCAQ0ESRZHVG8gZ2V0IHlvdXIgb3duIGNlcnRp
ZmljYXRlIGZvciBGUkVFIGhlYWQgb3ZlciB0byBodHRwOi8vd3d3LkNBY2VydC5vcmcwQAYDVR0l
BDkwNwYIKwYBBQUHAwQGCCsGAQUFBwMCBgorBgEEAYI3CgMEBgorBgEEAYI3CgMDBglghkgBhvhC
BAEwMgYIKwYBBQUHAQEEJjAkMCIGCCsGAQUFBzABhhZodHRwOi8vb2NzcC5jYWNlcnQub3JnMIG6
BgNVHREEgbIwga+BFWNhbGVzdHlvQHNjaWVudGlhLm5ldIEibWFpbEBjaHJpc3RvcGguYW50b24u
bWl0dGVyZXIubmFtZYEgY2hyaXN0b3BoLmFudG9uLm1pdHRlcmVyQGNlcm4uY2iBL2NocmlzdG9w
aC5hbnRvbi5taXR0ZXJlckBwaHlzaWsudW5pLW11ZW5jaGVuLmRlgR9jaHJpc3RvcGguYW50b24u
bWl0dGVyZXJAbG11LmRlMA0GCSqGSIb3DQEBBQUAA4ICAQAQFRkG3/PZgFdEFzeQyB2Gy8aXvyfS
XpoF14+eAplacl6HXG874gfBw0VlTMkG7ynK3sh2cOEz20BMbly/MGT9tMpo246EhINlIwpfnqlS
GZ+AVXrmztX25Eler+fO2wOVEeCn+HV09wb95VJtdzeAVaWpON5cEjGm9TLpMfR3RDDDkkcKI1uB
kAcwVugRHmAXgx+2Mi6bDrG1q3TXA8JCdo+8ojdboSEpJvPXhXeKcN9N9ajLqcv/J0jp5s1jZCRn
oX8OGIu9KWYmD7w2dHaYDmi/JHAa1ddd38BjULi1azqAVr32f1UWzU12JucqGHvlsZvkr479f/jV
4G8ID7zz/KG0Qb1op7gOZnj56/ek2jHyFBlYnAsnqM2imqSkNZsOAhxLPsYvqE3APCTcFMSilCCD
66K8OLrzpAj6fzcY9UJ9pkRZBP+nkOTN9avqZivxwKR8Zvl4XG9NJEdftSDTjFaVeYjn8hiDW0c9
uqVlayI35d2L0jC6h/npeihVWSOBiqFd5sPepTrqe7AvPrpYR12QrbkYeqARcqYnLe3jKuyWyqhQ
EQty00Zb0n3d7ezZ15ECXBOQHhvlDkbT6UeGX3Xa9kvNYWIb62S1nZ4oicU94NPxwMYtttaOTjzY
3hb5/aS+TWT+xkTFSFmd2perZmiiyByCKC5bcp6cOPWgvzCCBo8wggR3oAMCAQICAwCyHTANBgkq
hkiG9w0BAQUFADBUMRQwEgYDVQQKEwtDQWNlcnQgSW5jLjEeMBwGA1UECxMVaHR0cDovL3d3dy5D
QWNlcnQub3JnMRwwGgYDVQQDExNDQWNlcnQgQ2xhc3MgMyBSb290MB4XDTEwMDgwMTIxMjc0M1oX
DTEyMDczMTIxMjc0M1owggEdMSEwHwYDVQQDExhDaHJpc3RvcGggQW50b24gTWl0dGVyZXIxJDAi
BgkqhkiG9w0BCQEWFWNhbGVzdHlvQHNjaWVudGlhLm5ldDExMC8GCSqGSIb3DQEJARYibWFpbEBj
aHJpc3RvcGguYW50b24ubWl0dGVyZXIubmFtZTEvMC0GCSqGSIb3DQEJARYgY2hyaXN0b3BoLmFu
dG9uLm1pdHRlcmVyQGNlcm4uY2gxPjA8BgkqhkiG9w0BCQEWL2NocmlzdG9waC5hbnRvbi5taXR0
ZXJlckBwaHlzaWsudW5pLW11ZW5jaGVuLmRlMS4wLAYJKoZIhvcNAQkBFh9jaHJpc3RvcGguYW50
b24ubWl0dGVyZXJAbG11LmRlMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuwNa6CEz
sTRd3bRYXPNn2KYKhFZbyPPk1CjuFfy+1PAfKBiGJmhhHGkmwCdnOd5aVnGzwIPfTv/+Rw3Cuw2z
J4YmJmX3uNDz/l2M6h5MO7Bawv7CjdR+ljGaIBYigMuNaBawmoo60shkvOwf8df/Ou5KTxX7uL/h
NOb1Q2/3yJWBBMPCbKD0nTvVH34nE1lfZxvKk/MudT7jc/WZ3kJshsO7y0WS/DEDvqPiQI5zfCx/
qslMYCSCwcqZ4/NHwEXX4zgt9tfPj34iBNLEod7HzdNhCfdqn1j/FTsRI12M2OXEYhYgBoRNRYsh
PV10ePbV9+GPzvWlJm7Hn07fxVi4ZQIDAQABo4IBnTCCAZkwDAYDVR0TAQH/BAIwADBWBglghkgB
hvhCAQ0ESRZHVG8gZ2V0IHlvdXIgb3duIGNlcnRpZmljYXRlIGZvciBGUkVFIGhlYWQgb3ZlciB0
byBodHRwOi8vd3d3LkNBY2VydC5vcmcwQAYDVR0lBDkwNwYIKwYBBQUHAwQGCCsGAQUFBwMCBgor
BgEEAYI3CgMEBgorBgEEAYI3CgMDBglghkgBhvhCBAEwMgYIKwYBBQUHAQEEJjAkMCIGCCsGAQUF
BzABhhZodHRwOi8vb2NzcC5jYWNlcnQub3JnMIG6BgNVHREEgbIwga+BFWNhbGVzdHlvQHNjaWVu
dGlhLm5ldIEibWFpbEBjaHJpc3RvcGguYW50b24ubWl0dGVyZXIubmFtZYEgY2hyaXN0b3BoLmFu
dG9uLm1pdHRlcmVyQGNlcm4uY2iBL2NocmlzdG9waC5hbnRvbi5taXR0ZXJlckBwaHlzaWsudW5p
LW11ZW5jaGVuLmRlgR9jaHJpc3RvcGguYW50b24ubWl0dGVyZXJAbG11LmRlMA0GCSqGSIb3DQEB
BQUAA4ICAQAQFRkG3/PZgFdEFzeQyB2Gy8aXvyfSXpoF14+eAplacl6HXG874gfBw0VlTMkG7ynK
3sh2cOEz20BMbly/MGT9tMpo246EhINlIwpfnqlSGZ+AVXrmztX25Eler+fO2wOVEeCn+HV09wb9
5VJtdzeAVaWpON5cEjGm9TLpMfR3RDDDkkcKI1uBkAcwVugRHmAXgx+2Mi6bDrG1q3TXA8JCdo+8
ojdboSEpJvPXhXeKcN9N9ajLqcv/J0jp5s1jZCRnoX8OGIu9KWYmD7w2dHaYDmi/JHAa1ddd38Bj
ULi1azqAVr32f1UWzU12JucqGHvlsZvkr479f/jV4G8ID7zz/KG0Qb1op7gOZnj56/ek2jHyFBlY
nAsnqM2imqSkNZsOAhxLPsYvqE3APCTcFMSilCCD66K8OLrzpAj6fzcY9UJ9pkRZBP+nkOTN9avq
ZivxwKR8Zvl4XG9NJEdftSDTjFaVeYjn8hiDW0c9uqVlayI35d2L0jC6h/npeihVWSOBiqFd5sPe
pTrqe7AvPrpYR12QrbkYeqARcqYnLe3jKuyWyqhQEQty00Zb0n3d7ezZ15ECXBOQHhvlDkbT6UeG
X3Xa9kvNYWIb62S1nZ4oicU94NPxwMYtttaOTjzY3hb5/aS+TWT+xkTFSFmd2perZmiiyByCKC5b
cp6cOPWgvzGCAr0wggK5AgEBMFswVDEUMBIGA1UEChMLQ0FjZXJ0IEluYy4xHjAcBgNVBAsTFWh0
dHA6Ly93d3cuQ0FjZXJ0Lm9yZzEcMBoGA1UEAxMTQ0FjZXJ0IENsYXNzIDMgUm9vdAIDALIdMAkG
BSsOAwIaBQCgggE3MBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTEx
MDgwMzE4MTI0NFowIwYJKoZIhvcNAQkEMRYEFNEqBfit01xku6DHasPFkars9pK6MGoGCSsGAQQB
gjcQBDFdMFswVDEUMBIGA1UEChMLQ0FjZXJ0IEluYy4xHjAcBgNVBAsTFWh0dHA6Ly93d3cuQ0Fj
ZXJ0Lm9yZzEcMBoGA1UEAxMTQ0FjZXJ0IENsYXNzIDMgUm9vdAIDALIdMGwGCyqGSIb3DQEJEAIL
MV2gWzBUMRQwEgYDVQQKEwtDQWNlcnQgSW5jLjEeMBwGA1UECxMVaHR0cDovL3d3dy5DQWNlcnQu
b3JnMRwwGgYDVQQDExNDQWNlcnQgQ2xhc3MgMyBSb290AgMAsh0wDQYJKoZIhvcNAQEBBQAEggEA
Ke4wKAVMOK0leui4nwDiQUKoS342CL+yASNrF4Ba2X3H0z0MmQ1rXFJIOi2dwMZa6VZkCzlvKsiD
M4Al+rfIhRpbbw0XK3/C456JnEvjC8ABFwLdZ/TLVfbbkQlFtHiMy/wfF9ZB826+gbH874PVD1BL
B9DJDIJToS88culDMbR/y+qtBsNTW0FVwm+sVLNxRqgUmKy6ZvWqLCnz7jI2pJ+8mwu9Sf0gY1oV
iQlsDBA5AH594wcLvMcm5EVk1Pv28yhLvulQg5SlhL9F28tSOXABso1FPbx1JzaNfsq6y3WIcVgd
odjRaY0kkVHDnnD1uzkIqRs8mKdhv5BsUiuEowAAAAAAAA==


--=-1N+o06DU2T1r5yS231h4--



From MAILER-DAEMON Wed Aug 03 16:41:37 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QoiG1-0008Tk-6C
	for mharc-bug-diffutils@gnu.org; Wed, 03 Aug 2011 16:41:37 -0400
Received: from eggs.gnu.org ([140.186.70.92]:33441)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <luismsgomes@gmail.com>) id 1QofQv-000762-Qa
	for bug-diffutils@gnu.org; Wed, 03 Aug 2011 13:40:42 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <luismsgomes@gmail.com>) id 1QofQu-00076b-Sh
	for bug-diffutils@gnu.org; Wed, 03 Aug 2011 13:40:41 -0400
Received: from mail-wy0-f169.google.com ([74.125.82.169]:56868)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <luismsgomes@gmail.com>) id 1QofQu-00076U-Ki
	for bug-diffutils@gnu.org; Wed, 03 Aug 2011 13:40:40 -0400
Received: by wyg36 with SMTP id 36so895897wyg.0
	for <bug-diffutils@gnu.org>; Wed, 03 Aug 2011 10:40:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=mime-version:from:date:message-id:subject:to:content-type
	:content-transfer-encoding;
	bh=5FFjiNxtUm/amrwG8g35r3hws74lms/Det4uRqjPaWw=;
	b=fylKxDr053rBOufQRcCY8xNgkoPCAVifTo7JsVLR0LA5swwXkpaQ7ZcgWsWOGXUZTl
	NucCKRsJQy/Q1KQp8/jNL1b0+DKKGN1Ab3uKG/FONnRAd6rpNHJ04n9LwKs7o39TR91i
	3biqvWyRjJoQT+WWH+Uf6rfLHakK0GXaIirco=
Received: by 10.227.5.199 with SMTP id 7mr8496104wbw.64.1312393239122; Wed, 03
	Aug 2011 10:40:39 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.227.39.95 with HTTP; Wed, 3 Aug 2011 10:39:59 -0700 (PDT)
From: =?ISO-8859-1?Q?Lu=EDs_Gomes?= <luismsgomes@gmail.com>
Date: Wed, 3 Aug 2011 18:39:59 +0100
Message-ID: <CAHnJJqe03u-nJKLgaMnxTN24iB459251+pVA6Aiqi+ZSJy3CHQ@mail.gmail.com>
To: bug-diffutils@gnu.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 74.125.82.169
X-Mailman-Approved-At: Wed, 03 Aug 2011 16:41:35 -0400
Subject: [bug-diffutils] BUG comparing with stdin
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Aug 2011 17:40:42 -0000

I think I have found a BUG in diff (version 3.0).

Steps to reproduce the bug (assuming shell is bash):

$ echo -n hello | diff <(echo -n hello) -
1d0
< hello
\ No newline at end of file


Expected result: no output at all (no differences).


This works as expected:
diff <(echo -n hello) <(echo -n hello)

So the problem seems to occur only when one of the files is stdin.

My machine runs Linux:

$ uname -a
Linux notebook 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:07:17
UTC 2011 x86_64 x86_64 x86_64 GNU/Linux



Thanks for this software.  I couldn't live without it.
Bye,

Lu=EDs


From MAILER-DAEMON Wed Aug 03 18:29:44 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Qojwe-0006ac-T5
	for mharc-bug-diffutils@gnu.org; Wed, 03 Aug 2011 18:29:44 -0400
Received: from eggs.gnu.org ([140.186.70.92]:57992)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Qojwd-0006aW-B1
	for bug-diffutils@gnu.org; Wed, 03 Aug 2011 18:29:44 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Qojwc-0000Hp-K4
	for bug-diffutils@gnu.org; Wed, 03 Aug 2011 18:29:43 -0400
Received: from mx.meyering.net ([82.230.74.64]:52178)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Qojwc-0000Hl-Ef
	for bug-diffutils@gnu.org; Wed, 03 Aug 2011 18:29:42 -0400
Received: from rho.meyering.net (localhost.localdomain [127.0.0.1])
	by rho.meyering.net (Acme Bit-Twister) with ESMTP id A7AAB600CD;
	Thu,  4 Aug 2011 00:29:41 +0200 (CEST)
From: Jim Meyering <jim@meyering.net>
To: =?iso-8859-1?Q?Lu=EDs?= Gomes <luismsgomes@gmail.com>
In-Reply-To: <CAHnJJqe03u-nJKLgaMnxTN24iB459251+pVA6Aiqi+ZSJy3CHQ@mail.gmail.com>
	(=?iso-8859-1?Q?=22Lu=EDs?= Gomes"'s message of "Wed,
	3 Aug 2011 18:39:59 +0100")
References: <CAHnJJqe03u-nJKLgaMnxTN24iB459251+pVA6Aiqi+ZSJy3CHQ@mail.gmail.com>
Date: Thu, 04 Aug 2011 00:29:41 +0200
Message-ID: <8762met9gq.fsf@rho.meyering.net>
Lines: 28
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 82.230.74.64
Cc: bug-diffutils@gnu.org
Subject: Re: [bug-diffutils] BUG comparing with stdin
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Aug 2011 22:29:44 -0000

Lu=EDs Gomes wrote:
> I think I have found a BUG in diff (version 3.0).
>
> Steps to reproduce the bug (assuming shell is bash):
>
> $ echo -n hello | diff <(echo -n hello) -
> 1d0
> < hello
> \ No newline at end of file
>
> Expected result: no output at all (no differences).

Thanks for the report.
However, I cannot reproduce it.

Used as above and below, echo and printf are built-in functions,
so to reproduce, I suggest you use bash like this:

    $ bash -c 'printf hello | diff <(printf hello) -'
    $ bash --version|head -1
    GNU bash, version 4.1.7(1)-release (i386-redhat-linux-gnu)

If that fails too, then add "tee" uses to get copies of the inputs:

    printf hello | tee 1 | diff <(printf hello | tee 2) -

then compare the files, "1" and "2" to see if they
contain 5 or 6 bytes.


From MAILER-DAEMON Wed Aug 03 18:34:42 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Qok1S-00073Y-Ek
	for mharc-bug-diffutils@gnu.org; Wed, 03 Aug 2011 18:34:42 -0400
Received: from eggs.gnu.org ([140.186.70.92]:56237)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1Qok1O-00072c-VI
	for bug-diffutils@gnu.org; Wed, 03 Aug 2011 18:34:40 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1Qok1N-0001PA-Oq
	for bug-diffutils@gnu.org; Wed, 03 Aug 2011 18:34:38 -0400
Received: from smtp.cs.ucla.edu ([131.179.128.62]:45706)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1Qok1N-0001P0-Ja
	for bug-diffutils@gnu.org; Wed, 03 Aug 2011 18:34:37 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.cs.ucla.edu (Postfix) with ESMTP id 8F8BC39E8109;
	Wed,  3 Aug 2011 15:34:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu
Received: from smtp.cs.ucla.edu ([127.0.0.1])
	by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id IJPz4Efq32mi; Wed,  3 Aug 2011 15:34:36 -0700 (PDT)
Received: from [131.179.64.200] (Penguin.CS.UCLA.EDU [131.179.64.200])
	by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 3107B39E8105;
	Wed,  3 Aug 2011 15:34:36 -0700 (PDT)
Message-ID: <4E39CCFB.2090707@cs.ucla.edu>
Date: Wed, 03 Aug 2011 15:34:35 -0700
From: Paul Eggert <eggert@cs.ucla.edu>
Organization: UCLA Computer Science Department
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US;
	rv:1.9.2.18) Gecko/20110621 Fedora/3.1.11-1.fc14 Thunderbird/3.1.11
MIME-Version: 1.0
To: =?ISO-8859-1?Q?Lu=EDs_Gomes?= <luismsgomes@gmail.com>
References: <CAHnJJqe03u-nJKLgaMnxTN24iB459251+pVA6Aiqi+ZSJy3CHQ@mail.gmail.com>
In-Reply-To: <CAHnJJqe03u-nJKLgaMnxTN24iB459251+pVA6Aiqi+ZSJy3CHQ@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 131.179.128.62
Cc: bug-diffutils@gnu.org
Subject: Re: [bug-diffutils] BUG comparing with stdin
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Aug 2011 22:34:40 -0000

On 08/03/11 10:39, Lu=EDs Gomes wrote:
> $ echo -n hello | diff <(echo -n hello) -
> 1d0
> < hello
> \ No newline at end of file

Thanks for the bug report.

I can't reproduce that in my environment (Fedora 14 x86-64):
I am using GNU diff 3.0 and the system-supplied Bash
(GNU bash, version 4.1.7(1)-release (x86_64-redhat-linux-gnu)).

What happens if you run the following commands?

echo -n hello | cat <(echo -n hello) - <(echo -n hello)

I get "hellohellohello", with no trailing newline.

Also, if you run the following command, what is the output and
what gets put into "strace.out"?

strace -f -o strace.out bash -c 'echo -n hello | diff <(echo -n hello) -'

In my environment, the above command outputs nothing, and the
crucial part of strace.out looks like this:

8395  stat("/dev/fd/63", {st_mode=3DS_IFIFO|0600, st_size=3D0, ...}) =3D =
0
8395  fstat(0, {st_mode=3DS_IFIFO|0600, st_size=3D0, ...}) =3D 0
8395  open("/dev/fd/63", O_RDONLY)      =3D 3
8395  read(3, "hello", 4096)            =3D 5
8395  read(3, "", 4091)                 =3D 0
8395  read(0, "hello", 4096)            =3D 5
8395  read(0, "", 4091)                 =3D 0
8395  close(3)                          =3D 0
8395  close(0)                          =3D 0
8395  close(1)                          =3D 0
8395  exit_group(0)                     =3D ?

which is the right behavior: read both inputs and then output nothing.


From MAILER-DAEMON Thu Aug 04 09:11:24 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Qoxhs-0007gw-2t
	for mharc-bug-diffutils@gnu.org; Thu, 04 Aug 2011 09:11:24 -0400
Received: from eggs.gnu.org ([140.186.70.92]:57982)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sanvila@unex.es>) id 1Qoxho-0007g3-ER
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 09:11:22 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sanvila@unex.es>) id 1Qoxhn-0008Kw-2K
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 09:11:20 -0400
Received: from pizarro.unex.es ([158.49.8.2]:35196)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sanvila@unex.es>) id 1Qoxhm-0008Kd-TH
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 09:11:19 -0400
Received: from localhost (lavadora.siue [192.168.1.121])
	by pizarro.unex.es (Postfix) with ESMTP id 8663314807A
	for <bug-diffutils@gnu.org>; Thu,  4 Aug 2011 15:11:16 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at lavadora.unex.es
Received: from pizarro.unex.es ([192.168.1.103])
	by localhost (lavadora.unex.es [192.168.1.121]) (amavisd-new,
	port 10024) with ESMTP id DNyvsj3TScC4 for <bug-diffutils@gnu.org>;
	Thu,  4 Aug 2011 15:04:34 +0200 (CEST)
Received: from guadiana.unex.es (guadiana.unex.es [158.49.17.23])
	by pizarro.unex.es (Postfix) with ESMTP id 6B1A314806F
	for <bug-diffutils@gnu.org>; Thu,  4 Aug 2011 15:11:16 +0200 (CEST)
Received: from cantor.unex.es (cantor.unex.es [158.49.50.20])
	by guadiana.unex.es (Postfix) with ESMTPS id 189184B962
	for <bug-diffutils@gnu.org>; Thu,  4 Aug 2011 15:11:15 +0200 (CEST)
Date: Thu, 4 Aug 2011 15:11:15 +0200 (CEST)
From: Santiago Vila <sanvila@unex.es>
To: bug-diffutils@gnu.org
In-Reply-To: <87bow6vg3s.fsf@rho.meyering.net>
Message-ID: <alpine.DEB.2.00.1108041456280.10003@cantor.unex.es>
References: <10d13d6fb4036cc51d36b387775aad74@imap.dd24.net>
	<4C649A8C.8060905@cs.ucla.edu>
	<1306534994.3190.7.camel@fermat.scientia.net>
	<alpine.DEB.2.00.1108031400070.21456@kolmogorov.unex.es>
	<87bow6vg3s.fsf@rho.meyering.net>
User-Agent: Alpine 2.00 (DEB 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 158.49.8.2
Subject: Re: [bug-diffutils] bug: diff -r swaps the files it should check
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Aug 2011 13:11:22 -0000

On Wed, 3 Aug 2011, Jim Meyering wrote:

> Hi Santiago,
> 
> A release seems justifiable, and I can make one pretty easily.
> I'll wait a day or so, in case anyone has a reason to defer.

I'd love to see a beta release, if you still do that sort of thing.
That would give me some more time to check which ones of the bugs here:

http://bugs.debian.org/diffutils

are still unresolved.


BTW: I almost forgot that there is an issue with the manual licensing
which forced me to remove it from the Debian package: the front-cover
and back-cover, as they are seen as invariant sections.

I'm not sure if we talked about this before, but a manual which would
be dual licensed GPL + (GFDL with front-cover and back-cover) would
solve the issue completely for us. If this is still possible, that
would be great.

Thanks.


From MAILER-DAEMON Thu Aug 04 09:32:16 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Qoy24-0004RL-77
	for mharc-bug-diffutils@gnu.org; Thu, 04 Aug 2011 09:32:16 -0400
Received: from eggs.gnu.org ([140.186.70.92]:39027)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Qoy20-0004QF-V7
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 09:32:13 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Qoy1z-00047H-Bx
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 09:32:12 -0400
Received: from mx.meyering.net ([82.230.74.64]:49834)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Qoy1z-00046z-4P
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 09:32:11 -0400
Received: from rho.meyering.net (localhost.localdomain [127.0.0.1])
	by rho.meyering.net (Acme Bit-Twister) with ESMTP id 4821460098;
	Thu,  4 Aug 2011 15:32:09 +0200 (CEST)
From: Jim Meyering <jim@meyering.net>
To: =?iso-8859-1?Q?Lu=EDs?= Gomes <luismsgomes@gmail.com>
In-Reply-To: <CAHnJJqeSKR2vgQzmKsQNBZ557J+c2HbR4-fdBcNHNhLd-HmSbQ@mail.gmail.com>
	(=?iso-8859-1?Q?=22Lu=EDs?= Gomes"'s message of "Thu,
	4 Aug 2011 14:24:54 +0100")
References: <CAHnJJqe03u-nJKLgaMnxTN24iB459251+pVA6Aiqi+ZSJy3CHQ@mail.gmail.com>
	<8762met9gq.fsf@rho.meyering.net>
	<CAHnJJqeSKR2vgQzmKsQNBZ557J+c2HbR4-fdBcNHNhLd-HmSbQ@mail.gmail.com>
Date: Thu, 04 Aug 2011 15:32:08 +0200
Message-ID: <87d3gls3on.fsf@rho.meyering.net>
Lines: 43
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 82.230.74.64
Cc: bug-diffutils@gnu.org
Subject: Re: [bug-diffutils] BUG comparing with stdin
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Aug 2011 13:32:13 -0000

Lu=EDs Gomes wrote:
> Hello Jim,
>
> My mistake.  I am sorry that I have bothered you!
>
> I have checked my aliases and it happens that I have colordiff aliased to=
 diff.
> Calling /usr/bin/diff directly does not reproduce the error (but
> calling colordiff does).
>
> I will send the bug report to colordiff people, and I promise to be
> more careful next time.

Thanks for explaining.

> On Wed, Aug 3, 2011 at 11:29 PM, Jim Meyering <jim@meyering.net> wrote:
>> Lu=EDs Gomes wrote:
>>> I think I have found a BUG in diff (version 3.0).
>>>
>>> Steps to reproduce the bug (assuming shell is bash):
>>>
>>> $ echo -n hello | diff <(echo -n hello) -
>>> 1d0
>>> < hello
>>> \ No newline at end of file
>>>
>>> Expected result: no output at all (no differences).
>>
>> Thanks for the report.
>> However, I cannot reproduce it.
>>
>> Used as above and below, echo and printf are built-in functions,
>> so to reproduce, I suggest you use bash like this:
>>
>> =A0 =A0$ bash -c 'printf hello | diff <(printf hello) -'
>> =A0 =A0$ bash --version|head -1
>> =A0 =A0GNU bash, version 4.1.7(1)-release (i386-redhat-linux-gnu)
>>
>> If that fails too, then add "tee" uses to get copies of the inputs:
>>
>> =A0 =A0printf hello | tee 1 | diff <(printf hello | tee 2) -
>>
>> then compare the files, "1" and "2" to see if they
>> contain 5 or 6 bytes.


From MAILER-DAEMON Thu Aug 04 09:32:59 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Qoy2l-0004Wk-A6
	for mharc-bug-diffutils@gnu.org; Thu, 04 Aug 2011 09:32:59 -0400
Received: from eggs.gnu.org ([140.186.70.92]:39181)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sanvila@unex.es>) id 1Qoy2i-0004Vg-QQ
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 09:32:57 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sanvila@unex.es>) id 1Qoy2h-0004Bg-Iv
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 09:32:56 -0400
Received: from pizarro.unex.es ([158.49.8.2]:36987)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sanvila@unex.es>) id 1Qoy2h-0004Bc-AS
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 09:32:55 -0400
Received: from localhost (lavadora.siue [192.168.1.121])
	by pizarro.unex.es (Postfix) with ESMTP id 2DECA148081;
	Thu,  4 Aug 2011 15:32:54 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at lavadora.unex.es
Received: from pizarro.unex.es ([192.168.1.103])
	by localhost (lavadora.unex.es [192.168.1.121]) (amavisd-new,
	port 10024)
	with ESMTP id iSkRkpK1Nj9F; Thu,  4 Aug 2011 15:26:12 +0200 (CEST)
Received: from guadiana.unex.es (guadiana.unex.es [158.49.17.23])
	by pizarro.unex.es (Postfix) with ESMTP id 0223314806F;
	Thu,  4 Aug 2011 15:32:53 +0200 (CEST)
Received: from cantor.unex.es (cantor.unex.es [158.49.50.20])
	by guadiana.unex.es (Postfix) with ESMTPS id B52704B975;
	Thu,  4 Aug 2011 15:32:52 +0200 (CEST)
Date: Thu, 4 Aug 2011 15:32:52 +0200 (CEST)
From: Santiago Vila <sanvila@unex.es>
To: bug-diffutils@gnu.org
Message-ID: <alpine.DEB.2.00.1108041530220.10154@cantor.unex.es>
User-Agent: Alpine 2.00 (DEB 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 158.49.8.2
Cc: 625630-forwarded@bugs.debian.org, Bekir Dogan <bekirdo@gmail.com>
Subject: [bug-diffutils] Bug#625630: diffutils: diff --ignore-matching-lines
 doesn't ignore newlines if they near a different line (fwd)
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Aug 2011 13:32:57 -0000

Hello.

Received this from the Debian bug system.

Sorry for the delay in processing it. I have checked and it may still be
reproduced with diffutils 3.0.50 from git.

Thanks.

---------- Forwarded message ----------
From: Bekir Dogan <bekirdo@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Date: Wed, 04 May 2011 19:30:37 +0300
Subject: Bug#625630: diffutils: diff --ignore-matching-lines doesn't ignore
    newlines if they near a different line

Package: diffutils
Version: 1:3.0-1
Severity: normal


This example reports nothing different, really ignores lines with 'xxx' as expected:
$ /usr/bin/diff --ignore-matching-lines='^xxx.*$' <(echo -e 'aaa\nbbb\nccc\nddd\nxxx\neee\nxxx\nfff') <(echo -e 'aaa\nbbb\nccc\nddd\neee\nfff')

But this example reports the first 'xxx' line as difference near the other different line ('y'), and does not report the second 'xxx' line:
$ /usr/bin/diff --ignore-matching-lines='^xxx.*$' <(echo -e 'aaa\nbbb\nccc\nddd\nxxx\ny\neee\nxxx\nfff') <(echo -e 'aaa\nbbb\nccc\nddd\neee\nfff')
5,6d4
< xxx
< y

Expected result should be like this:
$ /usr/bin/diff --ignore-matching-lines='^xxx.*$' <(echo -e 'aaa\nbbb\nccc\nddd\nxxx\ny\neee\nxxx\nfff') <(echo -e 'aaa\nbbb\nccc\nddd\neee\nfff')
6d5
< y

[...]


From MAILER-DAEMON Thu Aug 04 09:38:41 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Qoy8H-0006Ya-5F
	for mharc-bug-diffutils@gnu.org; Thu, 04 Aug 2011 09:38:41 -0400
Received: from eggs.gnu.org ([140.186.70.92]:36544)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1Qoy8F-0006YM-EL
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 09:38:40 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1Qoy8D-00055R-TG
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 09:38:39 -0400
Received: from smtp.cs.ucla.edu ([131.179.128.62]:52820)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1Qoy8D-000550-O9
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 09:38:37 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.cs.ucla.edu (Postfix) with ESMTP id 89CFF39E8116;
	Thu,  4 Aug 2011 06:38:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu
Received: from smtp.cs.ucla.edu ([127.0.0.1])
	by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id u-uRVLUMopr5; Thu,  4 Aug 2011 06:38:36 -0700 (PDT)
Received: from [192.168.1.10] (pool-71-189-109-235.lsanca.fios.verizon.net
	[71.189.109.235])
	by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 163C939E8105;
	Thu,  4 Aug 2011 06:38:36 -0700 (PDT)
Message-ID: <4E3AA0D7.2010901@cs.ucla.edu>
Date: Thu, 04 Aug 2011 06:38:31 -0700
From: Paul Eggert <eggert@cs.ucla.edu>
Organization: UCLA Computer Science Department
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11
MIME-Version: 1.0
To: Santiago Vila <sanvila@unex.es>
References: <alpine.DEB.2.00.1108041530220.10154@cantor.unex.es>
In-Reply-To: <alpine.DEB.2.00.1108041530220.10154@cantor.unex.es>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 131.179.128.62
Cc: bug-diffutils@gnu.org, 625630-forwarded@bugs.debian.org,
	Bekir Dogan <bekirdo@gmail.com>
Subject: Re: [bug-diffutils] Bug#625630: diffutils: diff
 --ignore-matching-lines doesn't ignore newlines if they near a different
 line (fwd)
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Aug 2011 13:38:40 -0000

On 08/04/11 06:32, Santiago Vila wrote:
> $ /usr/bin/diff --ignore-matching-lines='^xxx.*$' <(echo -e 'aaa\nbbb\nccc\nddd\nxxx\ny\neee\nxxx\nfff') <(echo -e 'aaa\nbbb\nccc\nddd\neee\nfff')
> 5,6d4
> < xxx
> < y

That's the expected behavior.  The documentation says that --ignore-matching-lines
only suppresses a difference if every changed line in the hunk matches the RE.
Here, "y" does not match the RE, so the entire hunk is output.  So I don't
see a bug here.


From MAILER-DAEMON Thu Aug 04 09:47:42 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QoyH0-0002CL-AE
	for mharc-bug-diffutils@gnu.org; Thu, 04 Aug 2011 09:47:42 -0400
Received: from eggs.gnu.org ([140.186.70.92]:57465)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <twaugh@redhat.com>) id 1QoyGx-0002Bu-Kn
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 09:47:40 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <twaugh@redhat.com>) id 1QoyGw-0006yt-A6
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 09:47:39 -0400
Received: from mx1.redhat.com ([209.132.183.28]:9479)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <twaugh@redhat.com>) id 1QoyGw-0006yb-1x
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 09:47:38 -0400
Received: from int-mx02.intmail.prod.int.phx2.redhat.com
	(int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p74DlaCG005690
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK)
	for <bug-diffutils@gnu.org>; Thu, 4 Aug 2011 09:47:36 -0400
Received: from [10.11.9.133] (vpn-9-133.rdu.redhat.com [10.11.9.133])
	by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
	id p74DlZta031333
	for <bug-diffutils@gnu.org>; Thu, 4 Aug 2011 09:47:35 -0400
From: Tim Waugh <twaugh@redhat.com>
To: bug-diffutils@gnu.org
Date: Thu, 04 Aug 2011 14:47:34 +0100
Content-Type: multipart/signed; micalg="pgp-sha1";
	protocol="application/pgp-signature"; 
	boundary="=-puuS3I3XTJV331at7WHr"
Message-ID: <1312465656.4532.3.camel@localhost.localdomain>
Mime-Version: 1.0
X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.132.183.28
Subject: [bug-diffutils] [patch] --ignore-file-name-case
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Aug 2011 13:47:41 -0000


--=-puuS3I3XTJV331at7WHr
Content-Type: multipart/mixed; boundary="=-J4FNIcswlcZBcUJILxwI"


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

Hi,

I had a report that --ignore-file-name-case doesn't work as expected:
  https://bugzilla.redhat.com/show_bug.cgi?id=3D719001

Here's a patch against 2.8.1 that works for me.  There are two changes:

1. Make compare_names() return 0 if the filenames match
case-insensitively, but keep compare_names_for_qsort() stable.

2. When one argument is a directory and another is not, search within
the directory for a case-insensitive filename match.

Does this approach look acceptable?  If so I can port the patch to 3.0.

Tim.
*/


--=-J4FNIcswlcZBcUJILxwI
Content-Disposition: attachment; filename="diffutils-ignore-file-name-case.patch"
Content-Transfer-Encoding: base64
Content-Type: text/x-patch; name="diffutils-ignore-file-name-case.patch";
	charset="UTF-8"

ZGlmZiAtdXAgZGlmZnV0aWxzLTIuOC4xL3NyYy9kaWZmLmguaWdub3JlLWZpbGUtbmFtZS1jYXNl
IGRpZmZ1dGlscy0yLjguMS9zcmMvZGlmZi5oDQotLS0gZGlmZnV0aWxzLTIuOC4xL3NyYy9kaWZm
LmguaWdub3JlLWZpbGUtbmFtZS1jYXNlCTIwMTEtMDgtMDQgMTQ6MjE6MzYuMzIzODI0MzU2ICsw
MTAwDQorKysgZGlmZnV0aWxzLTIuOC4xL3NyYy9kaWZmLmgJMjAxMS0wOC0wNCAxNDoyMTozNi4z
NzI4MjM0ODAgKzAxMDANCkBAIC0zMzYsNiArMzM2LDcgQEAgdm9pZCBwcmludF9jb250ZXh0X3Nj
cmlwdCAoc3RydWN0IGNoYW5nZQ0KIA0KIC8qIGRpci5jICovDQogaW50IGRpZmZfZGlycyAoc3Ry
dWN0IGNvbXBhcmlzb24gY29uc3QgKiwgaW50ICgqKSAoc3RydWN0IGNvbXBhcmlzb24gY29uc3Qg
KiwgY2hhciBjb25zdCAqLCBjaGFyIGNvbnN0ICopKTsNCitjaGFyICpmaW5kX2Rpcl9maWxlX3Bh
dGhuYW1lIChjaGFyIGNvbnN0ICosIGNoYXIgY29uc3QgKiwgYm9vbCk7DQogDQogLyogZWQuYyAq
Lw0KIHZvaWQgcHJpbnRfZWRfc2NyaXB0IChzdHJ1Y3QgY2hhbmdlICopOw0KZGlmZiAtdXAgZGlm
ZnV0aWxzLTIuOC4xL3NyYy9kaXIuYy5pZ25vcmUtZmlsZS1uYW1lLWNhc2UgZGlmZnV0aWxzLTIu
OC4xL3NyYy9kaXIuYw0KLS0tIGRpZmZ1dGlscy0yLjguMS9zcmMvZGlyLmMuaWdub3JlLWZpbGUt
bmFtZS1jYXNlCTIwMDItMDMtMDEgMDc6NDQ6MTcuMDAwMDAwMDAwICswMDAwDQorKysgZGlmZnV0
aWxzLTIuOC4xL3NyYy9kaXIuYwkyMDExLTA4LTA0IDE0OjI3OjQ4LjE0MTE4MDUyNCArMDEwMA0K
QEAgLTE0NiwxMSArMTQ2LDcgQEAgc3RhdGljIGludA0KIGNvbXBhcmVfbmFtZXMgKGNoYXIgY29u
c3QgKm5hbWUxLCBjaGFyIGNvbnN0ICpuYW1lMikNCiB7DQogICBpZiAoaWdub3JlX2ZpbGVfbmFt
ZV9jYXNlKQ0KLSAgICB7DQotICAgICAgaW50IHIgPSBzdHJjYXNlY21wIChuYW1lMSwgbmFtZTIp
Ow0KLSAgICAgIGlmIChyKQ0KLQlyZXR1cm4gcjsNCi0gICAgfQ0KKyAgICByZXR1cm4gc3RyY2Fz
ZWNtcCAobmFtZTEsIG5hbWUyKTsNCiANCiAgIGlmIChsb2NhbGVfc3BlY2lmaWNfc29ydGluZykN
CiAgICAgew0KQEAgLTE3Nyw3ICsxNzMsMTcgQEAgY29tcGFyZV9uYW1lc19mb3JfcXNvcnQgKHZv
aWQgY29uc3QgKmZpbA0KIHsNCiAgIGNoYXIgY29uc3QgKmNvbnN0ICpmMSA9IGZpbGUxOw0KICAg
Y2hhciBjb25zdCAqY29uc3QgKmYyID0gZmlsZTI7DQotICByZXR1cm4gY29tcGFyZV9uYW1lcyAo
KmYxLCAqZjIpOw0KKyAgaW50IHIgPSBjb21wYXJlX25hbWVzICgqZjEsICpmMik7DQorICBpZiAo
IXIgJiYgaWdub3JlX2ZpbGVfbmFtZV9jYXNlKQ0KKyAgICB7DQorICAgICAgLyogTWFrZSBzdXJl
IHdlIGhhdmUgYSBzdGFibGUgc29ydC4gICovDQorICAgICAgaWYgKGxvY2FsZV9zcGVjaWZpY19z
b3J0aW5nKQ0KKwlyID0gc3RyY29sbCAoKmYxLCAqZjIpOw0KKyAgICAgIGVsc2UNCisJciA9IGZp
bGVfbmFtZV9jbXAgKCpmMSwgKmYyKTsNCisgICAgfQ0KKw0KKyAgcmV0dXJuIHI7DQogfQ0KIAwN
CiAvKiBDb21wYXJlIHRoZSBjb250ZW50cyBvZiB0d28gZGlyZWN0b3JpZXMgbmFtZWQgaW4gQ01Q
Lg0KQEAgLTI4NywzICsyOTMsMzIgQEAgZGlyX2xvb3AgKHN0cnVjdCBjb21wYXJpc29uIGNvbnN0
ICpjbXAsIA0KICAgICAgIHJldHVybiAxOw0KICAgcmV0dXJuIDA7DQogfQ0KKw0KKy8qIEZpbmQg
YSBtYXRjaGluZyBmaWxlbmFtZSBpbiBhIGRpcmVjdG9yeS4gICovDQorDQorY2hhciAqDQorZmlu
ZF9kaXJfZmlsZV9wYXRobmFtZSAoY2hhciBjb25zdCAqZGlyLCBjaGFyIGNvbnN0ICpmaWxlLCBi
b29sIG9taXRfc2xhc2gpDQorew0KKyAgc3RydWN0IGZpbGVfZGF0YSBmaWxlZGF0YTsNCisgIHN0
cnVjdCBkaXJkYXRhIGRpcmRhdGE7DQorICBjaGFyICp2YWwgPSBOVUxMOw0KKyAgaW50IGk7DQor
DQorICBmaWxlZGF0YS5uYW1lID0gZGlyOw0KKyAgZmlsZWRhdGEuZGVzYyA9IDA7DQorICBpZiAo
ISBkaXJfcmVhZCAoJmZpbGVkYXRhLCAmZGlyZGF0YSkpDQorICAgIHJldHVybiBOVUxMOw0KKw0K
KyAgZm9yIChpID0gMDsgaSA8IGRpcmRhdGEubm5hbWVzOyBpKyspDQorICAgIGlmIChjb21wYXJl
X25hbWVzIChkaXJkYXRhLm5hbWVzW2ldLCBmaWxlKSA9PSAwKQ0KKyAgICAgIHsNCisJdmFsID0g
Y29uY2F0IChkaXIsICIvIiArIG9taXRfc2xhc2gsIGRpcmRhdGEubmFtZXNbaV0pOw0KKwlicmVh
azsNCisgICAgICB9DQorDQorICBpZiAoZGlyZGF0YS5uYW1lcykNCisgICAgZnJlZSAoZGlyZGF0
YS5uYW1lcyk7DQorICBpZiAoZGlyZGF0YS5kYXRhKQ0KKyAgICBmcmVlIChkaXJkYXRhLmRhdGEp
Ow0KKyAgcmV0dXJuIHZhbDsNCit9DQpkaWZmIC11cCBkaWZmdXRpbHMtMi44LjEvc3JjL3V0aWwu
Yy5pZ25vcmUtZmlsZS1uYW1lLWNhc2UgZGlmZnV0aWxzLTIuOC4xL3NyYy91dGlsLmMNCi0tLSBk
aWZmdXRpbHMtMi44LjEvc3JjL3V0aWwuYy5pZ25vcmUtZmlsZS1uYW1lLWNhc2UJMjAxMS0wOC0w
NCAxNDoyMTozNi4zMzE4MjQyMTMgKzAxMDANCisrKyBkaWZmdXRpbHMtMi44LjEvc3JjL3V0aWwu
YwkyMDExLTA4LTA0IDE0OjIxOjM2LjM3NDgyMzQ0NCArMDEwMA0KQEAgLTEwMjMsNiArMTAyMyw5
IEBAIGRpcl9maWxlX3BhdGhuYW1lIChjaGFyIGNvbnN0ICpkaXIsIGNoYXINCiB7DQogICBjaGFy
IGNvbnN0ICpiYXNlID0gYmFzZV9uYW1lIChkaXIpOw0KICAgYm9vbCBvbWl0X3NsYXNoID0gISpi
YXNlIHx8IGJhc2Vbc3RybGVuIChiYXNlKSAtIDFdID09ICcvJzsNCisgIGlmIChpZ25vcmVfZmls
ZV9uYW1lX2Nhc2UpDQorICAgIHJldHVybiBmaW5kX2Rpcl9maWxlX3BhdGhuYW1lIChkaXIsIGZp
bGUsIG9taXRfc2xhc2gpOw0KKw0KICAgcmV0dXJuIGNvbmNhdCAoZGlyLCAiLyIgKyBvbWl0X3Ns
YXNoLCBmaWxlKTsNCiB9DQogDA0K


--=-J4FNIcswlcZBcUJILxwI--

--=-puuS3I3XTJV331at7WHr
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)

iQEVAwUATjqi9u7Fkar03pQsAQJGAAgAmDoaj16Vl0LfAMwGhIyNIIRpIfjIZi1/
rGFeSiV6mdsMj5iAwCu7FAF0QgEnLbDRoMB0lcWnKp+ahz4htPPTjgILTdr08Q/6
UYU95b4aqJ438EITYuWpRwtoZXpDIjMC65/FCs7SX4neL1PXunZT4UjspMjfW+sC
FUYwuWN1oLsRP1wjhtBdHnb0ePO3U53qxJhLULISv7QZOE7aiu7lMBuVUQ1lC9Kb
t4t8dQaT+ntLnKR0yENnh8M0aUyCOhTYGWItHh4GMz5DfWheLqQPdGwLz83kdqTV
57LFGBCskwIy9DU1lRblAPiBfjGhXmamaKMUgbVngn8w3K1f6l2psw==
=+40D
-----END PGP SIGNATURE-----

--=-puuS3I3XTJV331at7WHr--



From MAILER-DAEMON Thu Aug 04 10:14:48 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QoyhE-0007M2-Jm
	for mharc-bug-diffutils@gnu.org; Thu, 04 Aug 2011 10:14:48 -0400
Received: from eggs.gnu.org ([140.186.70.92]:49794)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1QoyhC-0007Jl-9D
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 10:14:47 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1QoyhB-0004Um-6Y
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 10:14:46 -0400
Received: from smtp.cs.ucla.edu ([131.179.128.62]:58967)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1QoyhA-0004Ug-Uz
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 10:14:45 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.cs.ucla.edu (Postfix) with ESMTP id C7AF739E8116;
	Thu,  4 Aug 2011 07:14:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu
Received: from smtp.cs.ucla.edu ([127.0.0.1])
	by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id mDYrQbXV3M-8; Thu,  4 Aug 2011 07:14:42 -0700 (PDT)
Received: from [192.168.1.10] (pool-71-189-109-235.lsanca.fios.verizon.net
	[71.189.109.235])
	by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 59BB139E8105;
	Thu,  4 Aug 2011 07:14:42 -0700 (PDT)
Message-ID: <4E3AA951.6000607@cs.ucla.edu>
Date: Thu, 04 Aug 2011 07:14:41 -0700
From: Paul Eggert <eggert@cs.ucla.edu>
Organization: UCLA Computer Science Department
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11
MIME-Version: 1.0
To: Tim Waugh <twaugh@redhat.com>
References: <1312465656.4532.3.camel@localhost.localdomain>
In-Reply-To: <1312465656.4532.3.camel@localhost.localdomain>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 131.179.128.62
Cc: bug-diffutils@gnu.org
Subject: Re: [bug-diffutils] [patch] --ignore-file-name-case
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Aug 2011 14:14:47 -0000

That looks like a reasonable minor change to put in.
However, the documentation clearly states that
--ignore-file-name-case applies only to recursive
directory traversal, so this would be an incompatible
change to diff's behavior, and we'd need to change
the documentation and put in a NEWS entry.

I can see some possible improvements to the code:

The subscript should be of type size_t, not int, so
that it won't mess up on 64-bit hosts with very large
directories.  Or better yet, use a char **p iterator
and dispense with the subscript entirely, like this:

  for (p = dirdata.names; *p; p++)
    [ use *p here, not dirdata.names[i] ]

Instead of "if (X) free (X);", write just "free (X);".
We no longer worry about ancient 'free' implementations
that can't free (0).

The "if (ignore_file_name_case)" test should be inside
find_dir_file_pathname, not in its caller.  That way,
there needs to be only one call to 'concat', not two
calls in different files.


From MAILER-DAEMON Thu Aug 04 10:19:09 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QoylR-0000cx-NA
	for mharc-bug-diffutils@gnu.org; Thu, 04 Aug 2011 10:19:09 -0400
Received: from eggs.gnu.org ([140.186.70.92]:40396)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1QoylI-0000a2-GR
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 10:19:08 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Qoyl9-0005dE-I1
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 10:19:00 -0400
Received: from mx.meyering.net ([82.230.74.64]:52656)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Qoyl8-0005cr-8c
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 10:18:51 -0400
Received: from rho.meyering.net (localhost.localdomain [127.0.0.1])
	by rho.meyering.net (Acme Bit-Twister) with ESMTP id 3477E601CB;
	Thu,  4 Aug 2011 16:18:49 +0200 (CEST)
From: Jim Meyering <jim@meyering.net>
To: bug-diffutils@gnu.org
Date: Thu, 04 Aug 2011 16:18:49 +0200
Message-ID: <874o1xs1iu.fsf@rho.meyering.net>
Lines: 2236
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 82.230.74.64
Cc: coordinator@translationproject.org
Subject: [bug-diffutils] new snapshot available: diffutils-3.0.51-c067
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Aug 2011 14:19:08 -0000

I expect to release diffutils-3.1 pretty soon,
but in the mean time, here's a snapshot of the latest diffutils:

diffutils snapshot: (.gz files are here, too)
  http://meyering.net/diff/diffutils-ss.tar.xz      1.1 MB
  http://meyering.net/diff/diffutils-ss.tar.xz.sig
  http://meyering.net/diff/diffutils-3.0.51-c067.tar.xz

There are .gz and .sig files here, too:
  http://people.redhat.com/meyering/diff/diffutils-ss.tar.xz
  http://people.redhat.com/meyering/diff/diffutils-3.0.51-c067.tar.xz


So far, there's only one NEWS entry:

  ** Bug fixes

    diff no longer reports spurious differences merely because two entries
    in the same directory have names that compare equal in the current
    locale, or compare equal because --ignore-file-name-case was given.

-------------------------------------------------
Changes in diffutils since v3.0:

Eric Blake (2):
      docs: diff --help should mention -L
      docs: info should mention -L

Jim Meyering (42):
      post-release administrivia
      doc: update release procedure
      maint: teach web-doc-generating code how to do its job
      doc: README-release: don't mention To:, Cc:, etc announcement headers,
      build: rely on gnulib's sigprocmask module
      build: don't define macros that gnulib provides
      build: update gnulib submodule to latest
      diff -r: avoid printing excess slashes in concatenated file names
      build: update gnulib submodule to latest
      build: update build/test tools from gnulib
      build: use gettext-h, not gettext
      maint: avoid shadowing warning
      maint: adjust init.sh use to conform
      maint: describe policy on copyright year number ranges
      doc: add contributor guidelines: HACKING
      build: update gnulib submodule to latest
      maint: update copyright year ranges to include 2011
      maint: avoid new syntax-check failure
      build: update gnulib submodule to latest
      tests: fix typo that silently disabled all tests
      build: update gnulib submodule to latest
      tests: fix an erroneous test
      tests: avoid newer but less-portable tail option syntax
      maint: remove all uses of vfork: use fork instead
      doc: speak of the --test (-a) option, not "the -a or --test option"
      doc: add a reference to wdiff(1) from diff.1
      maint: fix typo in unused rule
      * .x-sc_space_tab: Remove file.  Instead, ...
      build: update gnulib submodule to latest
      maint: don't use now-removed gnulib "exit" module
      maint: prepare for the tight-scope check
      build: update gnulib submodule to latest
      maint: use gnulib's new readme-release module
      maint: update gnulib to latest with accompanying tight-scope tweaks
      doc: rename diff.texi to diffutils.texi
      doc: ensure each program has a man/*.x file: add "SEE ALSO" references
      build: ccache works better without embedded version strings
      doc: do not distribute generated man/*.1 man files
      build: don't require perl when building from a tarball
      maint: remove inclusion of unused header, for "make syntax-check"
      build: update gnulib submodule to latest
      tests: update init.sh from gnulib

Karl Berry (2):
      maint: update README-hacking
      cmp, diff, diff3, sdiff: edit and align --help text.

Paul Eggert (5):
      diff: avoid spurious diffs when two distinct dir entries compare equal
      bootstrap: adjust to recent gnulib changes
      build: update gnulib submodule to latest
      bootstrap: Avoid multithreading.
      diff: don't use locales after local-specific sorting fails


Changes in gnulib since v3.0:

* gnulib d3d059c...8068b5d (2149):
  > maint.mk: relax the default _gl_TS_function_match regexp
  > git-version-gen: document that EXTRA_DIST must include .version
  > wctype-h: Fix last change.
  > frexpl: Update autoconf test.
  > sys_utsname: Add support for Minix.
  > strings: Add support for Minix.
  > wctype-h: Add support for Minix.
  > * lib/xalloc.h (DEFAULT_MXFAST): Track 64-bit glibc.
  > stdioext: Add support for Minix.
  > errno: Port to Minix.
  > Work around declaration collisions on Minix.
  > Add support for Minix with ACK compiler.
  > Documentation about Minix.
  > snippet/warn-on-use: Fix indentation.
  > tests: test-update-copyright.sh: remove unnecessary "rm" commands
  > maint.mk: avoid sc_prohibit_always-defined_macros failure in coreutils
  > warnings: add comments about previous patch
  > include-next, warnings: support older autoconf
  > fseek, ftell: Fix doc.
  > Add dependencies to the 'largefile' module.
  > fcntl: Move AC_LIBOBJ invocation to module description.
  > fcntl: Remove call-in from fchdir.m4.
  > dup3: Remove potential call-in from fchdir.m4.
  > dup2: Move AC_LIBOBJ invocation to module description.
  > dup2: Remove call-in from fchdir.m4.
  > fclose: Move AC_LIBOBJ invocation to module description.
  > fclose: Remove call-in from close.m4.
  > close: Move AC_LIBOBJ invocation to module description.
  > close: Remove call-in from fchdir.m4.
  > open: Move AC_LIBOBJ invocation to module description.
  > open: Remove call-in from fchdir.m4.
  > fchdir: Start to remove gl_REPLACE_* idiom.
  > * lib/ftell.c (ftell): Comment out cast.
  > close: use gl_REPLACE_FCLOSE only if defined
  > test-select.h: avoid warning from gcc's -Wmissing-declarations
  > doc: Mention the effects of AC_SYS_LARGEFILE.
  > doc: Fix typo.
  > doc: Mention fsusage.
  > Reorder ChangeLog entries to match the order in which the changes went in at the central repository.
  > doc: Mention new glibc headers and functions.
  > ftell: don't include <unistd.h>
  > ftell: do not assume wraparound signed arithmetic
  > Attribution for last commit.
  > close: No longer depend on module 'fclose'.
  > fsusage: Enable large volume support on AIX >= 5.2.
  > fsusage: Restore previous behaviour on AIX, Cygwin, Interix.
  > fsusage: Support large volumes on glibc/Hurd, HP-UX, Solaris, MacOS X.
  > * README: Modernize discussion of signed integers.
  > select tests, pselect tests: Refactor.
  > sys_select tests: Check the signature of FD_*.
  > largefile: new module, replacing large-inode
  > fsusage: port to MacOS X 10.7 with 4 TiB file systems
  > large-inode: New module
  > extensions: Enable extensions on MacOS X 10.5 and later.
  > file-has-acl: use acl_extended_file_nofollow if available
  > Declare system functions in a way that works with C++.
  > maint.mk: prohibit inclusion of "verify.h" without use
  > timer-time: A new module to check for timer_settime()
  > pthread_sigmask: assume POSIX threads if --avoid=threadlib
  > strstr: Update cross-compilation guess.
  > getopt-gnu: suppress core dumps from detection code
  > pthread_sigmask: ensure usleep is declared
  > doc: Document NonStop portability issues.
  > ffsl, ffsll: Avoid unportable behaviour.
  > ffs: More tests.
  > ffsl, ffsll: new modules
  > ffs: fix m4 prerequisite
  > ffs: avoid undefined behavior
  > pthread_sigmask: Rely on module 'threadlib'.
  > regex: Depend on module 'strcase'.
  > warn-on-use: fix typo in file name
  > strings: Document module.
  > Rename module '_Noreturn' to 'snippet/_Noreturn'.
  > Mention the changes.
  > Rename module 'warn-on-use' to 'snippet/warn-on-use'.
  > Rename module 'unused-parameter' to 'snippet/unused-parameter'.
  > Rename module 'link-warning' to 'snippet/link-warning'.
  > Rename module 'c++defs' to 'snippet/c++defs'.
  > Rename module 'arg-nonnull' to 'snippet/arg-nonnull'.
  > Improve ChangeLog to summarize _Noreturn better.
  > modules/_Exit-tests: test _Noreturn too
  > stdnoreturn, stdnoreturn-tests: remove modules
  > _Noreturn: Ignore __STDC_VERSION__; observe _MSC_VER.
  > _Noreturn-tests: remove module
  > * top/maint.mk: Adjust to new noreturn support.
  > xalloc: use stdnoreturn.h
  > xstrtol: use stdnoreturn.h
  > xmemdup0: use stdnoreturn.h
  > sigpipe-die: use stdnoreturn.h
  > openat: use stdnoreturn.h
  > * lib/openat-die.c (openat_save_fail): Modernize comment.
  > * lib/xalloc-die.c (xalloc_die): Modernize comment.
  > * lib/glthread/thread.h: Modernize comment.
  > obstack: use _Noreturn
  > c-stack: use _Noreturn
  > exclude_tests: use _Noreturn
  > argmatch-tests: use _Noreturn
  > stdlib: use _Noreturn
  > stdnoreturn-tests: new module
  > stdnoreturn: new module
  > _Noreturn-tests: new module
  > _Noreturn: new module
  > * m4/gnulib-common.m4 (gl_COMMON_BODY): Add _Noreturn.
  > ffs: new module
  > * ChangeLog: Fix typo.
  > regex: avoid compiler warning
  > stdint: respect system's intmax_t if INTMAX_MAX
  > pthread_sigmask tests: Avoid a compiler warning.
  > sigprocmask tests: A better way to avoid a compiler warning.
  > pthread_sigmask: Work around IRIX bug.
  > pthread_sigmask: Work around Cygwin bug.
  > pthread_sigmask: Work around bug in single-threaded implementation.
  > test-sigprocmask: avoid compiler warning
  > test-snprintf: avoid compiler warning
  > Tests for module 'pthread_sigmask'.
  > test-getopt.h: avoid warning about an unused variable
  > maint: reduce list of files exempt from sc_prohibit_leading_TABs
  > pthread_sigmask: Assume POSIX when not gl_THREADLIB.
  > pthread_sigmask: fix typo when testing for libraries
  > fts: introduce FTS_NOATIME
  > Tests for module 'thread'.
  > thread: Avoid gcc warnings when using gl_thread_self().
  > signal-c++-tests: Check declaration of pthread_sigmask.
  > pthread_sigmask: Fix link requirements on OSF/1 5.1 and with pth.
  > pthread_sigmask: Ensure declaration in <signal.h> also on Solaris 2.6.
  > pthread_sigmask: Ensure declaration in <signal.h>.
  > pthread_sigmask: Document the module.
  > pthread_sigmask: Follow gnulib conventions.
  > pthread_sigmask: Make declaration C++ safe.
  > pthread_sigmask: Fix return value.
  > getopt: more portable argv creation
  > Tests for module 'sigprocmask'.
  > float tests: Tweak.
  > getopt: avoid compiler warning during configure
  > getopt-gnu: avoid crash in glibc getopt
  > getopt: handle W; without long options in getopt
  > Avoid literal tabs.
  > Comments.
  > sys_select: Fix compilation error on mingw, introduced on 2011-06-30.
  > * modules/pthread_sigmask (configure.ac): gl_SIGNAL_MODULE_INDICATOR
  > poll: do not return 0 on timeout=-1
  > pthread_sigmask: always replace when not using pthread
  > Comments.
  > sys_select: define sigset_t more portably
  > * m4/sys_select_h.m4 (gl_HEADER_SYS_SELECT): Poison pselect.
  > pselect: Use pthread_sigmask, not sigprocmask.
  > modules/pselect: Add Bruno and Jim to maintainers.
  > * modules/pselect: Add select, LIBSOCKET.
  > * lib/pselect.c (pselect): Use plain name, without "rpl_".
  > pselect: document better
  > pthread_sigmask: new module
  > test-pselect: new module
  > * tests/test-sys_select.c (sigset_t): Test for it, too.
  > snprintf: guarantee %1$d, for libintl
  > maint: exempt stdio-read.c and stdio-write.c from the cppi check
  > maint: indent with spaces, not TABs, and add a rule to check this
  > maint.mk: correct omissions in prohibit_argmatch_without_use check
  > Comments about EINTR.
  > autoupdate
  > xnanosleep: Rewrite to use new dtotimespec module.
  > timespec-add, timespec-sub: new modules
  > dtotimespec: new module
  > * lib/timespec.h (timespectod): New inline function.
  > * lib/timespec.h (timespec_sign): New inline function.
  > pselect: new module
  > sys_select: don't depend on sys_socket
  > pipe2: fix C89 compile problem
  > pipe, pipe2: don't corrupt fd on error
  > mmap-anon: do not use regular expressions inadvertently
  > nanosleep: fix integer overflow problem
  > nanosleep: simplify carrying
  > dup2: remove test for existence of fcntl
  > maint.mk: enhance useless header checks
  > syntax-check: keep one maint.mk rule in sync with its header
  > maint.mk: update sc_prohibit_intprops_without_use
  > strerror-override: No-op tweak.
  > autoupdate
  > maint.mk: test further PATH_MAX issues
  > maint.mk: add syntax-check to avoid char[PATH_MAX]
  > stat: be robust to PATH_MAX definition
  > link: work around IRIX bug
  > getopt: silence clang warning
  > bootstrap: do not insert a blank line into each .gitignore file
  > perror: test for output mismatch
  > strerror_r: fix OpenBSD behavior on out-of-range
  > strerror_r: fix OpenBSD behavior on 0
  > perror: adjust array size
  > strerror-override: reduce size
  > pathmax: Ensure correct value for PATH_MAX on HP-UX.
  > alloca: port to compilers that can optimize like GCC 4.6.0
  > c-stack: stop worrying about stack direction
  > test-stat: don't allocate PATH_MAX bytes
  > float: Work around <float.h> bugs on FreeBSD/x86, AIX with GCC, IRIX.
  > Tests for module 'float'.
  > isinf: Coding style.
  > linkat test: Avoid test failure on AIX 7.1.
  > pread test: Avoid test failure on OpenBSD 4.9.
  > sprintf-posix: Fix test failure on AIX 7.1.
  > roundl-ieee: Fix test failure on AIX 7.1.
  > round-ieee: Fix test failures on AIX 7.1 and OSF/1 5.1.
  > roundf-ieee: Fix test failures on AIX 7.1 and OSF/1 5.1.
  > ceilf-ieee: Work around bug on MacOS X 10.5.
  > floor*-ieee, ceil*-ieee, trunc*-ieee, round*-ieee: More robust checks.
  > ceilf-ieee: Work around bug on AIX 7.1.
  > ceil-ieee: Work around bug on AIX 7.1.
  > fsync test: Avoid test failure on MacOS X and AIX.
  > openat, fdopendir tests: Fix link errors.
  > Doc update.
  > getcwd tests: Avoid compilation error on HP-UX 11.31.
  > isfinite, isinf: Fix link error on AIX 6 and 7.
  > getloadavg: Don't clobber LIBS. Regression from previous commit.
  > clean-temp: Improve documentation.
  > pread, pwrite: Avoid cc warning on AIX.
  > spawn-pipe tests: Fix link error.
  > Tests: Remove unnecessary dependency.
  > spawn-pipe tests: Fix link error.
  > Fix tests link errors.
  > crypto/gc-sha1: Fix recent regression.
  > crypto/gc-md5: Fix recent regression.
  > crypto/gc-md4: Fix recent regression.
  > crypto/gc-arctwo: Fix recent regression.
  > crypto/gc-rijndael: Fix recent regression.
  > crypto/gc-hmac-sha1: Fix recent regression.
  > crypto/gc-hmac-md5: Fix recent regression.
  > crypto/gc-des: Fix recent regression.
  > crypto/gc-arcfour: Fix recent regression.
  > * m4/lstat.m4 (gl_FUNC_LSTAT): Fix typo in prerequisite.
  > fprintftime: Move AC_LIBOBJ invocations to module description.
  > tmpfile-safer: Finish 2011-05-23 commit.
  > syntax-check: Fix typo.
  > syntax-check: add a rule to help enforce the no-AC_LIBOBJ-in-m4/ policy
  > yesno: Move AC_LIBOBJ invocations to module description.
  > xstrtol: Move AC_LIBOBJ invocations to module description.
  > xstrtold: Move AC_LIBOBJ invocations to module description.
  > xstrtod: Move AC_LIBOBJ invocations to module description.
  > xnanosleep: Move AC_LIBOBJ invocations to module description.
  > xgetcwd: Move AC_LIBOBJ invocations to module description.
  > xalloc: Move AC_LIBOBJ invocations to module description.
  > write-any-file: Move AC_LIBOBJ invocations to module description.
  > utimens: Move AC_LIBOBJ invocations to module description.
  > utimecmp: Move AC_LIBOBJ invocations to module description.
  > userspec: Move AC_LIBOBJ invocations to module description.
  > unlinkdir: Move AC_LIBOBJ invocations to module description.
  > unistd-safer: Move AC_LIBOBJ invocations to module description.
  > tempname: Move AC_LIBOBJ invocations to module description.
  > strftime: Move AC_LIBOBJ invocations to module description.
  > stdlib-safer: Move AC_LIBOBJ invocations to module description.
  > tmpfile-safer: Move AC_LIBOBJ invocations to module description.
  > popen-safer: Move AC_LIBOBJ invocations to module description.
  > freopen-safer: Move AC_LIBOBJ invocations to module description.
  > fopen-safer: Move AC_LIBOBJ invocations to module description.
  > crypto/sha512: Move AC_LIBOBJ invocations to module description.
  > crypto/sha256: Move AC_LIBOBJ invocations to module description.
  > crypto/sha1: Move AC_LIBOBJ invocations to module description.
  > settime: Move AC_LIBOBJ invocations to module description.
  > savedir: Move AC_LIBOBJ invocations to module description.
  > save-cwd: Move AC_LIBOBJ invocations to module description.
  > same: Move AC_LIBOBJ invocations to module description.
  > safe-write: Move AC_LIBOBJ invocations to module description.
  > safe-read: Move AC_LIBOBJ invocations to module description.
  > safe-alloc: Move AC_LIBOBJ invocations to module description.
  > crypto/rijndael: Move AC_LIBOBJ invocations to module description.
  > readtokens: Move AC_LIBOBJ invocations to module description.
  > read-file: Move AC_LIBOBJ invocations to module description.
  > quotearg: Move AC_LIBOBJ invocations to module description.
  > quote: Move AC_LIBOBJ invocations to module description.
  > posixver: Move AC_LIBOBJ invocations to module description.
  > posixtm: Move AC_LIBOBJ invocations to module description.
  > physmem: Move AC_LIBOBJ invocations to module description.
  > pagealign_alloc: Move AC_LIBOBJ invocations to module description.
  > mpsort: Move AC_LIBOBJ invocations to module description.
  > modechange: Move AC_LIBOBJ invocations to module description.
  > mkdir-p: Move AC_LIBOBJ invocations to module description.
  > mkancesdirs: Move AC_LIBOBJ invocations to module description.
  > mgetgroups: Move AC_LIBOBJ invocations to module description.
  > memxor: Move AC_LIBOBJ invocations to module description.
  > memcoll: Move AC_LIBOBJ invocations to module description.
  > memcasecmp: Move AC_LIBOBJ invocations to module description.
  > crypto/md5: Move AC_LIBOBJ invocations to module description.
  > crypto/md4: Move AC_LIBOBJ invocations to module description.
  > crypto/md2: Move AC_LIBOBJ invocations to module description.
  > long-options: Move AC_LIBOBJ invocations to module description.
  > i-ring: Move AC_LIBOBJ invocations to module description.
  > idcache: Move AC_LIBOBJ invocations to module description.
  > human: Move AC_LIBOBJ invocations to module description.
  > crypto/hmac-sha1: Move AC_LIBOBJ invocations to module description.
  > crypto/hmac-md5: Move AC_LIBOBJ invocations to module description.
  > hash: Move AC_LIBOBJ invocations to module description.
  > hard-locale: Move AC_LIBOBJ invocations to module description.
  > getugroups: Move AC_LIBOBJ invocations to module description.
  > gettime: Move AC_LIBOBJ invocations to module description.
  > getndelim2: Move AC_LIBOBJ invocations to module description.
  > crypto/gc-pbkdf2-sha1: Move AC_LIBOBJ invocations to module description.
  > fts: Move AC_LIBOBJ invocations to module description.
  > file-type: Move AC_LIBOBJ invocations to module description.
  > filenamecat*: Respect rules for use of AC_LIBOBJ.
  > filemode: Move AC_LIBOBJ invocations to module description.
  > openat-safer: Move AC_LIBOBJ invocations to module description.
  > fcntl-safer: Move AC_LIBOBJ invocations to module description.
  > exclude: Move AC_LIBOBJ invocations to module description.
  > dirname*: Respect rules for use of AC_LIBOBJ.
  > dirent-safer: Move AC_LIBOBJ invocations to module description.
  > crypto/des: Move AC_LIBOBJ invocations to module description.
  > cycle-check: Move AC_LIBOBJ invocations to module description.
  > c-strtold: Move AC_LIBOBJ invocations to module description.
  > c-strtod: Move AC_LIBOBJ invocations to module description.
  > crc: Move AC_LIBOBJ invocations to module description.
  > close-stream: Move AC_LIBOBJ invocations to module description.
  > closeout: Move AC_LIBOBJ invocations to module description.
  > closein: Move AC_LIBOBJ invocations to module description.
  > cloexec: Move AC_LIBOBJ invocations to module description.
  > check-version: Move AC_LIBOBJ invocations to module description.
  > chdir-safer: Move AC_LIBOBJ invocations to module description.
  > canonicalize: Move AC_LIBOBJ invocations to module description.
  > canon-host: Move AC_LIBOBJ invocations to module description.
  > backupfile: Move AC_LIBOBJ invocations to module description.
  > argmatch: Move AC_LIBOBJ invocations to module description.
  > crypto/arctwo: Move AC_LIBOBJ invocations to module description.
  > crypto/arcfour: Move AC_LIBOBJ invocations to module description.
  > write: Move AC_LIBOBJ invocations to module description.
  > wmemset: Move AC_LIBOBJ invocations to module description.
  > wmemmove: Move AC_LIBOBJ invocations to module description.
  > wmemcpy: Move AC_LIBOBJ invocations to module description.
  > wmemcmp: Move AC_LIBOBJ invocations to module description.
  > wmemchr: Move AC_LIBOBJ invocations to module description.
  > wcswidth: Move AC_LIBOBJ invocations to module description.
  > wcwidth: Respect rules for use of AC_LIBOBJ.
  > wctype: Move AC_LIBOBJ invocations to module description.
  > wctrans: Move AC_LIBOBJ invocations to module description.
  > wctomb: Move AC_LIBOBJ invocations to module description.
  > wctob: Move AC_LIBOBJ invocations to module description.
  > wcsxfrm: Move AC_LIBOBJ invocations to module description.
  > wcstok: Move AC_LIBOBJ invocations to module description.
  > wcsstr: Move AC_LIBOBJ invocations to module description.
  > wcsspn: Move AC_LIBOBJ invocations to module description.
  > wcsrtombs: Move AC_LIBOBJ invocations to module description.
  > wcsrchr: Move AC_LIBOBJ invocations to module description.
  > wcspbrk: Move AC_LIBOBJ invocations to module description.
  > wcsnrtombs: Move AC_LIBOBJ invocations to module description.
  > wcsnlen: Move AC_LIBOBJ invocations to module description.
  > wcsncpy: Move AC_LIBOBJ invocations to module description.
  > wcsncmp: Move AC_LIBOBJ invocations to module description.
  > wcsncat: Move AC_LIBOBJ invocations to module description.
  > wcsncasecmp: Move AC_LIBOBJ invocations to module description.
  > wcslen: Move AC_LIBOBJ invocations to module description.
  > wcsdup: Move AC_LIBOBJ invocations to module description.
  > wcscspn: Move AC_LIBOBJ invocations to module description.
  > wcscpy: Move AC_LIBOBJ invocations to module description.
  > wcscoll: Move AC_LIBOBJ invocations to module description.
  > wcscmp: Move AC_LIBOBJ invocations to module description.
  > wcschr: Move AC_LIBOBJ invocations to module description.
  > wcscat: Move AC_LIBOBJ invocations to module description.
  > wcscasecmp: Move AC_LIBOBJ invocations to module description.
  > wcrtomb: Move AC_LIBOBJ invocations to module description.
  > wcpncpy: Move AC_LIBOBJ invocations to module description.
  > wcpcpy: Move AC_LIBOBJ invocations to module description.
  > waitpid: Move AC_LIBOBJ invocations to module description.
  > utimensat: Move AC_LIBOBJ invocations to module description.
  > usleep: Move AC_LIBOBJ invocations to module description.
  > unlockpt: Move AC_LIBOBJ invocations to module description.
  > unlink: Respect rules for use of AC_LIBOBJ.
  > uname: Move AC_LIBOBJ invocations to module description.
  > ttyname_r: Move AC_LIBOBJ invocations to module description.
  > tsearch: Move AC_LIBOBJ invocations to module description.
  > towctrans: Move AC_LIBOBJ invocations to module description.
  > tmpfile: Move AC_LIBOBJ invocations to module description.
  > times: Move AC_LIBOBJ invocations to module description.
  > time_r: Move AC_LIBOBJ invocations to module description.
  > timegm: Move AC_LIBOBJ invocations to module description.
  > tcgetsid: Move AC_LIBOBJ invocations to module description.
  > symlinkat: Move AC_LIBOBJ invocations to module description.
  > symlink: Move AC_LIBOBJ invocations to module description.
  > strverscmp: Move AC_LIBOBJ invocations to module description.
  > strtok_r: Move AC_LIBOBJ invocations to module description.
  > strtoumax: Move AC_LIBOBJ invocations to module description.
  > strtoimax: Move AC_LIBOBJ invocations to module description.
  > strtoull: Move AC_LIBOBJ invocations to module description.
  > strtoll: Move AC_LIBOBJ invocations to module description.
  > strtoul: Move AC_LIBOBJ invocations to module description.
  > strtol: Move AC_LIBOBJ invocations to module description.
  > strtod: Move AC_LIBOBJ invocations to module description.
  > strstr*: Move AC_LIBOBJ invocations to module description.
  > strsignal: Move AC_LIBOBJ invocations to module description.
  > strsep: Move AC_LIBOBJ invocations to module description.
  > strptime: Move AC_LIBOBJ invocations to module description.
  > strpbrk: Move AC_LIBOBJ invocations to module description.
  > strnlen: Move AC_LIBOBJ invocations to module description.
  > strndup: Move AC_LIBOBJ invocations to module description.
  > strncat: Move AC_LIBOBJ invocations to module description.
  > strdup, strdup-posix: Move AC_LIBOBJ invocations to module description.
  > strcspn: Move AC_LIBOBJ invocations to module description.
  > strchrnul: Move AC_LIBOBJ invocations to module description.
  > strcasestr*: Move AC_LIBOBJ invocations to module description.
  > strcase: Move AC_LIBOBJ invocations to module description.
  > stpncpy: Move AC_LIBOBJ invocations to module description.
  > stpcpy: Move AC_LIBOBJ invocations to module description.
  > stat: Move AC_LIBOBJ invocations to module description.
  > sleep: Move AC_LIBOBJ invocations to module description.
  > signbit: Move AC_LIBOBJ invocations to module description.
  > sigprocmask: Move AC_LIBOBJ invocations to module description.
  > sigaction: Move AC_LIBOBJ invocations to module description.
  > sig2str: Move AC_LIBOBJ invocations to module description.
  > setlocale: Move AC_LIBOBJ invocations to module description.
  > unsetenv: Move AC_LIBOBJ invocations to module description.
  > setenv: Move AC_LIBOBJ invocations to module description.
  > selinux-h: Move AC_LIBOBJ invocations to module description.
  > select: Respect rules for use of AC_LIBOBJ.
  > scandir: Move AC_LIBOBJ invocations to module description.
  > rpmatch: Move AC_LIBOBJ invocations to module description.
  > rmdir: Respect rules for use of AC_LIBOBJ.
  > renameat: Move AC_LIBOBJ invocations to module description.
  > rename: Respect rules for use of AC_LIBOBJ.
  > remove: Move AC_LIBOBJ invocations to module description.
  > relocatable-lib: Move AC_LIBOBJ invocations to module description.
  > relocatable-prog: Move AC_LIBOBJ invocations to module description.
  > regex: Move AC_LIBOBJ invocations to module description.
  > realloc-*: Move AC_LIBOBJ invocations to module description.
  > readutmp: Move AC_LIBOBJ invocations to module description.
  > readlinkat: Move AC_LIBOBJ invocations to module description.
  > readlink: Move AC_LIBOBJ invocations to module description.
  > readline: Move AC_LIBOBJ invocations to module description.
  > read: Move AC_LIBOBJ invocations to module description.
  > rawmemchr: Move AC_LIBOBJ invocations to module description.
  > random_r: Move AC_LIBOBJ invocations to module description.
  > pwrite: Move AC_LIBOBJ invocations to module description.
  > putenv: Move AC_LIBOBJ invocations to module description.
  > login_tty: Move AC_LIBOBJ invocations to module description.
  > openpty: Move AC_LIBOBJ invocations to module description.
  > forkpty: Move AC_LIBOBJ invocations to module description.
  > ptsname: Move AC_LIBOBJ invocations to module description.
  > pread: Move AC_LIBOBJ invocations to module description.
  > posix_spawn*: Move AC_LIBOBJ invocations to module description.
  > popen: Move AC_LIBOBJ invocations to module description.
  > poll: Move AC_LIBOBJ invocations to module description.
  > pipe-posix: Move AC_LIBOBJ invocations to module description.
  > openat: Respect rules for use of AC_LIBOBJ.
  > obstack-printf*: Move AC_LIBOBJ invocations to module description.
  > nl_langinfo: Move AC_LIBOBJ invocations to module description.
  > nanosleep: Move AC_LIBOBJ invocations to module description.
  > mountlist: Move AC_LIBOBJ invocations to module description.
  > mktime: Respect rules for use of AC_LIBOBJ.
  > mkstemps: Move AC_LIBOBJ invocations to module description.
  > mkstemp: Move AC_LIBOBJ invocations to module description.
  > mkostemps: Move AC_LIBOBJ invocations to module description.
  > mkostemp: Move AC_LIBOBJ invocations to module description.
  > mknod: Move AC_LIBOBJ invocations to module description.
  > mkfifoat: Move AC_LIBOBJ invocations to module description.
  > mkfifo: Respect rules for use of AC_LIBOBJ.
  > mkdtemp: Move AC_LIBOBJ invocations to module description.
  > mkdir: Move AC_LIBOBJ invocations to module description.
  > memset: Move AC_LIBOBJ invocations to module description.
  > memrchr: Move AC_LIBOBJ invocations to module description.
  > mempcpy: Move AC_LIBOBJ invocations to module description.
  > memmove: Move AC_LIBOBJ invocations to module description.
  > memmem*: Move AC_LIBOBJ invocations to module description.
  > memcpy: Move AC_LIBOBJ invocations to module description.
  > memcmp: Simplify autoconf macro.
  > memcmp: Move AC_LIBOBJ invocations to module description.
  > memchr: Respect rules for use of AC_LIBOBJ.
  > mbtowc: Move AC_LIBOBJ invocations to module description.
  > mbsrtowcs: Move AC_LIBOBJ invocations to module description.
  > mbsnrtowcs: Move AC_LIBOBJ invocations to module description.
  > mbsinit: Move AC_LIBOBJ invocations to module description.
  > mbrlen: Move AC_LIBOBJ invocations to module description.
  > mbrtowc: Respect rules for use of AC_LIBOBJ.
  > malloc-*: Move AC_LIBOBJ invocations to module description.
  > lstat, openat: Respect rules for use of AC_LIBOBJ.
  > lseek: Move AC_LIBOBJ invocations to module description.
  > linkat: Move AC_LIBOBJ invocations to module description.
  > link: Respect rules for use of AC_LIBOBJ.
  > lchown: Move AC_LIBOBJ invocations to module description.
  > iswctype: Move AC_LIBOBJ invocations to module description.
  > iswblank: Move AC_LIBOBJ invocations to module description.
  > atanl: Move AC_LIBOBJ invocations to module description.
  > acosl: Move AC_LIBOBJ invocations to module description.
  > asinl: Respect rules for use of AC_LIBOBJ.
  > tanl: Move AC_LIBOBJ invocations to module description.
  > cosl: Move AC_LIBOBJ invocations to module description.
  > sinl: Move AC_LIBOBJ invocations to module description.
  > logl: Move AC_LIBOBJ invocations to module description.
  > expl: Move AC_LIBOBJ invocations to module description.
  > roundl: Move AC_LIBOBJ invocations to module description.
  > round: Move AC_LIBOBJ invocations to module description.
  > roundf: Move AC_LIBOBJ invocations to module description.
  > truncl: Move AC_LIBOBJ invocations to module description.
  > trunc: Move AC_LIBOBJ invocations to module description.
  > truncf: Move AC_LIBOBJ invocations to module description.
  > ceill: Move AC_LIBOBJ invocations to module description.
  > ceil: Move AC_LIBOBJ invocations to module description.
  > ceilf: Move AC_LIBOBJ invocations to module description.
  > floorl: Respect rules for use of AC_LIBOBJ.
  > floor: Respect rules for use of AC_LIBOBJ.
  > floorf: Move AC_LIBOBJ invocations to module description.
  > sqrtl: Respect rules for use of AC_LIBOBJ.
  > ldexpl: Respect rules for use of AC_LIBOBJ.
  > frexpl*: Respect rules for use of AC_LIBOBJ.
  > frexp, frexp-nolibm: Move AC_LIBOBJ invocations to module description.
  > isnan: Respect rules for use of AC_LIBOBJ.
  > isnanl*: Respect rules for use of AC_LIBOBJ.
  > isnand*: Move AC_LIBOBJ invocations to module description.
  > isnanf*: Move AC_LIBOBJ invocations to module description.
  > isnan*: Separate the AC_LIBOBJ invocations.
  > isinf: Move AC_LIBOBJ invocations to module description.
  > isfinite: Move AC_LIBOBJ invocations to module description.
  > isblank: Move AC_LIBOBJ invocations to module description.
  > isapipe: Move AC_LIBOBJ invocations to module description.
  > ioctl: Move AC_LIBOBJ invocations to module description.
  > imaxdiv: Move AC_LIBOBJ invocations to module description.
  > imaxabs: Move AC_LIBOBJ invocations to module description.
  > getaddrinfo: Move AC_LIBOBJ invocations to module description.
  > inet_pton. getaddrinfo: Respect rules for use of AC_LIBOBJ.
  > inet_ntop. getaddrinfo: Respect rules for use of AC_LIBOBJ.
  > iconv_open: Move AC_LIBOBJ invocations to module description.
  > iconv_open, iconv_open-utf: Respect rules for use of AC_LIBOBJ.
  > group-member: Move AC_LIBOBJ invocations to module description.
  > grantpt: Move AC_LIBOBJ invocations to module description.
  > glob: Move AC_LIBOBJ invocations to module description.
  > getusershell: Move AC_LIBOBJ invocations to module description.
  > gettimeofday: Move AC_LIBOBJ invocations to module description.
  > gettimeofday, tzset: Respect rules for use of AC_LIBOBJ.
  > getsubopt: Move AC_LIBOBJ invocations to module description.
  > getpass-gnu: Move AC_LIBOBJ invocations to module description.
  > getpass: Move AC_LIBOBJ invocations to module description.
  > getpagesize: Move AC_LIBOBJ invocations to module description.
  > getopt: Move AC_LIBOBJ invocations to module description.
  > getopt, argp: Respect rules for use of AC_LIBOBJ.
  > getlogin_r: Move AC_LIBOBJ invocations to module description.
  > getlogin: Move AC_LIBOBJ invocations to module description.
  > getloadavg: Move AC_LIBOBJ invocations to module description.
  > gethrxtime: Move AC_LIBOBJ invocations to module description.
  > gethostname: Move AC_LIBOBJ invocations to module description.
  > getgroups: Move AC_LIBOBJ invocations to module description.
  > getdtablesize: Move AC_LIBOBJ invocations to module description.
  > getdomainname: Move AC_LIBOBJ invocations to module description.
  > getline: Move AC_LIBOBJ invocations to module description.
  > getline: Simplify.
  > getdelim: Move AC_LIBOBJ invocations to module description.
  > getcwd: Move AC_LIBOBJ invocations to module description.
  > getcwd-lgpl: Move AC_LIBOBJ invocations to module description.
  > crypto/gc: Move AC_LIBOBJ invocations to module description.
  > fwriting: Move AC_LIBOBJ invocations to module description.
  > fwritable: Move AC_LIBOBJ invocations to module description.
  > futimens: Move AC_LIBOBJ invocations to module description.
  > ftruncate: Move AC_LIBOBJ invocations to module description.
  > fsync: Move AC_LIBOBJ invocations to module description.
  > fsusage: Move AC_LIBOBJ invocations to module description.
  > freopen: Move AC_LIBOBJ invocations to module description.
  > free: Move AC_LIBOBJ invocations to module description.
  > freadable: Move AC_LIBOBJ invocations to module description.
  > fpurge: Move AC_LIBOBJ invocations to module description.
  > fpending: Move AC_LIBOBJ invocations to module description.
  > fopen: Move AC_LIBOBJ invocations to module description.
  > fnmatch, fnmatch-gnu: Move AC_LIBOBJ invocations to module description.
  > flock: Move AC_LIBOBJ invocations to module description.
  > fileblocks: Move AC_LIBOBJ invocations to module description.
  > fflush: Move AC_LIBOBJ invocations to module description.
  > fdopendir: Move AC_LIBOBJ invocations to module description.
  > _Exit: Move AC_LIBOBJ invocations to module description.
  > euidaccess: Respect rules for use of AC_LIBOBJ.
  > error: Move AC_LIBOBJ invocations to module description.
  > duplocale: Move AC_LIBOBJ invocations to module description.
  > dirfd: Move AC_LIBOBJ invocations to module description.
  > chown: Respect rules for use of AC_LIBOBJ.
  > chdir-long: Move AC_LIBOBJ invocations to module description.
  > canonicalize-lgpl: Move AC_LIBOBJ invocations to module description.
  > calloc-posix, calloc-gnu: Move AC_LIBOBJs to module description.
  > btowc: Move AC_LIBOBJ invocations to module description.
  > atexit: Move AC_LIBOBJ invocations to module description.
  > atoll: Move AC_LIBOBJ invocations to module description.
  > argz: Move AC_LIBOBJ invocations to module description.
  > alphasort: Move AC_LIBOBJ invocations to module description.
  > verify: new macro verify_expr; verify_true deprecated
  > init.sh: give more portable redirection-related advice in a comment
  > Fix ChangeLog typo in my previous commit.
  > locale-zh: Reject zh_CN.GB18030 locale on Solaris 8.
  > ftoastr: use strtof only if HAVE_STRTOF
  > gnulib-tool: Addendum to 2011-06-08 commit.
  > fseeko: Provide a non-inline replacement of fseek().
  > ftello: Provide a non-inline replacement of ftell().
  > ftell: Move AC_LIBOBJ invocations to module description.
  > ftello: Respect rules for use of AC_LIBOBJ.
  > fseeko: Simplify.
  > fseek: Move AC_LIBOBJ invocations to module description.
  > fseek: Respect rules for use of AC_LIBOBJ.
  > fseeko: Respect rules for use of AC_LIBOBJ.
  > gnulib-tool: Allow comments in the 'Depends-on' section.
  > Correct last ChangeLog entry.
  > file-set.h: guard __attibute__ use, now that it's not always defined
  > acl: Add support for HP-UX >= 11.11 JFS ACLs.
  > acl: Complete the 2010-08-10 fix.
  > spawn-pipe tests: Comments.
  > New module 'stat-size'.
  > thread: Support pthreads-win32.
  > thread: Fix confusion between NULL and 0.
  > spawn-pipe tests: Avoid test failure on HP-UX 11.
  > acl tests: Fix compilation error on HP-UX 11.
  > rmdir: Avoid test failure on HP-UX 10.20.
  > perror: fix test on mingw
  > strerror_r-posix: fix on MacOS
  > gnulib-tool: Better isolation between different gnulib-tool invocations.
  > strerror: simplify replacement
  > strerror_r-posix: Tweaks.
  > perror: document fixed bugs
  > stat-time: get_stat_birthtime failure is better-defined
  > strerror_r-posix: work around cygwin 1.7.9
  > test-perror: relax test to ignore cygwin bug
  > strerror: Move AC_LIBOBJ invocations to module description.
  > perror: Use common idiom.
  > autoupdate
  > tests: fix usage message in 'mktempd_'
  > tests init: new function 'fatal_', for hard errors
  > doc/lgpl-2.1.texi
  > canonicalize-lgpl: use common idiom
  > canonicalize-lgpl: work around AIX realpath bug
  > strerror: work around FreeBSD bug
  > strerror-override: avoid bloating errno module
  > Typo in recent ChangeLog entry.
  > spawn-pipe tests: Rename program.
  > spawn-pipe tests: Like the child program only against libc.
  > careadlinkat: Avoid mismatch between ssize_t and int.
  > gnulib-common.m4: add _GL_ATTRIBUTE_CONST and _GL_ATTRIBUTE_PURE
  > ansi-c++-opt: Interoperability with libtool.
  > acl: Fix test failure on AIX 7.
  > pipe-filter-ii: Fix test failure on AIX and IRIX.
  > localename: Fix link dependencies.
  > error: Avoid gcc warning.
  > unsetenv: Avoid gcc warning.
  > setenv: Avoid gcc warning.
  > sys_select: Ensure memset is declared also on AIX 7.
  > maint.mk: sc_unmarked_diagnostics: don't hard-code "error"
  > getopt: Avoid gcc warning.
  > strerror_r: Fix comments.
  > perror: Fix compilation error.
  > setlocale: Enable replacement on Cygwin 1.5.
  > strerror-override: Don't disable symbol renamings.
  > Copyright: Use LGPL 2.1 instead of LGPL 2.0.
  > doc: Fix a module name.
  > pipe2: Remove dependency on 'nonblocking' module.
  > maint.mk: add three prohibit-header-without-use rules
  > allocator: 'die' routine is now given requested size
  > strerror: drop strerror_r dependency
  > perror: call strerror_r directly
  > strerror_r: fix includes for FreeBSD
  > Fix link errors in tests: openat-die uses gettext-h.
  > build-aux/config.sub
  > Fix link errors in tests: wait-process uses gettext-h.
  > * modules/assert-h (assert.h): Substitute the symbol-prefix more consistently.
  > assert-h: work around 'verify' incompatibility
  > trim: remove three superfluous assignments
  > wctype-h: Avoid namespace pollution on Solaris 2.6.
  > parse-datetime.y: accommodate -Wstrict-overflow
  > trim: avoid a warning from -O2 -Wstrict-overflow
  > gnulib-tool: Fix bug in yesterday's commit.
  > Allow multiple gnulib generated include files to be combined.
  > assert-h: Allow multiple gnulib generated replacements to coexist.
  > argp: Allow coexistence with strerror_r-posix module.
  > Status of work-in-progress around libposix.
  > gnulib-tool: Alternative structure of testdirs, similar to --import.
  > getloadavg: Remove an unreliable safety check.
  > doc: Cleanup yet another file produced by texinfo.tex.
  > Finish the conditional dependencies mechanism.
  > doc: Use a recent texinfo.tex.
  > intprops.h: adjust another comment to match code change * lib/intprops.h (_GL_INT_SIGNED): Now, E may have side effects.
  > intprops.h: adjust comment to match code change
  > gen-uni-tables: Say "gen-uni-tables.c" consistently.
  > mbsrchr: Avoid collision with system function on Interix.
  > getopt: for ambiguous options, enumerate the possibilities.
  > getcwd: work around mingw bug
  > test-intprops: disable -Wtype-limits diagnostics
  > intprops: shorten, to pacify gcc -Woverlength-strings
  > docs: document recently fixed glibc printf bug
  > closein-tests: convert to init.sh
  > yesno-tests: convert to init.sh
  > atexit-tests: ensure reliable exit status
  > strerror_r-posix: Respect rules for use of AC_LIBOBJ.
  > strerror_r: fix missing header
  > strerror_r: fix AIX test failures
  > strerror_r: fix Solaris test failures
  > strerror_r: enforce POSIX recommendations
  > test-perror2.c: avoid warning about unused variable
  > perror: avoid spurious test failure on HP-UX
  > tests: fix logic bug in init.sh
  > utimensat: do not reference an out-of-scope buffer
  > opendir-safer.c: don't clobber errno; don't close negative FD
  > update from texinfo
  > Fix recent ChangeLog entry.
  > idcache: Fix module description.
  > gnulib-tool: fix portability problem with MacOS sed
  > hash: Simplify autoconf macro.
  > getugroups: Fix module description.
  > linkat: Simplify autoconf macro.
  > linkat, renameat: Update dependencies.
  > maint.mk: more tight_scope improvements
  > maint.mk: generalize/improve the tight-scope rule
  > verify: fix bug when gnulib <assert.h> is also included
  > * doc/intprops.texi: fix typo in copyright date
  > xgetcwd: Simplify autoconf macro.
  > New module 'mktime-internal'.
  > timegm: Correct mktime replacement statements.
  > timegm: Simplify autoconf macro.
  > clock-time: change to LGPLv2+.
  > strerror_r: Fix comments.
  > relocatable-prog-wrapper: Fix possible link error.
  > relocatable-prog-wrapper: Assume strerror() exists.
  > select: Simplify replacement idiom.
  > mkdir-p: Simplify autoconf macro.
  > Fix some mistakes in ChangeLog entries.
  > strerror_r: avoid clobbering strerror on cygwin
  > mkdtemp: Use gnulib naming conventions.
  > strerror_r: avoid corrupting errno on Solaris
  > strerror_r: avoid compiler warning
  > strerror_r: simplify AIX code.
  > test-perror: avoid spurious failure on FreeBSD
  > strerror_r-posix: Remove unused dependencies.
  > intprops: remove assumption about A|B representation
  > perror: work around FreeBSD bug
  > test-perror: check for strerror interactions
  > test-perror: rewrite to use init script
  > maint: replace misused "a" with "an"
  > maint: correct misuse of "a" and "an"
  > intprops-tests: work around HP-UX 11.23 cc bug with constants
  > intprops: work around IRIX 6.5 cc bug with 0u - 0u + -1
  > intprops-tests: revert unsigned part of previous change
  > strerror_r: Work around strerror_r() change in Cygwin 1.7.8.
  > strerror_r: guarantee unchanged errno
  > strerror_r: Reorder #if blocks.
  > perror: Avoid clobbering the strerror buffer when possible.
  > strerror_r: fix on newer cygwin
  > strerror_r: Avoid clobbering the strerror buffer when possible.
  > strerror_r: Fix test failure on mingw.
  > strerror: relax test for Solaris
  > strerror: enforce POSIX ruling on strerror(0)
  > intprop-tests: port to older and more-pedantic compilers
  > intprops: work around C compiler bugs
  > intprops: TYPE_IS_INTEGER, TYPE_SIGNED not integer constant exprs
  > strerror_r: Avoid clobbering the strerror buffer when possible.
  > fnmatch: avoid compiler warning
  > maint.mk: three new prohibit_<HDR>_without_use rules
  > announce-gen: fail if the NEWS delta is empty
  > maint.mk: exclude compiler symbols from sc_tight_scope
  > intprops: add doc
  > verify: add doc to gnulib manual and fix example
  > warnings.m4: don't usurp save_CPPFLAGS variable name
  > ChangeLog: s/^        /\t/
  > doc: fix typo
  > doc: Tweak recent change.
  > inttypes: avoid autoconf warning
  > Typo.
  > vc-list-files: accept multiple directory operands
  > Fix confusion regarding deprecated modules.
  > doc: List the target platforms.
  > * build-aux/bootstrap (gnulib_tool): Handle symlink timestamps better.
  > intprops-tests: new module
  > intprops: add safe, portable integer overflow checking
  > fnmatch: add a test for glibc's Bugzilla bug #12378
  > fnmatch: sync glibc change fixing Bugzilla bug #12378
  > update from texinfo
  > getcwd-lgpl: relax test for FreeBSD
  > test-fflush: silence compiler warning
  > canonicalize, canonicalize-lgpl: Avoid crash dialog on MacOS X.
  > group-member: Declare function in <unistd.h>.
  > group-member: Document module.
  > fclose: Fix mistake earlier today.
  > fclose: preserve fflush errors
  > bootstrap: support a prereq of 'rpcgen -' on RHEL5
  > maint.mk: drop redundant check
  > autoupdate
  > fclose: Fix possible link error.
  > maint.mk: adjust previous commit
  > maint.mk: improve "can not" detection and generalize rule name
  > fclose: avoid double close race when possible
  > openat: correct new comment
  > openat: add comments
  > openat: reduce syscalls in first probe of /proc
  > autoupdate
  > maint.mk: change semantics/name of tight_scope variables
  > maint.mk: fix oops
  > maint.mk: tweak new rule's name not to impinge
  > maint.mk: add a syntax-check rule to ensure tightly-scoped symbols
  > gc: Remove gl_PREREQ_GC (not used).
  > Comments.
  > glob: Remove obsolete macro.
  > intprops: Sun C 5.11 supports __typeof__
  > intprops: switch to usual gnulib indenting and naming
  > maint.mk: suppress "Entering/Leaving directory" diag in announcement
  > tzset: Fix gettimeofday wrapper on Solaris 2.6.
  > ignore-value, verify: Omit include files from lib_SOURCES.
  > fclose: Simplify autoconf macro.
  > canonicalize-lgpl: Fix autoconf macro ordering bug.
  > maintainer-makefile: make sc_po_check easier to tune
  > fclose: guarantee behavior on seekable stdin
  > fflush, fpurge: Relicense under LGPLv2+.
  > rm exit module
  > maint.mk: use info-gnu@ as the default only for a stable release
  > assert-h: new module, which supports C1X-style static_assert
  > fclose, fflush: Respect rules for use of AC_LIBOBJ.
  > fflush, fseeko: Respect rules for use of AC_LIBOBJ.
  > tzset: Relicense under LGPL.
  > strtoimax, strtoumax: Relicense under LGPL.
  > getgroups: Relicense under LGPL.
  > nanosleep: Relicense under LGPL.
  > futimens: Relicense under LGPL.
  > fflush: Relicense under LGPL.
  > tmpfile: Relicense under LGPL.
  > isfinite: Relicense under LGPL.
  > acosl..tanl: Relicense under LGPL.
  > signal: Define sighandler_t.
  > maint: remove useless REPLACE_*_H macros
  > do-release-commit-and-tag: add option to specify branch
  > Avoid unnecessary compilation units, through conditional dependencies.
  > Support for conditional dependencies.
  > test-getaddrinfo: report error information
  > bootstrap: avoid build failure when $GZIP is set
  > readme-release: new module with release instructions
  > fflush: also replace fclose when fixing fflush
  > fclose: add some tests
  > fclose: reduce dependencies
  > exit: drop remaining clients
  > freading: relax license from LGPLv3+ to LGPLv2+
  > fchdir: Remove unused dependencies.
  > gnulib-tool: Refactor.
  > exit: Remove module.
  > Update DEPENDENCIES.
  > gnulib-tool: Reduce code duplication.
  > Revert "netdb: Fix invalid C syntax." commit from 2011-04-30.
  > fclose: don't fail on non-seekable input stream
  > dup3: cleanup
  > netdb: Make it work in C++ mode.
  > New modules 'vfscanf', 'vscanf'.
  > passfd: Add comments.
  > sys_uio: Make <sys/uio.h> self-contained.
  > sys_socket: Ensure 'struct iovec' definition.
  > sys_uio: Protect definition of 'struct iovec'.
  > manywarnings: fix indentation
  > netdb: Fix invalid C syntax.
  > manywarnings: add -Wno-missing-field-initializers if needed
  > maint: indent ChangeLog with TAB consistently
  > announce-gen: cosmetic improvement
  > vc-list-files: indent with spaces, not TABs
  > announce-gen: indent with spaces, not TABs
  > quotearg: avoid uninitialized variable use
  > maint.mk: remove unused VC-tag variable
  > netdb: fix gai_strerror replacements
  > test-getcwd.c: avoid new set-but-not-used warning
  > test-hash.c: avoid a new shadowing warning
  > getaddrinfo: fix gai_strerror signature
  > getsockopt: avoid compiler warning
  > tests: drop unused link dependency
  > hash, mgetgroups: drop xalloc dependency
  > xalloc-oversized: new module
  > utimecmp: drop dependency on xmalloc
  > getcwd: fix mingw bugs
  > Typo in comment.
  > mkstemps: Ensure declaration on MacOS X 10.5.
  > mkstemp: More documentation.
  > mkstemp: Tweak configure message when cross-compiling.
  > clean-temp: Clarify what it does.
  > fchdir: avoid extra chdir and fix test
  > filenamecat-lgpl: fix licence
  > linkat, renameat: add missing dependency
  > tests: reduce dependencies
  > save-cwd: reduce default dependency
  > getcwd: enhance tests
  > getcwd-lgpl: new module
  > getcwd: tweak comments
  > mkstemp: replace if system version uses wrong permissions
  > passfd: avoid compiler warning
  > Change gnulib-tool to support NetBSD's join
  > mkstemp: mention clean-temp module
  > inttypes: also provide default values for 32-bit tests
  > strtoumax: remove dependency on strtoimax
  > inttypes-incomplete: new module
  > inttypes: omit now-redundant strtoimax and strtoumax work
  > strtoimax, strtoumax: simplify, port to HP-UX 11.00 64-bit
  > gnumakefile: Replace TAB with SPCs.
  > strtol, strtoul: Mark modules as obsolete.
  > strtod: Remove check for strtod, unless supporting old platforms.
  > strcase: Make module obsolete.
  > dup2: Remove check for dup2, unless supporting old obsolete platforms.
  > strnlen: Avoid memchr related link error on old obsolete platforms.
  > Revert "use _GL_ATTRIBUTE_CONST and _GL_ATTRIBUTE_PURE"
  > maint.mk: makefile_at_at_check extend and clean up
  > use _GL_ATTRIBUTE_CONST and _GL_ATTRIBUTE_PURE
  > strtoul: remove dependency on strtol
  > strtoull: remove dependency on strtoul
  > strtoll: remove dependency on strtol
  > inttypes: Move some configure check to module 'imaxdiv'.
  > inttypes: Move some configure check to module 'imaxabs'.
  > inttypes: Remove configure tests that are not needed since 2009-12-31.
  > * modules/strnlen (Depends-on): Remove memchr.
  > strtol: remove dependency on wchar
  > passfd: fix test regression on Linux
  > passfd: speed up configure and drop unused code
  > passfd: allow compilation on mingw
  > sys_uio: new module
  > useless-if-before-free: avoid false-positive
  > doc: update users.txt.
  > ioctl: Remove link dependency on native Windows.
  > Move the support of O_NONBLOCK in open() to the 'open' module.
  > nonblocking tests: Tweak comment.
  > pipe2: Simplify code.
  > nonblocking: Add comment.
  > nonblocking: Add tests for sockets.
  > nonblocking: Add tests for pipes.
  > autoupdate
  > gettext: Clarify the needed programmer actions.
  > strchrnul: Tweak last commit.
  > strchrnul: work around cygwin bug
  > Don't require lib/stdio-write.c when only module 'stdio' is used.
  > Support non-blocking pipe I/O in read() on native Windows.
  > Support non-blocking pipe I/O in write() on native Windows.
  > wchar: Ensure that wchar_t gets defined on uClibc.
  > safe-write, full-read: Avoid unnecessary compilation units.
  > Support non-blocking pipe I/O and SIGPIPE in pwrite().
  > Support non-blocking pipe I/O in write() on native Windows.
  > autoupdate
  > autoupdate
  > maint.mk: prohibit doubled words
  > maint: fix doubled-word typo in comments
  > maint: remove doubled word: s/it it/it/
  > maint.mk: remove useless semicolon and backslash
  > stdint test: Fix compilation failure on OSF/1 with DTK compiler.
  > autoupdate
  > maint: remove doubled words in comments, e.g., s/a a/a/
  > test-chown.h: correct a cast
  > fix typo in ChangeLog entry
  > getaddrinfo: Fix test for sa_len member.
  > maint: change "can not" to "cannot"
  > maint: change "a a" to "a"
  > maint.mk: prohibit \<the the\>
  > maint: fix "the the" in comment
  > maint: change "can not" to "cannot"
  > maint.mk: prohibit use of "can not"
  > careadlinkat: Guard against misuse of careadlinkatcwd.
  > careadlinkat: Use common coding style.
  > careadlinkat: Clarify specification.
  > areadlinkat: Avoid link error on many platforms.
  > allocator, careadlinkat: Fix double-inclusion guard.
  > relocatable-prog-wrapper: Update after module 'areadlink' changed.
  > relocatable-prog-wrapper: Update after module 'areadlink' changed.
  > strftime: silence gnulib-tool warning
  > verify: Fix syntax error with GCC 4.6 in C++ mode.
  > autoupdate
  > allocator: New module.
  > * lib/stdlib.in.h (malloc, realloc): Limit this change to a smaller scope.
  > * lib/realloc.c (_GL_USE_STDLIB_ALLOC, malloc, realloc): Likewise.
  > * lib/malloc.c (_GL_USE_STDLIB_ALLOC, malloc): Likewise.
  > * lib/relocwrapper.c (_GL_USE_STDLIB_ALLOC, malloc): Likewise.
  > * lib/relocatable.c (_GL_USE_STDLIB_ALLOC, malloc): Likewise.
  > * lib/canonicalize-lgpl.c (_GL_USE_STDLIB_ALLOC, malloc): Likewise.
  > * lib/setenv.c (_GL_USE_STDLIB_ALLOC, malloc, realloc): Likewise.
  > * lib/progreloc.c (_GL_USE_STDLIB_ALLOC, malloc): Likewise.
  > * lib/malloca.c (_GL_USE_STDLIB_ALLOC, malloc): Likewise.
  > * lib/careadlinkat.c (_GL_USE_STDLIB_ALLOC): Define.
  > stdlib: let modules use system malloc, realloc
  > careadlinkat: rename members to avoid problem
  > nonblocking: reduce dependency
  > pipe2: fix O_NONBLOCK support on mingw
  > fcntl-h: fix O_ACCMODE on cygwin
  > pipe-filter: drop O_NONBLOCK workarounds
  > nonblocking: provide O_NONBLOCK for mingw
  > careadlink: fix compilation error on mingw
  > binary-io: relicense under LGPLv2+
  > verify: use _Static_assert if available
  > Remove leftover generated .h files after config.status changed.
  > Ensure to rebuild generated .h files when config.status has changed.
  > pipe2: Relicense under LGPLv2+.
  > bootstrap: compute gnulib_extra_files after updating build_aux
  > bootstrap: preserve git whitelist item sorting
  > maint.mk: Don't trigger sc_space_tab check.
  > areadlink, areadlinkat: rewrite in terms of careadlinkat
  > autoupdate
  > wmemchr, wcschr, wcsrchr, wcspbrk, wcsstr: Avoid errors in C++ mode.
  > wcpcpy, wcpncpy: Ensure declaration on glibc >= 2.13 systems.
  > nonblocking: fix mingw test failures
  > Fix bug with gl_WARN_ON_USE_PREPARE, introduced on 2011-01-23.
  > nonblocking: Tweak comment.
  > nonblocking: new module
  > Fix recent ChangeLog entries.
  > stdio: Avoid GCC >= 4.4 warnings when using %lld and similar on mingw.
  > passfd: fix scoping bug
  > passfd: standardize coding conventions
  > passfd: fix incorrect sendmsg arguments
  > c-strcasestr: Relicense under LGPLv2+.
  > doc: update users.txt
  > tests: readlink* ("",... fails with EINVAL on newer kernels
  > Relicense some modules under LGPLv2+, for libidn2.
  > lib-symbol-visibility: Add a notice.
  > autoupdate
  > getaddrinfo: Doc fix.
  > getaddrinfo: Doc fix.
  > unictype/property-byname: Reduce the number of load-time relocations.
  > unictype/property-byname: Allow omitted word separators and aliases.
  > unictype/joininggroup-byname: Allow hyphens, omitted word separators.
  > unictype/joiningtype-byname: Recognize long names as well.
  > Tests for module 'unictype/joiningtype-longname'.
  > New module 'unictype/joiningtype-longname'.
  > unictype/bidiclass-byname: Recognize long names as well.
  > Tests for module 'unictype/bidiclass-longname'.
  > New module 'unictype/bidiclass-longname'.
  > unictype/bidi*: Rename modules, part 2.
  > unictype/bidi*: Rename modules.
  > unictype/bidi*: Rename functions, part 2.
  > New module 'unictype/combining-class-all'.
  > Tests for module 'unictype/combining-class-byname'.
  > New module 'unictype/combining-class-byname'.
  > Tests for module 'unictype/combining-class-longname'.
  > New module 'unictype/combining-class-longname'.
  > Tests for module 'unictype/combining-class-name'.
  > New module 'unictype/combining-class-name'.
  > unictype/combining-class: Rename source files.
  > unictype: Update list of canonical combining classes.
  > unictype/category-byname: Recognize long names as well.
  > Tests for module 'unictype/category-longname'.
  > New module 'unictype/category-longname'.
  > New module 'unictype/category-LC', part 2.
  > Tests for module 'unictype/category-LC'.
  > New module 'unictype/category-LC'.
  > xmalloc: revert yesterday's regression
  > maint.mk: add missing version to VC-tag
  > valgrind: do leak checking, and exit with code 1 on error (not 0)
  > posix-modules: say what it does.
  > xmalloc: Do not leak if underlying realloc is C99 compatible.
  > realloc: document portability problem
  > autoupdate
  > doc: add cvsps and tmpwatch to users.txt
  > doc: update users.txt
  > doc: update users.txt
  > autoupdate
  > unictype/bidi*: Rename functions.
  > New module 'unictype/joininggroup-all'.
  > Tests for module 'unictype/joininggroup-of'.
  > New module 'unictype/joininggroup-of'.
  > Tests for module 'unictype/joininggroup-byname'.
  > New module 'unictype/joininggroup-byname'.
  > Tests for module 'unictype/joininggroup-name'.
  > New module 'unictype/joininggroup-name'.
  > New module 'unictype/joiningtype-all'.
  > Tests for module 'unictype/joiningtype-of'.
  > New module 'unictype/joiningtype-of'.
  > Tests for module 'unictype/joiningtype-byname'.
  > New module 'unictype/joiningtype-byname'.
  > Tests for module 'unictype/joiningtype-name'.
  > New module 'unictype/joiningtype-name'.
  > unictype: Add support for Arabic shaping properties.
  > strftime: fix a bug in yesterday's change
  > tests: add strftime-tests module
  > strftime: don't assume a byte count fits in 'int'
  > stdio: don't require ignore_value around fwrite
  > verror: Fix compilation error introduced on 2011-02-13.
  > socklen: do not depend on sys_socket
  > maint.mk: sort file names *after* new transformation
  > maint.mk: fix po-file syntax-check rule
  > socklen: Update comment.
  > inet_ntop, inet_pton: Simplify.
  > netdb: Simplify.
  > sys_socket, netdb: Document problem with socklen_t.
  > maint.mk: let po check work in VPATH build
  > maint.mk: allow fine-grained syntax-check exclusion via Make variables
  > ignore-value tests: Avoid warnings.
  > passfd: Fix link error on Solaris.
  > passfd: Fix link error on AIX 5.2.
  > passfd: Work around bug with CMSG_FIRSTHDR on FreeBSD 6.4.
  > passfd: Fix compilation error on OpenBSD.
  > passfd test: Fix warnings.
  > passfd test: Fix warnings.
  > passfd module, part 4, tweaks.
  > passfd module, part 4.
  > Makefile: rely on GNU make; derive syntax-check rule names
  > passfd module, part 3.
  > passfd module, part 2, tweaks.
  > passfd module, part 2.
  > wcswidth, mbswidth: Avoid integer overflow.
  > Oops, fix last commit.
  > futimens, utimensat: Avoid endless recursion on Solaris 10.
  > maint.mk: relax a regexp to accommodate other formatting styles
  > maint.mk: suppress a syntax check false positive
  > wchar: add explicit dependencies, for Tru64
  > passfd module, part 1, tweaks.
  > passfd module, part 1.
  > regex-quote: New API.
  > regex-quote: Fix creation of POSIX extended regular expressions.
  > doc: Improve doc regarding autopoint vs. gnulib.
  > Update AC_OPENMP macro for Lahey compiler on GNU/Linux.
  > parse-duration: remove xalloc.h dependency
  > bootstrap: honor m4_base when running aclocal
  > getopt-gnu: relax license from LGPLv3+ to LGPLv2+
  > test-link: work on Hurd
  > stdio: simplify by moving files to printf-posix, sigpipe
  > stdio: simplify by moving gl_STDIN_LARGE_OFFSET to fseeko, ftello
  > localcharset: Assume ANSI C behaviour of free().
  > On Cygwin, use /proc file system instead of win32 API.
  > Fix OpenMP flag detection for various Fortran compilers.
  > update from texinfo
  > autoupdate
  > strstr: expand test coverage
  > maint.mk: detect missing-NL-at-EOF, too
  > dirname: move m4/dos.m4 functionality into lib/dosname.h
  > strstr: revert patches that introduced bug and pessimization
  > filenamecat: remove unnecessary dependency on dirname-lgpl
  > remove: remove unnecessary use of m4/dos.m4
  > * lib/openat-proc.c: Don't include dirname.h; not needed.
  > ChangeLog: credit Mike Stump; add a URL for the thread
  > backupfile: remove unnecessary use of m4/dos.m4
  > strstr: fix a bug whereby strstr would mistakenly return NULL
  > gnulib-tool: remove use of bold display in help screen
  > Fix misindentation of preprocessor directives.
  > ioctl: Fix for MacOS X in 64-bit mode.
  > maint: sc_cpp_indent_check: remove the "only in lib/" restriction
  > maint: avoid any CDPATH issue
  > maint: adjust cpp indentation for my modules, as well
  > maint: adjust cpp indentation to reflect nesting depth
  > New module 'wctomb'.
  > New module 'mbtowc'.
  > wcrtomb: Add more tests for native Windows platforms.
  > wcrtomb: Enhance test.
  > mbrtowc: Tiny optimization.
  > test-exclude.c: remove unmatched #endif
  > git-version-gen: skip "-dirty" check when appropriate
  > unictype/property-byname: Reduce the size of the 'data' segment.
  > unictype/scripts: Reduce the size of the 'data' segment.
  > stdint: Update documentation.
  > stdint: omit redundant check for wchar.h
  > stdint: Cut dependency to module 'wchar'.
  > longlong: skip, rather than fail, on cross-compilation
  > * NEWS: Mention 2011-02-08 change to stdlib.
  > getloadavg: Add comments about platforms.
  > getloadavg: Fix link error on Solaris 2.6.
  > * lib/getloadavg.c (getloadavg) [sgi]: Make ldav_off of type ptrdiff_t.
  > Oops, fix syntax error in last config.rpath commit.
  > havelib: Fix comments.
  > havelib: Update config.rpath.
  > getloadavg test: Add some plausibility checks.
  > maintainer-makefile: make syntax-check a no-op from tarballs
  > longlong: tune, particularly for common case of c99
  > getloadavg: set errno
  > getloadavg: omit unused var
  > autoupdate
  > doc: update users.txt
  > Consistent macro naming for macros that use GCC __attribute__.
  > Don't interfere with a program's definition of __attribute__.
  > maint: correct a ChangeLog attribution
  > update from texinfo
  > mbrtowc: Add more tests for native Windows platforms.
  > mbrtowc: Work around native Windows bug.
  > mbsinit: Work around mingw bug.
  > mbsinit: Don't crash for a NULL argument.
  > Don't interfere with a program's definition of __attribute__.
  > Fix last ChangeLog entry.
  > stdlib: don't get in the way of non-GCC __attribute__
  > quotearg test: Avoid test failure on mingw.
  > setlocale: Prefer gnulib's override over libintl's override.
  > stdlib: support non-GCC __attribute__
  > wcsrtombs: Work around bug on native Windows.
  > mbsrtowcs: Work around bug on native Windows.
  > Avoid setlocale bugs in tests.
  > Fix ChangeLog entry.
  > setlocale: Workaround native Windows bug.
  > Remove unused test-setlocale1 argument.
  > Tests for module 'setlocale'.
  > New module 'setlocale'.
  > Prepare for locale dependent tests on mingw.
  > Prepare for locale dependent tests on mingw.
  > strptime: avoid compiler warnings
  > doc: update users.txt
  > doc: update users.txt
  > doc: update users.txt
  > gnulib-tool: Make copyright notice adjustment more robust.
  > New module 'towctrans'.
  > New module 'wctrans'.
  > New module 'iswctype'.
  > New module 'wctype'.
  > wctype-h: Ensure wctype_t and wctrans_t are defined.
  > flock: fix license typo
  > Split large sed scripts, for HP-UX sed.
  > stdlib: improve random_r modularization
  > stdlib: don't depend on stdint
  > getloadavg: don't depend on c-strtod, cloexec, fcntl-safer
  > di-set.h, ino-map.h: add multiple-inclusion guard
  > iswblank: Ensure declaration on glibc systems.
  > New module 'iswblank'.
  > di-set tests: Refactor.
  > ino-map tests: Refactor.
  > di-set: add "const" to a cast
  > ChangeLog: fix my old entry to give credit to Bastien
  > update from texinfo
  > Rename module 'wctype' to 'wctype-h'.
  > New module 'wcswidth'.
  > New module 'wcstok'.
  > New module 'wcsstr'.
  > New module 'wcspbrk'.
  > New module 'wcsspn'.
  > New module 'wcscspn'.
  > New module 'wcsrchr'.
  > New module 'wcschr'.
  > New module 'wcsdup'.
  > New module 'wcsxfrm'.
  > New module 'wcscoll'.
  > New module 'wcsncasecmp'.
  > New module 'wcscasecmp'.
  > New module 'wcsncmp'.
  > New module 'wcscmp'.
  > New module 'wcsncat'.
  > New module 'wcscat'.
  > New module 'wcpncpy'.
  > New module 'wcsncpy'.
  > New module 'wcpcpy'.
  > New module 'wcscpy'.
  > New module 'wcsnlen'.
  > New module 'wcslen'.
  > New module 'wmemset'.
  > New module 'wmemmove'.
  > New module 'wmemcpy'.
  > New module 'wmemcmp'.
  > di-set, ino-map: new modules, from coreutils
  > getloadavg: merge minor changes from Emacs
  > Allow multiple gnulib generated replacements to coexist.
  > libposix: Revert the unreviewed part of yesterday's big merge.
  > unsetenv: work around Haiku issues
  > libposix: Add _HEADERS primaries to posix modules. Modify gnulib-tool to strip them from generated Makefile.am-s where they are not needed.  Also, replace M4 macro prefixes when requested. Finally, omit calls to error() for libposix.
  > strerror_r-posix: port to cygwin
  > New module 'wmemchr', part 3.
  > New module 'wmemchr', part 2.
  > New module 'wmemchr'.
  > fdopendir: detect FreeBSD bug
  > stdbool: do not define HAVE_STDBOOL_H
  > wcsnrtombs: Prepare for new module wwcsnrtombs.
  > wcsrtombs: Prepare for new module wwcsrtombs.
  > mbsnrtowcs: Prepare for new module mbsnrtowwcs.
  > mbsrtowcs: Prepare for new module mbsrtowwcs.
  > vasnprintf: Reduce use of malloc for small format strings.
  > autoudpate
  > update from texinfo
  > dup2: work around Haiku bug
  > doc: off_t is not available in eglibc 2.11.2 stdio.h.
  > ignore-value: add missing test dependency
  > mktime: clarify long_int width checking
  > ignore-value: Fix self-test.
  > TYPE_MAXIMUM: avoid theoretically undefined behavior
  > mktime: #undef mktime before #defining it
  > mktime: systematically normalize tm_isdst comparisons
  > mktime: fix some integer overflow issues and sidestep the rest
  > mktime: avoid infinite loop
  > rename, unlink, same-inode: Relicense.
  > mktime: avoid problems on NetBSD 5 / i386
  > autoupdate
  > mktime: fix misspelling in comment
  > move-if-change: cope with concurrent mv of identical file.
  > users.txt: Mention sharutils.
  > doc: Update users.txt
  > Prepare for supporting FreeBSD 10.
  > Prepare for supporting FreeBSD 10.
  > vma-iter, get-rusage-as: Add OpenBSD support.
  > more make vars for makeinfo
  > regen
  > fcntl: work around Haiku F_DUPFD bugs
  > autoupdate
  > Enable memory leak tests on AIX.
  > Tests for module 'get-rusage-data'.
  > New module 'get-rusage-data'.
  > get-rusage-as: Allow for easier testing.
  > vma-iter: Treat Haiku like BeOS.
  > c-stack: fix regression on cygwin when libsigsegv is present
  > autoupdate
  > vma-iter: Avoid empty intervals.
  > u64: remove unnecessary #include
  > Allow the user to avoid the GNULIB_TEST_* macros.
  > New module 'vma-iter'.
  > uninorm: Tweak includes.
  > get-rusage-as: Improve on NetBSD.
  > xreadlink.h: remove unnecessary #include
  > maint.mk: add syntax-check rule: detect unnecessary #include <stddef.h>
  > get-rusage-as: Fix bug.
  > wctype: Ensure valid C syntax.
  > wctype: Ensure valid C syntax.
  > getopt: omit HAVE_OPTRESET, HAVE_GETOPT_CLIP from config.h
  > gl_CHECK_NEXT_HEADERS implies AC_CHECK_HEADERS_ONCE
  > maintainer-makefile: work with older git for submodule check
  > bootstrap: minor portability fixes
  > bootstrap: support --no-git option
  > strerror_r-posix: work with glibc 2.13
  > uN_strstr: New unit tests.
  > Make uN_strstr functions O(n) worst-case.
  > Prepare for faster uN_strstr functions.
  > test-malloca: unset MALLOC_PERTURB_ to speed up test
  > ignore-value: remove dependency on stdint
  > maint.mk: adjust variable name to be consistent with other gl_ vars
  > ChangeLog: remove duplicate entry
  > maint.mk: make "check" depend on public-submodule-commit by default
  > mbfile, mbiter: Complete change from 2008-12-21.
  > update from texinfo
  > update from texinfo
  > init.sh: insert space between each function name and "()"
  > bootstrap: avoid failure when there is no .gitmodules file
  > update from texinfo
  > mountlist: clean up code formatting
  > mountlist: add support for Interix
  > maint.mk: improve the public-submodule-commit rule
  > include_next: Fix bug introduced on 2011-01-18.
  > Allow the user to avoid the GNULIB_TEST_* macros.
  > bootstrap: avoid failure when there is no .gitmodules file
  > assume <ctype.h>, ..., <time.h> exist
  > multiarch: remove AA_APPLE_UNIVERSAL_BUILD
  > c-stack: assume stack overflow if SA_SIGINFO unsupported
  > stdbool-tests: accomodate Haiku
  > binary-io: fix O_TEXT on Haiku
  > include_next: do not check for standard headers like stddef.h
  > ansi-c++-opt: skip C++ dependency style if C++ is unused
  > *printf-posix: Avoid test failures. Make tests work on MacOS X, Cygwin.
  > get-rusage-as: Improvement for Cygwin.
  > strftime: remove dependencies on multibyte modules
  > Tests for module 'get-rusage-as'.
  > New module 'get-rusage-as'.
  > sigaction: relax license from LGPLv3+ to LGPLv2+
  > update from texinfo
  > autoupdate
  > filemode: Make function declarations usable in C++ mode.
  > save-cwd: no longer include "xgetcwd.h"
  > ftoastr: split into 3 modules ftoastr, dtoastr, ldtoastr
  > save-cwd: remove #if-!HAVE_FCHDIR'd code; use the fchdir module
  > openat, save-cwd: avoid xmalloc
  > openat: Increase OPENAT_BUFFER_SIZE from 512 to at least 1024
  > doc: Update users.txt.
  > missing @item
  > document configmake in the manual instead of the source
  > Update to Unicode 6.0.0.
  > Update to Unicode 5.2.0.
  > New Unicode character properties, from Unicode 5.2.0.
  > New module 'unictype/property-changes-when-casemapped'.
  > New module 'unictype/property-changes-when-casefolded'.
  > New module 'unictype/property-changes-when-titlecased'.
  > New module 'unictype/property-changes-when-uppercased'.
  > New module 'unictype/property-changes-when-lowercased'.
  > New module 'unictype/property-case-ignorable'.
  > New module 'unictype/property-cased'.
  > Update to Unicode 5.2.0.
  > useless-if-before-free: fix typo in --help and make the internal,
  > uniwidth/width: Fix width of U+1D173..U+1D17A.
  > uninorm tests: Preserve copyright of Unicode data file.
  > gen-uni-tables: Oops, fix last commit.
  > gen-uni-tables: Prepare for Unicode 5.2.0.
  > unilbrk: Clarify gen-uni-tables.c code.
  > strtod: Restore errno when successfully parsing Infinity or NaN.
  > remove test: Avoid failure on HP-UX 11.
  > mkdir, mkdirat tests: Avoid failure on HP-UX 11.11.
  > ignore-value: clarify some comments
  > ignore-value: support aggregate types
  > maint.mk: improve sc_prohibit_strcmp regex
  > maint: fix ChangeLog order
  > signal: work around Haiku issue with SIGBUS
  > maint.mk: add pre-release check to ensure submodule commits are public
  > ignore-value: make ignore_value more generic; deprecate ignore_ptr
  > doc: regenerate INSTALL
  > Merge remote branch 'origin/coreutils-8.9'
  > Merge branch 'coreutils-8.9'
  > avoid an unnecessary sub-shell
  > rebuild
  > autoupdate
  > git-version-gen: use (...) rather than sh -c '...'
  > git-version-gen: convert leading TABs to spaces
  > git-version-gen: handle failed "git rev-list"
  > git-version-gen: include command name in one more diagnostic
  > update-copyright: adjust test to match changed code
  > getlogin_r: Avoid test failure on HP-UX 11.
  > document new copyright owner name changes
  > document new copyright owner name changes
  > build-aux/update-copyright: Support UPDATE_COPYRIGHT_HOLDER environment variable.
  > unigbrk: Avoid gcc warnings.
  > pwrite: Fix test whether it works and make it work on HP-UX 11.11.
  > pread: Fix test whether it works.
  > Fix detection of traditional Arabic locale on HP-UX, Solaris, Cygwin.
  > tcgetsid: Correct linkage in C++ mode on HP-UX 11.00.
  > Rename uc_is_grapheme_cluster_break() to uc_is_grapheme_break().
  > Remove u#-grapheme-len modules as too redundant with u#-grapheme-next.
  > unigbrk.in.h: Fix typo: "ben" => "been".
  > maint: update almost all copyright ranges to include 2011
  > maint: update-copyright: exempt doc/INSTALL*
  > maint: refine the update-copyright rule
  > unigbrk: New modules for grapheme clusters.
  > unigbrk: Fix uc_graphemeclusterbreak_property(), add comprehensive test.
  > Avoid use of hexadecimal escapes.
  > maint: new rule to update copyright year ranges
  > maint: indent with TABs in Makefile
  > version-etc: update the copyright year it reports
  > isfinite: Avoid compiler bug of "cc -O" on HP-UX 11.11.
  > pwrite: Work around HP-UX 11.11 bug.
  > pread: Work around HP-UX 11 bugs.
  > nl_langinfo: fix YESEXPR on Irix 6.5
  > iconv: Document HP-UX 11 bug.
  > ldexpl: Fix link error on HP-UX 11.
  > ftello: avoid compilation failure with SunStudio c89
  > tests: avoid failing coreutils tests on cygwin
  > sys_select: Avoid warning about missing memset declaration on HP-UX 11.
  > waitpid: Fix link error in C++ mode.
  > isnan: Use GCC built-ins when possible.
  > isnand: Fix mistake.
  > open: Avoid C++ error on HP-UX 11.
  > time_r: Add missing declarations on HP-UX 11.
  > mountlist: tweak previous commit
  > mountlist: fix local drive detection on cygwin
  > ftoastr, snprintf: ftoastr + snprintf module
  > alloca: one step towards thread-safety
  > tests: minor indenting change
  > regex: don't infloop on persistent failing calloc
  > linkat: Make implementation robust against system behaviour variations.
  > New modules for grapheme cluster breaking.
  > linkat test: Avoid failure on Solaris 11 2010-11.
  > utimens: work around glibc rounding bug on more platforms
  > select tests: Improve comments.
  > select tests: Safer way of handling timeout.
  > select tests: Use 'bool' where appropriate.
  > select tests: Use existing modules.
  > mbrtowc: Work around a Solaris 7 bug.
  > read-file.c: tweak syntax
  > times test: Avoid gcc warnings on OSF/1.
  > utimens: work around glibc rounding bug on older Linux kernels
  > inet_ntop: Hide mismatch of declaration on NonStop Kernel.
  > inet_ntop, inet_pton: Ensure declaration on NonStop Kernel.
  > arpa_inet: Use the common idioms with C++ support.
  > Fix more C++ link errors on Solaris 8.
  > printf-posix: Fix link error when a non-GCC compiler is used.
  > strerror_r-posix: Update doc.
  > utimens: simplify the logic of the previous change
  > utimens: configure better on hosts with NFS clock skew
  > ptsname test: Avoid failure on Solaris.
  > ptsname: Avoid ERANGE failure on some systems.
  > rename, renameat: Avoid test failures at NFS mounted locations.
  > iswblank: Fix C++ link error on Solaris 8.
  > unistd: Fix C++ link error on Solaris 8.
  > readlink doc: Mention an old glibc bug.
  > fcntl-h: Fix for use of C++ on glibc systems.
  > roundl-ieee: Make it work on OSF/1 5.1 with cc.
  > truncl-ieee: Make it work on OSF/1 5.1 with cc.
  > ceill-ieee: Make it work on OSF/1 5.1 with cc.
  > Ensure all prerequisites of <wchar.h> are included.
  > strtok_r: Fix C syntax error in autoconf macro.
  > ceil, trunc, round: Fix gcc warnings.
  > update from texinfo
  > select tests: Avoid failures on OSF/1 5.1.
  > stdint: avoid HP-UX 10.20 preprocessor bug
  > pipe: make obsoletion transition easier
  > sys_socket: Hide mismatch of declarations on NonStop Kernel.
  > gethostname: Ensure declaration on NonStop Kernel.
  > sys_select: Ensure all necessary types on NonStop Kernel.
  > sys_select: Remove unneeded include.
  > gethostname: Provide a fallback for HOST_NAME_MAX.
  > sigaction tests: Allow missing SA_RESETHAND and SA_RESTART.
  > signal: Define NSIG.
  > rename, renameat: Avoid test failures on OSF/1 5.1.
  > *printf: Detect large precisions bug on Solaris 10/SPARC.
  > tests: port test-fdutimensat.c to Solaris 8
  > vsnprintf: make more consistent with snprintf; doc fixes
  > sigpipe: relax to LGPLv2+, since it did not have any LGPLv3+ parts
  > doc: document Solaris printf bug with large float precisions
  > test-posixtm.c: add two tests
  > getlogin_r: Work around portability problem on OSF/1.
  > ptsname: Avoid test failure on OSF/1 5.1.
  > Port extended stdio modules to HP NonStop Kernel.
  > ttyname_r: Work around bug on OSF/1 5.1.
  > Oops, fix last ChangeLog entry.
  > round: Implement result sign according to IEEE 754.
  > trunc: Implement result sign according to IEEE 754.
  > ceil: Implement result sign according to IEEE 754.
  > floor: Implement result sign according to IEEE 754.
  > getaddrinfo: Update doc.
  > getaddrinfo, inet_ntop: Update doc for Solaris.
  > New module 'roundl-ieee'.
  > New module 'truncl-ieee'.
  > New module 'ceill-ieee'.
  > New module 'floorl-ieee'.
  > New module 'round-ieee'.
  > New module 'trunc-ieee'.
  > New module 'ceil-ieee'.
  > New module 'floor-ieee'.
  > New module 'roundf-ieee'.
  > New module 'truncf-ieee'.
  > New module 'ceilf-ieee'.
  > New module 'floorf-ieee'.
  > Support for minus zero in autoconf macros.
  > Tests for module 'ceil'.
  > Tests for module 'floor'.
  > math: Fix indentation.
  > Fix cross-compilation guesses on Solaris.
  > snprintf: port snprintf (NULL, 0, ...) to Solaris 8 and 9
  > ftoastr: fix comment again
  > round*, trunc*: Update documentation regarding glibc.
  > roundf, round, roundl: Update documentation regarding OSF/1 5.1.
  > ttyname_r: Add missing declaration on HP-UX 11.
  > getlogin, getlogin_r: Document HP-UX 11.11 bugs.
  > getlogin, getlogin_r: Document HP-UX 11.11 bugs.
  > getlogin_r: Add missing declaration on HP-UX 11.
  > getlogin_r: Add missing declaration on HP-UX 11.
  > wcsrtombs: Don't confuse mbstate_t with rpl_mbstate_t.
  > ftoastr: fix comment
  > isnan: Ensure it is a macro.
  > ldexpl test: Fix link error on OSF/1 5.1.
  > wctype: Make it work in C++ mode on OSF/1 5.1.
  > signal: Document problem with type of SIGRTMIN, SIGRTMAX on OSF/1 5.1.
  > sys_socket: Use POSIX compatible declarations on OSF/1 5.1.
  > tcgetsid: Add missing declaration on OSF/1 5.1.
  > stdio: Fix problem with popen() declaration on OSF/1 5.1.
  > iconv_open: Fix regression from 2010-12-04.
  > stdbool test: Avoid a gcc warning.
  > setenv: restore to working order
  > Document some different function declarations on OSF/1 5.1.
  > doc: Mention vasprintf-posix module.
  > unsetenv: Add missing declaration on OSF/1 5.1.
  > setenv: Add missing declaration on OSF/1 5.1.
  > nl_langinfo tests: Avoid gcc warning.
  > mknod: Avoid error in C++ mode on OSF/1 with GCC.
  > stdbool: Relax test.
  > ftello: Add missing declaration on OSF/1 5.1.
  > fseeko: Add missing declaration on OSF/1 5.1.
  > fchdir: Add missing declaration on OSF/1 5.1.
  > relocatable-prog-wrapper: Separate from relocatable-prog.
  > unistr/u8-mbsnlen: Add missing dependency.
  > iconv: Make it possible again to use this module without 'iconv-h'.
  > acl: port to Solaris 8 when copying from tmpfs to ufs
  > tests: set fail=0 at start
  > memmem-simple: Stylistic changes.
  > memmem: rearrange memmem and expand memmem-simple modules
  > Improve cross-compilation guesses for uClibc.
  > configmake: provide fallbacks for oldest supported autotools
  > read-file: reorganize to avoid various issues
  > cloexec, fcntl: relax license
  > autoupdate
  > Tweak last ChangeLog entry.
  > Tests for module 'pipe-posix.
  > Oops, fix mistake in last commit.
  > pipe-posix: Make it work in C++ mode.
  > Rename module 'pipe' to 'spawn-pipe'.
  > pipe-posix: new module
  > * build-aux/gendocs.sh: restore x bit
  > autoupdate
  > unistr/u8-strcmp: Avoid collision with libc function on Solaris 11.
  > Update internal documentation.
  > Put more information about failed tests into the test return codes.
  > Update for Solaris 11 2010-11.
  > nproc: Relax license.
  > maint: restore executable bit
  > utimecmp: fine-grained src to nearby coarse-grained dest
  > strerror_r-posix: Fix autoconf test.
  > Tests for module 'getdomainname'.
  > getdomainname: Use the system function when possible.
  > sys_socket: Ensure ss_family field on AIX.
  > readline: Improve configure output.
  > *printf-posix: Detect a bug on Solaris 10/x86.
  > Fix link error when module libunistring-optional is in use.
  > regex: Mention link dependencies.
  > ftoastr: Fix compilation error on Solaris.
  > Oops, fix typo in last commit.
  > autoupdate
  > autoupdate
  > getloadavg: Update documentation.
  > sys_socket: Fix test whether the functions are declared.
  > getpass: Make sure to get system declaration on some platforms.
  > iconv-h: Fix test-iconv-h-c++ failure on Solaris 11 2010-11.
  > ftoastr: comment fix
  > stdint: port to GCC 4.3 + OSX + Octave
  > doc: Corrections regarding MacOS X 10.4 and 10.5.
  > autoupdate
  > Uninstall ".bin" files installed by relocwrapper.
  > Update for NetBSD 5.0.
  > Update for HP-UX 11.23 and HP-UX 11.31.
  > Update for MacOS X 10.5.
  > bootstrap: add bootstrap_sync option.
  > Oops, fix incomplete ChangeLog entry.
  > Ensure that <features.h> is included before __GLIBC__ is tested.
  > memmem: Fix autoconf test.
  > Port to uClibc.
  > nproc: Fix condition.
  > Fix a comment. * lib/vasnprintf.c (VASNPRINTF): Fix comment.
  > ftoastr: don't assume snprintf
  > test-rename.h: fix compilation failure
  > maint.mk: add a URL discussing the no-@acronym policy
  > ftoastr: depend on snprintf, improve comments
  > ftoastr: port to hosts lacking strtof and strtold
  > c-strtold: Avoid link error on AIX 7.
  > intprops: new macro INT_BITS_STRLEN_BOUND
  > ftoastr: new module, for lossless conversion of floats to short strings
  > autoupdate
  > autoupdate
  > bootstrap: port to Solaris sed
  > maint.mk: rename variable: s/noteworthy/gl_noteworthy_news_/
  > remove autoconf-2.57 work-around requiring AC_PROG_EGREP and AC_PROG_CPP
  > Line-wrap a ChangeLog entry.
  > rename, renameat: Avoid test failures at NFS mounted locations.
  > rename, renameat: Document Linux bug with NFS.
  > rename test: Add comments.
  > maintainer-makefile: cover a few more files
  > unistr/u8-mbtouc: Improve handling of ill-formed UTF-8 input.
  > openat: Work around glibc bug with fchownat() and empty file names.
  > openat: Ensure autoconf macro ordering.
  > Update comments.
  > tests: avoid test failure on Solaris 10 due to lack of PATH export
  > init.sh: ensure that IFS is defined, just in case...
  > maint.mk: tighten "test a == b" check
  > autoupdate
  > bootstrap: fix typo in previous attempt
  > maintainer-makefile: prohibit test x == x
  > bootstrap: allow FreeBSD gzip
  > maintainer-makefile: check for i18n setup
  > sleep, nanosleep: Work around Linux 2.6.9 nanosleep bug.
  > fcntl-h: Fix for use of C++ on glibc systems.
  > mknod: avoid false failure with dash
  > unlink: Fix "is it should" typo in diagnostic.
  > Tests for module 'strerror_r-posix'.
  > New module 'strerror_r-posix'.
  > pmccabe2html: bug fixes: don't skip last input line; quote filename in shell command
  > More pmccabe fixes.
  > doc: List more failing platforms.
  > Add a comment.
  > fdopendir: fix bug on MacOS X when low on file descriptors
  > vasnprintf: Support I flag on glibc systems.
  > Fix copy/paste bug: Use unique name for compiler warnings.
  > ceil, floor: avoid spurious failure with icc
  > tests: require working signbit
  > strtod: work around icc bug
  > copysign: enhance tests
  > ceil, floor, round, trunc: enhance tests of -0
  > frexp, tests: work around ICC bug with -zero
  > isnanl: work around icc bug
  > tests: fix compiler warnings
  > utimens: fix broken m4 test
  > posix_spawn*, getdtablesize: Relax license.
  > autoupdate
  > unistd: Refine workaround from 2009-12-23 against Cygwin bug.
  > stdio: Work around compilation error due to renameat() on Solaris 10.
  > renameat: port to Solaris 10, which declares renameat in unistd.h
  > fdopendir: fix C89 compilation
  > inttostr: simplify by removing unnecessary redundancy
  > nl_langinfo: Mention problem with CRNCYSTR on NetBSD 5.0.
  > Tests: Fix LOCALE_JA on MirBSD 10.
  > inttostr: revert most-recent change
  > inttostr: simplify by removing unnecessary redundancy
  > nl_langinfo test: Avoid test failure on NetBSD 5.
  > c-stack: work around libsigsegv 2.8 bug
  > userspec: Drop redundant file.
  > nl_langinfo tests: Silence some warnings.
  > Make use of GCC's attribute __alloc_size__.
  > bootstrap: anchor .gitignore entries.
  > nextafter: Fix configure check.
  > Fix date in ChangeLog.
  > termios: Update documentation.
  > tests: Make them compile with TinyCC.
  > ignore-value: make header idempotent
  > GNUmakefile: handle "stable" target, not "major"
  > isnan: Add support for TinyCC
  > vasnprintf: Don't set errno to 0.
  > socketlib: Fix.
  > test-select-stdin.c: avoid warn_unused_result warnings
  > git-version-gen: do require git-VC'd files in cwd
  > argv-iter: omit nonconforming declaration
  > termios: fix compilation on mingw
  > git-version-gen: don't require that .git/ be in the current dir
  > test-select: avoid warn_unused_result warnings
  > test-symlinkat: remove declaration of unused local
  > test-inttostr: avoid shadowing warnings
  > stdlib: Allow multiple gnulib generated replacements to coexist.
  > fix a documentation typo
  > futimens: work around Solaris 11 bug
  > Indentation.
  > test-futimens: avoid unwarranted test failure on Solaris 5.11
  > Indentation.
  > spawn.in.h: make indentation consistent with parentheses
  > Fix mismatched parens in previous commit
  > rewrite int foo[2*X-1] to verify(X) or to int foo[X?1:-1]
  > prefer (X ? 1 : -1) when converting from boolean (1,0) to int (1,-1)
  > autoupdate
  > time: enforce recent POSIX ruling that time_t is integral
  > fdopendir: fix a bug on systems lacking openat and /proc support
  > sys_select: Avoid warning due to undeclared memset() on OpenBSD 4.5.
  > nanosleep: Make replacement POSIX compliant.
  > bootstrap: add hook for altering gnulib.mk, for Bison
  > bootstrap: reformat for readability
  > docs: update cygwin progress
  > autoupdate
  > parse-datetime: avoid compilation failure on OpenBSD 4.7
  > docs: update cygwin progress
  > docs: update parse-datetime history
  > cygwin: use more robust version check
  > string, sys_select: Avoid #including large headers unless necessary.
  > memmem, strstr, strcasestr: fix bug with long periodic needle
  > maint: fix order of ChangeLog entries
  > parse-datetime: do some more renaming
  > parse-datetime: better name than get_date
  > more ports to Solaris tr, which needs [] around ranges
  > bootstrap: fix Solaris regression
  > bootstrap: work with pkg-config
  > faccessat: remove unused wrappers
  > tests: require @PRAGMA_COLUMNS@ with each @PRAGMA_SYSTEM_HEADER@
  > gnulib-tool: Synthesize appropriate _LDFLAGS for a libtool library.
  > threadlib: Make option --with-libpth-prefix work.
  > Avoid line length limitation from HP NonStop system header files.
  > read-file tests: Avoid a test failure on NonStop Kernel.
  > gnulib-tool: Fixes for --create-testdir with --libtool.
  > Avoid some lines longer than 80 characters.
  > acl: Add support for ACLs on NonStop Kernel.
  > More info about ACLs on NonStop Kernel.
  > Info about ACLs on NonStop Kernel.
  > Define missing EDQUOT on NonStop Kernel.
  > Update doc for POSIX:2008.
  > gnulib-tool: In testdirs, use the newest available config.{guess.sub}.
  > New module 'system-posix'.
  > More renaming from 'getdate' to 'get_date'.
  > bootstrap: support ACLOCAL_FLAGS during aclocal
  > bootstrap: use glibtoolize on MacOS
  > poll: fix typo that broke test on MacOS
  > getdate: rename to get_date
  > Separate the module 'waitpid' from the module 'sys_wait'.
  > More tests for module 'sys_wait'.
  > More tests for module 'sys_wait'.
  > New module 'waitpid'.
  > poll: Assume ANSI C.
  > poll-h: Create poll.h on all platforms.
  > Tests for module 'poll-h'.
  > Tests for module 'poll-h'.
  > poll-h: Ensure POLL{RD,WR}{NORM,BAND} are defined on glibc platforms.
  > New module 'poll-h'.
  > maint: restore x bit
  > sys_wait: Implement WSTOPSIG.
  > stdlib, sys_wait: Avoid compilation error on mingw.
  > stdlib tests: Avoid code duplication.
  > getaddrinfo: Initialize sockets, to make it work under Windows.
  > autoupdate
  > Tests for module 'regex-quote'.
  > New module 'regex-quote'.
  > gnulib.info-[0-9] are generated.
  > unistr/u8-strchr: Fix a test failure on i586 glibc systems.
  > setenv: Relax license.
  > termios: Relax license.
  > threadlib: Allow the package to change the default to 'no'.
  > autoupdate
  > Fix endless loop in mbmemcasecoll.
  > Tests for module 'memcoll'.
  > memcoll, xmemcoll: Clarify size vs. length.
  > Tests for module 'memcasecmp'.
  > pthread: add to system <pthread.h> instead of replacing it all, for MacOS
  > net_if: enhance tests
  > Add ChangeLog entry for last commit.
  > Manual: improve out-of-memory documentation.
  > autoupdate
  > Add ChangeLog entry.
  > Use src/ not lib/ as root of source in example Makefile.am code.
  > Set cut_dir properly, and add mode line for Emacs.
  > Set cut_dir properly, and add mode line for Emacs.
  > Make Makefile.am example code more cut-and-paste friendly.
  > New module to test <net/if.h> interfaces.
  > pthread: add pthread_spin_destroy
  > gnulib-tool: Fix --help output.
  > maint.mk: avoid unexpanded \n in two diagnostics
  > netinet_in: Doc tweak.
  > init.sh: correct an outdated comment
  > init.sh: don't let an ephemeral "*.exe" make us skip all dir entries
  > mirbsd: add some more support
  > tests: fix unportable assumption on sys/wait.h
  > init.sh: accomodate directory with no .exes
  > tests: avoid compiler warning
  > fdutimens, fdutimensat: update signature, again
  > Take over the maintenance of some older macros from Autoconf.
  > fdutimensat: drop atflag validation
  > unlockpt: Fix declaration within GNULIB_POSIXCHECK.
  > login_tty: Fix detection of function on FreeBSD, OpenBSD, NetBSD.
  > login_tty: Make the replacement code work on BSD systems.
  > login_tty: Stricter unit test.
  > New module 'tcgetsid'.
  > Tests for module 'termios'.
  > New module 'termios'.
  > fdutimensat: add an atflag parameter
  > Fix typos in comments.
  > Fix typo in last commit.
  > stdlib: clarify MirBSD WEXITSTATUS bug
  > stdlib: work around MirBSD WEXITSTATUS bug
  > docs: mention MacOS issue with WEXITSTATUS(constant)
  > strnlen: add tests
  > unistr/base: Avoid link errors when module 'libunistring' is also used.
  > test-rawmemchr: make more robust
  > memchr: detect glibc Alpha bug
  > fts, getcwd, glob: audit for dirfd returning -1
  > float: fix broken MirBSD header
  > fts: use O_NOFOLLOW to avoid race condition when opening a directory
  > fdopendir: preserve argument fd before returning
  > regex: Pass the system regex if its only problem is 32-bit regoff_t.
  > fts: don't operate on an invalid file descriptor after failed dup
  > savedir: add streamsavedir, deprecate fdsavedir
  > autoupdate
  > langinfo: Fix last commit.
  > relocatable-prog-wrapper: Fix compilation failure due to O_EXEC.
  > Improve NEWS entry.
  > * NEWS: Document recent changes to fcntl-h.
  > fcntl-h: define O_CLOEXEC and O_EXEC if not defined; use new defines
  > langinfo, nl_langinfo: Fix for IRIX 5.3.
  > pty, readutmp: Fix for FreeBSD 8.0 and OpenBSD 4.6.
  > strsignal: work around NetBSD bug
  > gnulib-tool: work with NetBSD /bin/sh
  > autoupdate
  > gnulib-tool: Avoid stderr output on IRIX related to 'alias', 'unalias'.
  > init.sh: penalize a set-x-impaired shell; don't disqualify it
  > unsetenv: fix OpenBSD bug
  > strtod: work around IRIX 6.5 bug
  > autoupdate
  > maint: fix ChangeLog ordering
  > getopt: optimize previous patch
  > init.sh: disqualify shells for which set -x corrupts stderr
  > gnulib-tool: Avoid stderr output on IRIX related to 'alias', 'unalias'.
  > Fix formatting of ChangeLog entry.
  > regex documentation update from Reuben Thomas <rrt@sc3d.org>, 20 Aug 2010 12:04:39 +0100
  > regex documentation update from Reuben Thomas <rrt@sc3d.org>, 20 Aug 2010 12:04:39 +0100
  > getopt: handle POSIXLY_CORRECT set but not exported
  > gnulib-tool: Highlight the changed options.
  > update from texinfo
  > doc tweaks
  > uniwidth/width: Update comment.
  > isinf, isnan: Relax license.
  > gnulib-tool: Help migration from --import to --add-import or --update.
  > Update doc about gnulib-tool.
  > gnulib-tool: Change --import. New options --add/remove-import.
  > Doc update.
  > gnulib-tool: Don't talk about CVS any more.
  > maint.mk: avoid obscure sc_copyright_check failure in coreutils
  > gnulib-tool: Fix expression that counts directories.
  > avoid coreutils "make distcheck" failure
  > gnulib-tool: Avoid error when run in a package without Makefile.am.
  > update-copyright test: Improve output when perl is missing or too old.
  > Don't augment PATH in TESTS_ENVIRONMENT.
  > tests: prohibit augmenting PATH via TESTS_ENVIRONMENT
  > strdup: Fix compilation error in C++ mode.
  > dirfd: Fix compilation error in C++ mode on MacOS X, *BSD, IRIX.
  > Set PATH_SEPARATOR the same way autoconf does.
  > Set PATH_SEPARATOR the same way autoconf does.
  > autoupdate
  > tests: init.sh improvements for re-exec'ing with zsh
  > hash: fix safe_hasher const typo
  > test-update-copyright.sh: require perl 5.8.0
  > wctype: fix typo in previous commit
  > test-update-copyright.sh: skip test if Perl is too old
  > wctype: Avoid compilation error on IRIX 6.5.30.
  > New module 'socketlib'.
  > fcntl-h, etc.: prefer O_SEARCH to O_RDONLY when applicable
  > autoupdate
  > New module 'host-cpu-c-abi'.
  > hash: factor, and guard against misbehaving hasher function
  > hash: silence spurious clang warning
  > strstr, memmem, strcasestr: avoid leaked shell message
  > tests: silence clang warning
  > gettext: Fix recent mistake.
  > selinux-h: Offer a --without-selinux option.
  > Make the module 'realloc-gnu' work again on AIX and OSF/1.
  > Make the module 'calloc-gnu' work again on AIX and OSF/1.
  > Make the module 'malloc-gnu' work again on AIX and OSF/1.
  > Update modules list.
  > realloc-gnu: Really add the module description.
  > Tests for module 'realloc-gnu'. * modules/realloc-gnu-tests: New file. * tests/test-realloc-gnu.c: New file.
  > Tests for module 'calloc-gnu'. * modules/calloc-gnu-tests: New file. * tests/test-calloc-gnu.c: New file.
  > Tests for module 'malloc-gnu'. * modules/malloc-gnu-tests: New file. * tests/test-malloc-gnu.c: New file.
  > Rename module 'realloc' -> 'realloc-gnu'.
  > Rename module 'calloc' -> 'calloc-gnu'.
  > Rename module 'malloc' -> 'malloc-gnu'.
  > pread, pwrite: add missing dependency
  > unistr/u*-strchr: Fix tests dependencies.
  > read-file: Don't occupy too much unused memory.
  > read-file: Avoid memory reallocations with regular files. * lib/read-file.c: Include <sys/stat.h>, <stdio.h>, <stdint.h>. (fread_file): With regular files, use the remaining length as the initial buffer size.  Check against overflow. * modules/read-file (Depends-on): Add ftello, malloc-posix, stdint, sys_stat.
  > autoupdate
  > ftello: Relax license.
  > Avoid relocwrapper link errors due to gnulib replacement functions.
  > Prefer using AC_DEFUN_ONCE over AC_DEFUN in projects with gnulib.
  > sys_socket, netdb: Ensure socklen_t gets defined.
  > * ChangeLog: fix typo
  > login_tty: add missing dependeny
  > lib-symbol-versions: fix m4 quoting
  > glob: fix compile test
  > btowc: fix missing file
  > lseek: fix link test
  > include_next: silence autoconf 2.68 warning
  > acl: fix compilation test
  > Modernize AC_TRY_RUN invocations.
  > Modernize AC_TRY_LINK invocations.
  > Modernize AC_TRY_COMPILE invocations.
  > stat-time: relax license LGPL
  > autoupdate
  > poll: return immediately on POLLHUP.
  > Fix test-unlinkat, test-rmdir failure on AIX 5.3.
  > stdbool: avoid spurious failure with modern xlc
  > getloadavg: simplify code
  > getloadavg: don't define SVR4 on cygwin
  > priv-set: fix comment
  > priv-set: fix comments
  > stdbool: avoid rejecting clang
  > argz: fix shell quoting issue
  > poll, select: handle ERROR_BROKEN_PIPE.
  > fts: allow compilation with C++
  > autoupdate
  > Fix gnulib-tool sed script de-commentation for AIX sed.
  > update from texinfo
  > autoupdate
  > test-stddef: test for (some) offsetof bugs
  > stpncpy: Allow stpncpy to be defined as a macro.
  > Rename module 'memxfrm' to 'amemxfrm'.
  > Tests for module 'astrxfrm'.
  > New module 'astrxfrm'.
  > Document not_eol.
  > Document not_eol and remove mention of regex.c.
  > Ignore one more generated index from makeinfo.
  > git-merge-changelog: add doc relating to use with bzr and hg.
  > pthread: fix pthread.h creation for srcdir != builddir
  > avoid some overlong lines from posix urls, etc.
  > autoupdate
  > missed commit
  > autoupdate
  > strtod: fix const diagnostic
  > copy-acl: ignore ENOTSUP on HP-UX
  > open, chown: relax license
  > autocheck new ar-lib script from automake
  > readlinkat: adjust client modules
  > mknod: be more vocal about danger of running tests as root
  > readlinkat: split into its own module
  > memxfrm: Speed up.
  > erroneous commas inside @var
  > remove spurious leading i
  > missing @item inside @itemize
  > autoupdate
  > Integrate the regex documentation.
  > Whitespace cleanup.
  > Add regex documentation.
  > link: Update documentation.
  > ansi-c++-opt: Mention last change in NEWS.
  > Update modules list.
  > Improve doc in MODULES.html.
  > ansi-c++-opt: Provide option --enable-c++/--disable-c++ when possible.
  > readlink, areadlink: Relax test a bit.
  > unistr/u8-strstr, unistr/u16-strstr: Optimize the one-character case.
  > unistr/u*-strstr: Fix dependencies.
  > unistr/u8-chr, unistr/u8-strchr: Optimize and add comments.
  > unistr/u8-strchr: Fix several bugs.
  > More tests for unistr/u8-strchr.
  > Oops, fix last commit so that it also works with modf().
  > posix-modules: Ignore backup files of documentation files.
  > symlinkat: Fix documentation.
  > fchownat: Replace also when chown has the trailing slash bug.
  > Complete last ChangeLog entry.
  > linkat: Work around AIX 7.1 bug.
  > Correctly determine whether pow is available in libc on AIX 7 with xlc.
  > iconv: Work around AIX 6.1..7.1 bug.
  > readlink: Relax test a bit.
  > copysign: Does not require -lm on glibc systems.
  > duplocale: Work around AIX 7.1 bug.
  > dirfd: Avoid link error on AIX 7.1.
  > strtod: next round of AIX fixes
  > futimens: fix configure check
  > getline: Update regarding AIX.
  > wcwidth: Drop replacement on AIX 7.
  > strtok_r: Avoid triggering bug in AIX 7.1 xlc compiler.
  > unlink: Update regarding AIX.
  > symlink: Update regarding AIX.
  > strndup: Update regarding AIX.
  > stat: Update regarding AIX.
  > truncl: Fix autoconf test.
  > round: Update regarding AIX.
  > rename: Update regarding AIX.
  > printf.m4: Update regarding AIX.
  > iconv: Update regarding AIX.
  > getopt: Update regarding AIX.
  > ldexpl; Update regarding AIX.
  > frexpl: Update regarding AIX.
  > open, fopen: Update regarding AIX.
  > chown: Update doc regarding AIX.
  > autoupdate
  > strtod: fix bug in replacement function on AIX
  > mbrlen: Fix cross-compilation guess for AIX.
  > mbrtowc: Fix cross-compilation guess for AIX.
  > * build-aux/gendocs.sh: restore lost x bit
  > init.sh: work around trap limitation of some shells
  > strtod: aid debugging
  > unistr/u*-chr, unistr/u*-strchr: Fix link errors and warnings.
  > Add ChangeLog entries for recent commits.
  > Use spaces for indentation, not tabs.
  > mbspcasecmp: Fix function specification.
  > autoupdate
  > timespec: use cast and not conditional, as truncation isn't possible
  > unistr/u8-chr, unistr/u8-strchr: use Boyer-Moore like algorithm.
  > unistr/u*-strchr: add tests
  > unistr/u*-chr: test multibyte sequences more
  > unistr/u*-chr: test multibyte sequences
  > unistr/u*-chr: prepare for multibyte tests
  > unistr/u8-strchr: Optimize non-ASCII argument case.
  > fdl.texi from gnustandards
  > getcwd: on Solaris, work better if ancestors are inaccessible
  > pthread: Add enough so that coreutils/src/sort.c compiles.
  > striconveh: Simplify last commit.
  > striconveh: Don't malloc memory if the result buffer is sufficient.
  > strtod: Add safety check.
  > Unify tests that set gl_cv_func_ldexpl_no_libm.
  > Unify tests that set gl_cv_func_ldexp_no_libm.
  > Unify tests that set gl_cv_func_frexpl_no_libm.
  > Unify tests that set gl_cv_func_frexp_no_libm.
  > memcoll: clarify sizes versus lengths, document better, and tweak perf
  > Tests for module '_Exit'.
  > New module '_Exit'.
  > strtod: make it more-accurate typically, and don't require libm
  > autoupdate
  > unistr/u8-strchr: Optimize ASCII argument case.
  > (x)memcoll: minor tweaks
  > (x)memcoll: speedup when input is known to be NUL delimited
  > bootstrap: discard non translation project po files
  > fsusage: Clarify which code applies to which platforms.
  > havelib: Fix bug when AC_LIB_FROMPACKAGE is used more than twice.
  > hash: once again explicitly disallow insertion of NULL
  > stdbool: Update doc.
  > hash: extend module to deal with non-pointer keys
  > gettext: Use AC_GNU_SOURCE as a fallback for AC_USE_SYSTEM_EXTENSIONS.
  > idpriv-drop: Fix tests.
  > string: Fix syntax error with g++ 2.96.
  > unitypes: Fix bug introduced on 2010-05-18.
  > autoupdate
  > autoupdates
  > memmem: slight optimization
  > Fix HAVE_CALLOC_POSIX misnomer.
  > Use modern idiom for calloc() replacement.
  > Fix HAVE_REALLOC_POSIX misnomer.
  > Use modern idiom for realloc() replacement.
  > Fix HAVE_MALLOC_POSIX misnomer.
  > Use modern idiom for malloc() replacement.
  > stdio.in.h: fix compilation failure when using HP-UX 11's C compiler
  > update from texinfo
  > update from texinfo
  > update from texinfo
  > ipv6: fix detection under mingw
  > strtod: Assume strtod() works when cross-compiling to new-enough glibc.
  > Factor out common code in gl_FUNC_STRTOD.
  > strtod: Stop using AC_FUNC_STRTOD.
  > select: Correct timeout.
  > git-version-gen: init shell var to avoid env var influence
  > priv-set: Don't assume that priv.h exists merely because getppriv does.
  > relocatable: Make it easier to test whether to install wrappers.
  > gnulib-tool: Display specified modules and dependencies differently.
  > gnulib-tool: Align code of func_import and func_create_testdir.
  > test-inttostr: avoid spurious failure on Solaris 9
  > update from texinfo
  > test-sys_socket: mark variables as used more readably
  > Avoid some more warnings from "gcc -Wwrite-strings".
  > init.sh: change framework_failure_ to fail with status 99, not 1
  > test-inttostr: avoid warnings about 4-6KB literal strings
  > init.sh: don't use $ME_ or skip_ before they are defined
  > test-sys_socket: avoid set-but-not-used warnings from gcc
  > test-xvasprintf: avoid 'const' discard warnings
  > tests: avoid compilation warnings in argmatch and exclude tests...
  > tests: avoid 'const' discard warnings in mbsstr tests
  > test-verify: avoid warning from gcc's -Wmissing-declarations
  > test-inttostr.c: include <string.h> for use of strcmp
  > test-linkat: avoid failed assertion on "other" architectures
  > printf.m4: avoid autoconf's "Expanded Before Required" warning
  > Replacement header templates are now named with ".in", not "_".
  > inttostr-tests: depend on snprintf, not snprintf-posix
  > autoupdate
  > inttostr: add a new function, inttostr, and tests
  > Add "Extending Gnulib" chapter to manual.
  > Avoid relocwrapper link errors due to gnulib replacement functions.
  > Avoid relocwrapper link errors due to gnulib replacement functions.
  > Prefer documented low-level autoconf macro names.
  > havelib: Allow library names with '+' characters.
  > Module setenv does not depend on 'malloc-posix', 'realloc-posix'.
  > maint.mk: make the news-check rule more configurable
  > do-release-commit-and-tag: fix typo in --help
  > regex: avoid new dead-code warning with gcc-4.6.0
  > Mention Solaris limitation.
  > Update to GNU gettext 0.18.1.
  > Don't use AC_LIBOBJ with file names in subdirectories.
  > Simplify gl_LIBUNISTRING_VERSION_CMP expansion.
  > Reduce dependencies.
  > Reduce dependencies.
  > time: Undefine more broken macros.
  > Choose among AC_DEFUN_ONCE, AC_DEFUN in a way that aclocal understands.
  > time: work with mingw + pthreads-win32 library
  > Avoid expanding two macros in the wrong order.
  > autoupdate
  > git-version-gen: take a sed script to transform the git tag
  > maint.mk: also prohibit "#undef" of always-defined symbols
  > correct ChangeLog
  > maint.mk: avoid echo -e
  > Oops, typo in ChangeLog entry.
  > Update to GNU gettext 0.18, part 2.
  > Add missing include in test-pwrite.c.
  > Mention requirement for Automake option 'subdir-objects'.
  > Don't use conversion with transliteration in u{8,16,32}_strcoll.
  > Avoid a test failure on NetBSD 5.0.
  > autoupdate
  > Adjust #include directive style.
  > regex: Don't require alloca.
  > test-renameat.c: include <sys/stat.h>
  > Update maintainer documentation for 'relocatable-prog' module.
  > git-merge-changelog: Enable --split-merged-entry by default.
  > test-pwrite: do not leave behind a test file named "out"
  > Fix output redirection buglet in init.sh.
  > update from texinfo
  > autoupdate
  > modules/valgrind-tests (configure.ac): Invoke gl_VALGRIND_TESTS.
  > Add new module valgrind-tests.
  > Clean up dead code in recent commit.
  > Avoid valgrind error reports from libunistring.
  > autoupdate
  > New module 'libunistring-optional'.
  > doc: users.txt: list hivex
  > doc: users.txt: list febootstrap
  > update from texinfo
  > Fix typo in ChangeLog entry.
  > bootstrap: fix an error when gnulib is not used as a git submodule
  > Avoid autoconf warnings about AM_ICONV.
  > absolute-header: Make the macro usable in more situations.
  > doc: update users.txt
  > init.sh: fix an error in the previous change; add more comments
  > init.sh: avoid unnecessary shell re-exec
  > Fix collision between gnulib's and libintl's printf replacements.
  > verify: Avoid skipping the test on openSUSE 11.0.
  > update from texinfo
  > autoupdate
  > Avoid useless warnings from G++.
  > maint.mk: tweak preceding change
  > maint.mk: gnulib doesn't guarantee NSIG
  > test-pwrite.c: Remove unused variable declaration.
  > Remove useless test-pwrite.sh file.
  > init.sh: fix a typo
  > maint.mk: avoid using a temporary file in the always-defined-macros check
  > init.sh: enable MALLOC_PERTURB_
  > maint.mk: improve sc_cross_check_PATH_usage_in_tests
  > Update to GNU gettext 0.18.
  > maint.mk: prohibit definition of symbols defined by gnulib
  > acl: Avoid test failure on Cygwin-hosted mingw.
  > autoupdate
  > error: Use system's fcntl function.
  > verify: adjust formatting to be more consistent
  > error: More reliable output on mingw.
  > vasnprintf: Fix syntax errors in libintl build on mingw.
  > Update for Cygwin 1.7.
  > init.sh: improve comments
  > exclude: Unescape hashed patterns in wildcard mode.
  > verify: automate tests
  > Further improvements to verify.h, suggested by Eric Blake.
  > Modify verify.h to pacify gcc -Wredundant_decls.
  > Tests for module pwrite.
  > Tests for module pwrite.
  > New module pwrite.
  > pread: Update documentation.
  > docs: update cygwin progress
  > gendocs.sh: make its "-s FILE" option more useful
  > bootstrap: don't ignore download_po_files failure
  > maint.mk: allow to pass options to gendocs.sh
  > gnu-web-doc-update: don't ignore configure or build failure
  > announce-gen: backslash-escape '@'s in --help output
  > maint.mk, announce-gen: allow project-specific announcement mail headers


From MAILER-DAEMON Thu Aug 04 10:20:40 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Qoymu-0001ba-2s
	for mharc-bug-diffutils@gnu.org; Thu, 04 Aug 2011 10:20:40 -0400
Received: from eggs.gnu.org ([140.186.70.92]:40636)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Qoymr-0001YX-LH
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 10:20:38 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Qoymq-0005xg-E8
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 10:20:37 -0400
Received: from mx.meyering.net ([82.230.74.64]:43042)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Qoymq-0005xa-5w
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 10:20:36 -0400
Received: from rho.meyering.net (localhost.localdomain [127.0.0.1])
	by rho.meyering.net (Acme Bit-Twister) with ESMTP id 80A2960098;
	Thu,  4 Aug 2011 16:20:35 +0200 (CEST)
From: Jim Meyering <jim@meyering.net>
To: Santiago Vila <sanvila@unex.es>
In-Reply-To: <alpine.DEB.2.00.1108041456280.10003@cantor.unex.es> (Santiago
	Vila's message of "Thu, 4 Aug 2011 15:11:15 +0200 (CEST)")
References: <10d13d6fb4036cc51d36b387775aad74@imap.dd24.net>
	<4C649A8C.8060905@cs.ucla.edu>
	<1306534994.3190.7.camel@fermat.scientia.net>
	<alpine.DEB.2.00.1108031400070.21456@kolmogorov.unex.es>
	<87bow6vg3s.fsf@rho.meyering.net>
	<alpine.DEB.2.00.1108041456280.10003@cantor.unex.es>
Date: Thu, 04 Aug 2011 16:20:35 +0200
Message-ID: <871ux1s1fw.fsf@rho.meyering.net>
Lines: 30
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 82.230.74.64
Cc: bug-diffutils@gnu.org
Subject: Re: [bug-diffutils] bug: diff -r swaps the files it should check
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Aug 2011 14:20:39 -0000

Santiago Vila wrote:

> On Wed, 3 Aug 2011, Jim Meyering wrote:
>
>> Hi Santiago,
>>
>> A release seems justifiable, and I can make one pretty easily.
>> I'll wait a day or so, in case anyone has a reason to defer.
>
> I'd love to see a beta release, if you still do that sort of thing.
> That would give me some more time to check which ones of the bugs here:
>
> http://bugs.debian.org/diffutils
>
> are still unresolved.

I've just published a snapshot.
Hope that's good enough for you.

> BTW: I almost forgot that there is an issue with the manual licensing
> which forced me to remove it from the Debian package: the front-cover
> and back-cover, as they are seen as invariant sections.
>
> I'm not sure if we talked about this before, but a manual which would
> be dual licensed GPL + (GFDL with front-cover and back-cover) would
> solve the issue completely for us. If this is still possible, that
> would be great.

I don't know the status/details of this.
Paul, have you looked at it?


From MAILER-DAEMON Thu Aug 04 10:22:14 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QoyoQ-0002Gj-9H
	for mharc-bug-diffutils@gnu.org; Thu, 04 Aug 2011 10:22:14 -0400
Received: from eggs.gnu.org ([140.186.70.92]:51511)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1QoyoO-0002G7-IB
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 10:22:13 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1QoyoN-0006Wp-Fg
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 10:22:12 -0400
Received: from mx.meyering.net ([82.230.74.64]:43051)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1QoyoN-0006We-8x
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 10:22:11 -0400
Received: from rho.meyering.net (localhost.localdomain [127.0.0.1])
	by rho.meyering.net (Acme Bit-Twister) with ESMTP id 9AD96601CB;
	Thu,  4 Aug 2011 16:22:10 +0200 (CEST)
From: Jim Meyering <jim@meyering.net>
To: Tim Waugh <twaugh@redhat.com>
In-Reply-To: <1312465656.4532.3.camel@localhost.localdomain> (Tim Waugh's
	message of "Thu, 04 Aug 2011 14:47:34 +0100")
References: <1312465656.4532.3.camel@localhost.localdomain>
Date: Thu, 04 Aug 2011 16:22:10 +0200
Message-ID: <87vcudqmst.fsf@rho.meyering.net>
Lines: 21
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 82.230.74.64
Cc: bug-diffutils@gnu.org
Subject: Re: [bug-diffutils] [patch] --ignore-file-name-case
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Aug 2011 14:22:13 -0000

Tim Waugh wrote:
> I had a report that --ignore-file-name-case doesn't work as expected:
>   https://bugzilla.redhat.com/show_bug.cgi?id=719001
>
> Here's a patch against 2.8.1 that works for me.  There are two changes:
>
> 1. Make compare_names() return 0 if the filenames match
> case-insensitively, but keep compare_names_for_qsort() stable.
>
> 2. When one argument is a directory and another is not, search within
> the directory for a case-insensitive filename match.
>
> Does this approach look acceptable?  If so I can port the patch to 3.0.

Hi Tim,

This looks like the bug Paul fixed after 3.0:

  diff no longer reports spurious differences merely because two entries
  in the same directory have names that compare equal in the current
  locale, or compare equal because --ignore-file-name-case was given.


From MAILER-DAEMON Thu Aug 04 10:33:48 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Qoyzc-0007BW-2A
	for mharc-bug-diffutils@gnu.org; Thu, 04 Aug 2011 10:33:48 -0400
Received: from eggs.gnu.org ([140.186.70.92]:34013)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1Qoyza-0007B3-3K
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 10:33:47 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1QoyzZ-0008VC-6V
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 10:33:46 -0400
Received: from smtp.cs.ucla.edu ([131.179.128.62]:54178)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1QoyzZ-0008V3-0k
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 10:33:45 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.cs.ucla.edu (Postfix) with ESMTP id D610839E8116;
	Thu,  4 Aug 2011 07:33:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu
Received: from smtp.cs.ucla.edu ([127.0.0.1])
	by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id g6lHLa9iWv4o; Thu,  4 Aug 2011 07:33:43 -0700 (PDT)
Received: from [192.168.1.10] (pool-71-189-109-235.lsanca.fios.verizon.net
	[71.189.109.235])
	by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 7433C39E8105;
	Thu,  4 Aug 2011 07:33:43 -0700 (PDT)
Message-ID: <4E3AADC7.4090009@cs.ucla.edu>
Date: Thu, 04 Aug 2011 07:33:43 -0700
From: Paul Eggert <eggert@cs.ucla.edu>
Organization: UCLA Computer Science Department
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11
MIME-Version: 1.0
To: Jim Meyering <jim@meyering.net>
References: <1312465656.4532.3.camel@localhost.localdomain>
	<87vcudqmst.fsf@rho.meyering.net>
In-Reply-To: <87vcudqmst.fsf@rho.meyering.net>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 131.179.128.62
Cc: bug-diffutils@gnu.org
Subject: Re: [bug-diffutils] [patch] --ignore-file-name-case
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Aug 2011 14:33:47 -0000

On 08/04/11 07:22, Jim Meyering wrote:
> This looks like the bug Paul fixed after 3.0:

I think it's different from that.  Tim is
proposing a change to the documented behavior,
so it's not really a bug fix but more of a
feature change.


From MAILER-DAEMON Thu Aug 04 11:05:47 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QozUZ-0006Ld-AX
	for mharc-bug-diffutils@gnu.org; Thu, 04 Aug 2011 11:05:47 -0400
Received: from eggs.gnu.org ([140.186.70.92]:49118)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1QozUX-0006H0-FA
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 11:05:46 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1QozUU-0006il-7G
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 11:05:45 -0400
Received: from smtp.cs.ucla.edu ([131.179.128.62]:39658)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1QozUT-0006hg-TC
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 11:05:42 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.cs.ucla.edu (Postfix) with ESMTP id 706CE39E8105;
	Thu,  4 Aug 2011 08:05:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu
Received: from smtp.cs.ucla.edu ([127.0.0.1])
	by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id MejBlyfw4dcb; Thu,  4 Aug 2011 08:05:33 -0700 (PDT)
Received: from [192.168.1.10] (pool-71-189-109-235.lsanca.fios.verizon.net
	[71.189.109.235])
	by smtp.cs.ucla.edu (Postfix) with ESMTPSA id AEEC2A60001;
	Thu,  4 Aug 2011 08:05:33 -0700 (PDT)
Message-ID: <4E3AB53D.50209@cs.ucla.edu>
Date: Thu, 04 Aug 2011 08:05:33 -0700
From: Paul Eggert <eggert@cs.ucla.edu>
Organization: UCLA Computer Science Department
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11
MIME-Version: 1.0
To: Jim Meyering <jim@meyering.net>
References: <10d13d6fb4036cc51d36b387775aad74@imap.dd24.net>	<4C649A8C.8060905@cs.ucla.edu>	<1306534994.3190.7.camel@fermat.scientia.net>	<alpine.DEB.2.00.1108031400070.21456@kolmogorov.unex.es>	<87bow6vg3s.fsf@rho.meyering.net>	<alpine.DEB.2.00.1108041456280.10003@cantor.unex.es>
	<871ux1s1fw.fsf@rho.meyering.net>
In-Reply-To: <871ux1s1fw.fsf@rho.meyering.net>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 131.179.128.62
Cc: bug-diffutils@gnu.org, Santiago Vila <sanvila@unex.es>
Subject: Re: [bug-diffutils] bug: diff -r swaps the files it should check
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Aug 2011 15:05:46 -0000

On 08/04/11 07:20, Jim Meyering wrote:
>> I'm not sure if we talked about this before, but a manual which would
>> > be dual licensed GPL + (GFDL with front-cover and back-cover) would
>> > solve the issue completely for us. If this is still possible, that
>> > would be great.
> I don't know the status/details of this.
> Paul, have you looked at it?

The GNU coding standards encourage the use of the GFDL
for nontrivial manuals such as the diff manual
<http://www.gnu.org/prep/maintain/html_node/License-Notices-for-Documentation.html>.

I don't know about any GNU policy for dual-licensing.
Unless there's good precedent for that, I'd be inclined
to stick with the GFDL.

The GNU Press used to print a diff manual,
but it currently does not seem to do that
<http://www.fsf.org/campaigns/gnu-press/books/manuals>,
which means that we should make this change:

--- a/doc/diffutils.texi
+++ b/doc/diffutils.texi
@@ -27,8 +27,7 @@ license is included in the section entitled ``GNU Free Documentation
 License.''
 
 (a) The FSF's Back-Cover Text is: ``You have the freedom to
-copy and modify this GNU manual.  Buying copies from the FSF
-supports it in developing GNU and promoting software freedom.''
+copy and modify this GNU manual.''
 @end quotation
 @end copying
 
Would this be enough to address the Debian project's concerns?
(Sorry, I don't know what they are.)


From MAILER-DAEMON Thu Aug 04 11:49:31 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Qp0At-0002eL-RO
	for mharc-bug-diffutils@gnu.org; Thu, 04 Aug 2011 11:49:31 -0400
Received: from eggs.gnu.org ([140.186.70.92]:52927)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sanvila@unex.es>) id 1Qp0Ar-0002dn-ST
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 11:49:30 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sanvila@unex.es>) id 1Qp0Aq-0008Jt-Hj
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 11:49:29 -0400
Received: from pizarro.unex.es ([158.49.8.2]:56164)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sanvila@unex.es>) id 1Qp0Aq-0008Jh-Br
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 11:49:28 -0400
Received: from localhost (lavadora.siue [192.168.1.121])
	by pizarro.unex.es (Postfix) with ESMTP id EF71A148045;
	Thu,  4 Aug 2011 17:49:26 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at lavadora.unex.es
Received: from pizarro.unex.es ([192.168.1.103])
	by localhost (lavadora.unex.es [192.168.1.121]) (amavisd-new,
	port 10024)
	with ESMTP id m+XHtGPrK+1n; Thu,  4 Aug 2011 17:42:44 +0200 (CEST)
Received: from guadiana.unex.es (guadiana.unex.es [158.49.17.23])
	by pizarro.unex.es (Postfix) with ESMTP id 3EB30148029;
	Thu,  4 Aug 2011 17:49:25 +0200 (CEST)
Received: from cantor.unex.es (cantor.unex.es [158.49.50.20])
	by guadiana.unex.es (Postfix) with ESMTPS id 4D1544B975;
	Thu,  4 Aug 2011 17:49:25 +0200 (CEST)
Date: Thu, 4 Aug 2011 17:49:25 +0200 (CEST)
From: Santiago Vila <sanvila@unex.es>
To: Paul Eggert <eggert@cs.ucla.edu>
In-Reply-To: <4E3AB53D.50209@cs.ucla.edu>
Message-ID: <alpine.DEB.2.00.1108041725460.10959@cantor.unex.es>
References: <10d13d6fb4036cc51d36b387775aad74@imap.dd24.net>
	<4C649A8C.8060905@cs.ucla.edu>
	<1306534994.3190.7.camel@fermat.scientia.net>
	<alpine.DEB.2.00.1108031400070.21456@kolmogorov.unex.es>
	<87bow6vg3s.fsf@rho.meyering.net>
	<alpine.DEB.2.00.1108041456280.10003@cantor.unex.es>
	<871ux1s1fw.fsf@rho.meyering.net> <4E3AB53D.50209@cs.ucla.edu>
User-Agent: Alpine 2.00 (DEB 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 158.49.8.2
Cc: bug-diffutils@gnu.org
Subject: Re: [bug-diffutils] bug: diff -r swaps the files it should check
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Aug 2011 15:49:31 -0000

On Thu, 4 Aug 2011, Paul Eggert wrote:

> On 08/04/11 07:20, Jim Meyering wrote:
> >> I'm not sure if we talked about this before, but a manual which would
> >> > be dual licensed GPL + (GFDL with front-cover and back-cover) would
> >> > solve the issue completely for us. If this is still possible, that
> >> > would be great.
> > I don't know the status/details of this.
> > Paul, have you looked at it?
> 
> The GNU coding standards encourage the use of the GFDL
> for nontrivial manuals such as the diff manual
> <http://www.gnu.org/prep/maintain/html_node/License-Notices-for-Documentation.html>.
> 
> I don't know about any GNU policy for dual-licensing.
> Unless there's good precedent for that, I'd be inclined
> to stick with the GFDL.

Do you need a policy for dual-licensing? I think it would be just
enough that you are allowed to dual-license it (in other words, it
would probably be enough that you don't have a policy *forbidding*
dual-licensing!)

As an example, the gettext manual is dual licensed:

   This manual is free documentation.  It is dually licensed under the
GNU FDL and the GNU GPL.  This means that you can redistribute this
manual under either of these two licenses, at your choice.

> -copy and modify this GNU manual.  Buying copies from the FSF
> -supports it in developing GNU and promoting software freedom.''
> +copy and modify this GNU manual.''
>  @end quotation
>  @end copying
>  
> Would this be enough to address the Debian project's concerns?
> (Sorry, I don't know what they are.)

I'm afraid it's not. We had a General Resolution about this:

http://www.debian.org/vote/2006/vote_001

The end result is that we distribute FDL manuals in the main section
only if they have no invariant sections (and cover text count as
invariant sections).


I assume that removing the requirement that the manual is distributed
with cover texts is unlikely to happen, for this reason I am suggesting
instead that you consider dual-licensing, as in gettext.

Thanks.


From MAILER-DAEMON Thu Aug 04 11:55:03 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Qp0GF-0005S5-Dl
	for mharc-bug-diffutils@gnu.org; Thu, 04 Aug 2011 11:55:03 -0400
Received: from eggs.gnu.org ([140.186.70.92]:54523)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sanvila@unex.es>) id 1Qp0GD-0005Rn-1t
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 11:55:02 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sanvila@unex.es>) id 1Qp0GC-000172-1N
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 11:55:01 -0400
Received: from pizarro.unex.es ([158.49.8.2]:56918)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sanvila@unex.es>) id 1Qp0GB-00016u-S5
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 11:54:59 -0400
Received: from localhost (lavadora.siue [192.168.1.121])
	by pizarro.unex.es (Postfix) with ESMTP id 43DF2148080
	for <bug-diffutils@gnu.org>; Thu,  4 Aug 2011 17:54:59 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at lavadora.unex.es
Received: from pizarro.unex.es ([192.168.1.103])
	by localhost (lavadora.unex.es [192.168.1.121]) (amavisd-new,
	port 10024) with ESMTP id NhOWQVMjTxWo for <bug-diffutils@gnu.org>;
	Thu,  4 Aug 2011 17:48:16 +0200 (CEST)
Received: from guadiana.unex.es (guadiana.unex.es [158.49.17.23])
	by pizarro.unex.es (Postfix) with ESMTP id 2BE61148029
	for <bug-diffutils@gnu.org>; Thu,  4 Aug 2011 17:54:59 +0200 (CEST)
Received: from cantor.unex.es (cantor.unex.es [158.49.50.20])
	by guadiana.unex.es (Postfix) with ESMTPS id 025014B975
	for <bug-diffutils@gnu.org>; Thu,  4 Aug 2011 17:54:58 +0200 (CEST)
Date: Thu, 4 Aug 2011 17:54:58 +0200 (CEST)
From: Santiago Vila <sanvila@unex.es>
To: bug-diffutils@gnu.org
In-Reply-To: <4E3AA0D7.2010901@cs.ucla.edu>
Message-ID: <alpine.DEB.2.00.1108041752480.11032@cantor.unex.es>
References: <alpine.DEB.2.00.1108041530220.10154@cantor.unex.es>
	<4E3AA0D7.2010901@cs.ucla.edu>
User-Agent: Alpine 2.00 (DEB 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 158.49.8.2
Subject: Re: [bug-diffutils] Bug#625630: diffutils: diff
 --ignore-matching-lines doesn't ignore newlines if they near a different
 line (fwd)
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Aug 2011 15:55:02 -0000

BBOn Thu, 4 Aug 2011, Paul Eggert wrote:
11;2801;0c;2801;0c
> On 08/04/11 06:32, Santiago Vila wrote:
> > $ /usr/bin/diff --ignore-matching-lines='^xxx.*$' <(echo -e 'aaa\nbbb\nccc\nddd\nxxx\ny\neee\nxxx\nfff') <(echo -e 'aaa\nbbb\nccc\nddd\neee\nfff')
> > 5,6d4
> > < xxx
> > < y
> 
> That's the expected behavior.  The documentation says that --ignore-matching-lines
> only suppresses a difference if every changed line in the hunk matches the RE.
> Here, "y" does not match the RE, so the entire hunk is output.  So I don't
> see a bug here.

Thanks a lot. Will close it, then.


From MAILER-DAEMON Thu Aug 04 12:02:13 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Qp0NB-0001kn-Ga
	for mharc-bug-diffutils@gnu.org; Thu, 04 Aug 2011 12:02:13 -0400
Received: from eggs.gnu.org ([140.186.70.92]:50885)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1Qp0N9-0001jw-3b
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 12:02:11 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1Qp0N8-0002t7-5h
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 12:02:11 -0400
Received: from smtp.cs.ucla.edu ([131.179.128.62]:40299)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1Qp0N8-0002su-0E
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 12:02:10 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.cs.ucla.edu (Postfix) with ESMTP id DB89839E8116;
	Thu,  4 Aug 2011 09:02:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu
Received: from smtp.cs.ucla.edu ([127.0.0.1])
	by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id MYKuZc8Rm-rY; Thu,  4 Aug 2011 09:02:07 -0700 (PDT)
Received: from [192.168.1.10] (pool-71-189-109-235.lsanca.fios.verizon.net
	[71.189.109.235])
	by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 660D339E8105;
	Thu,  4 Aug 2011 09:02:07 -0700 (PDT)
Message-ID: <4E3AC27F.4010302@cs.ucla.edu>
Date: Thu, 04 Aug 2011 09:02:07 -0700
From: Paul Eggert <eggert@cs.ucla.edu>
Organization: UCLA Computer Science Department
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11
MIME-Version: 1.0
To: Santiago Vila <sanvila@unex.es>
References: <10d13d6fb4036cc51d36b387775aad74@imap.dd24.net>
	<4C649A8C.8060905@cs.ucla.edu>
	<1306534994.3190.7.camel@fermat.scientia.net>
	<alpine.DEB.2.00.1108031400070.21456@kolmogorov.unex.es>
	<87bow6vg3s.fsf@rho.meyering.net>
	<alpine.DEB.2.00.1108041456280.10003@cantor.unex.es>
	<871ux1s1fw.fsf@rho.meyering.net> <4E3AB53D.50209@cs.ucla.edu>
	<alpine.DEB.2.00.1108041725460.10959@cantor.unex.es>
In-Reply-To: <alpine.DEB.2.00.1108041725460.10959@cantor.unex.es>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 131.179.128.62
Cc: bug-diffutils@gnu.org
Subject: Re: [bug-diffutils] bug: diff -r swaps the files it should check
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Aug 2011 16:02:11 -0000

On 08/04/11 08:49, Santiago Vila wrote:
> Do you need a policy for dual-licensing? I think it would be just
> enough that you are allowed to dual-license it

Well, the coding standards say simply
"Manuals should use the GNU Free Documentation License."
I would have real qualms about dual-licensing with
Joe Random License, but it may be that the GPL is OK.
I'll ask.


From MAILER-DAEMON Thu Aug 04 12:09:39 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Qp0UN-0005NS-KW
	for mharc-bug-diffutils@gnu.org; Thu, 04 Aug 2011 12:09:39 -0400
Received: from eggs.gnu.org ([140.186.70.92]:58419)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1Qp0UL-0005KV-85
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 12:09:38 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1Qp0UJ-0004Ya-J6
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 12:09:37 -0400
Received: from mx1.redhat.com ([209.132.183.28]:17993)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1Qp0UJ-0004Y9-8T
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 12:09:35 -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 p74G9RIw030411
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Thu, 4 Aug 2011 12:09:27 -0400
Received: from [10.3.113.47] (ovpn-113-47.phx2.redhat.com [10.3.113.47])
	by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id p74G9RxA028169; Thu, 4 Aug 2011 12:09:27 -0400
Message-ID: <4E3AC436.9030201@redhat.com>
Date: Thu, 04 Aug 2011 10:09:26 -0600
From: Eric Blake <eblake@redhat.com>
Organization: Red Hat
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US;
	rv:1.9.2.18) Gecko/20110621 Fedora/3.1.11-1.fc14
	Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.11
MIME-Version: 1.0
To: Paul Eggert <eggert@cs.ucla.edu>
References: <10d13d6fb4036cc51d36b387775aad74@imap.dd24.net>	<4C649A8C.8060905@cs.ucla.edu>	<1306534994.3190.7.camel@fermat.scientia.net>	<alpine.DEB.2.00.1108031400070.21456@kolmogorov.unex.es>	<87bow6vg3s.fsf@rho.meyering.net>	<alpine.DEB.2.00.1108041456280.10003@cantor.unex.es>	<871ux1s1fw.fsf@rho.meyering.net>
	<4E3AB53D.50209@cs.ucla.edu>	<alpine.DEB.2.00.1108041725460.10959@cantor.unex.es>
	<4E3AC27F.4010302@cs.ucla.edu>
In-Reply-To: <4E3AC27F.4010302@cs.ucla.edu>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
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
Cc: bug-diffutils@gnu.org, Santiago Vila <sanvila@unex.es>
Subject: [bug-diffutils] GFDL and invariants [was: bug: diff -r swaps the
 files it should check]
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Aug 2011 16:09:38 -0000

On 08/04/2011 10:02 AM, Paul Eggert wrote:
> On 08/04/11 08:49, Santiago Vila wrote:
>> Do you need a policy for dual-licensing? I think it would be just
>> enough that you are allowed to dual-license it
>
> Well, the coding standards say simply
> "Manuals should use the GNU Free Documentation License."
> I would have real qualms about dual-licensing with
> Joe Random License, but it may be that the GPL is OK.
> I'll ask.

In the past, when this issue was raised, the Debian community deemed 
patches such as the following as sufficient to resolve the licensing 
qualms, and the change complied with the GNU Coding Standards:

http://git.savannah.gnu.org/cgit/m4.git/commit?id=ee1e92ec

-- 
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


From MAILER-DAEMON Thu Aug 04 13:00:47 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Qp1Hr-0002YG-4H
	for mharc-bug-diffutils@gnu.org; Thu, 04 Aug 2011 13:00:47 -0400
Received: from eggs.gnu.org ([140.186.70.92]:37931)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Qp1Hp-0002Xc-1n
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 13:00:46 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Qp1Hn-00079h-Ch
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 13:00:45 -0400
Received: from mx.meyering.net ([82.230.74.64]:33899)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Qp1Hn-00079b-5U
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 13:00:43 -0400
Received: from rho.meyering.net (localhost.localdomain [127.0.0.1])
	by rho.meyering.net (Acme Bit-Twister) with ESMTP id EEF556009D;
	Thu,  4 Aug 2011 19:00:41 +0200 (CEST)
From: Jim Meyering <jim@meyering.net>
To: Eric Blake <eblake@redhat.com>
In-Reply-To: <4E3AC436.9030201@redhat.com> (Eric Blake's message of "Thu, 04
	Aug 2011 10:09:26 -0600")
References: <10d13d6fb4036cc51d36b387775aad74@imap.dd24.net>
	<4C649A8C.8060905@cs.ucla.edu>
	<1306534994.3190.7.camel@fermat.scientia.net>
	<alpine.DEB.2.00.1108031400070.21456@kolmogorov.unex.es>
	<87bow6vg3s.fsf@rho.meyering.net>
	<alpine.DEB.2.00.1108041456280.10003@cantor.unex.es>
	<871ux1s1fw.fsf@rho.meyering.net> <4E3AB53D.50209@cs.ucla.edu>
	<alpine.DEB.2.00.1108041725460.10959@cantor.unex.es>
	<4E3AC27F.4010302@cs.ucla.edu> <4E3AC436.9030201@redhat.com>
Date: Thu, 04 Aug 2011 19:00:41 +0200
Message-ID: <87r551p0w6.fsf@rho.meyering.net>
Lines: 58
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 82.230.74.64
Cc: bug-diffutils@gnu.org, Santiago Vila <sanvila@unex.es>
Subject: Re: [bug-diffutils] GFDL and invariants [was: bug: diff -r swaps
	the files it should check]
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Aug 2011 17:00:46 -0000

Eric Blake wrote:
> On 08/04/2011 10:02 AM, Paul Eggert wrote:
>> On 08/04/11 08:49, Santiago Vila wrote:
>>> Do you need a policy for dual-licensing? I think it would be just
>>> enough that you are allowed to dual-license it
>>
>> Well, the coding standards say simply
>> "Manuals should use the GNU Free Documentation License."
>> I would have real qualms about dual-licensing with
>> Joe Random License, but it may be that the GPL is OK.
>> I'll ask.
>
> In the past, when this issue was raised, the Debian community deemed
> patches such as the following as sufficient to resolve the licensing
> qualms, and the change complied with the GNU Coding Standards:
>
> http://git.savannah.gnu.org/cgit/m4.git/commit?id=ee1e92ec

Thanks, Eric.  That works for me.
I've just pushed this:

>From 789252980fa8ef3d804372cd347898aa5c2ec7fe Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@redhat.com>
Date: Thu, 4 Aug 2011 18:59:29 +0200
Subject: [PATCH] doc: relax restriction on front-cover and back-cover texts

* doc/diffutils.texi (copying): Relax restriction on front-cover
and back-cover texts (just as m4 did here:
http://git.savannah.gnu.org/cgit/m4.git/commit?id=ee1e92ec).
Reported by Santiago Vila.  Fix suggested by Eric Blake.
---
 doc/diffutils.texi |   11 +++--------
 1 files changed, 3 insertions(+), 8 deletions(-)

diff --git a/doc/diffutils.texi b/doc/diffutils.texi
index 4abc3fe..ee419a1 100644
--- a/doc/diffutils.texi
+++ b/doc/diffutils.texi
@@ -21,14 +21,9 @@ Software Foundation, Inc.
 Permission is granted to copy, distribute and/or modify this document
 under the terms of the GNU Free Documentation License, Version 1.3 or
 any later version published by the Free Software Foundation; with no
-Invariant Sections, with the Front-Cover texts being ``A GNU Manual,''
-and with the Back-Cover Texts as in (a) below.  A copy of the
-license is included in the section entitled ``GNU Free Documentation
-License.''
-
-(a) The FSF's Back-Cover Text is: ``You have the freedom to
-copy and modify this GNU manual.  Buying copies from the FSF
-supports it in developing GNU and promoting software freedom.''
+Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
+A copy of the license is included in the section entitled
+``@acronym{GNU} Free Documentation License.''
 @end quotation
 @end copying

--
1.7.4.4


From MAILER-DAEMON Thu Aug 04 17:28:39 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Qp5T5-0001xV-C5
	for mharc-bug-diffutils@gnu.org; Thu, 04 Aug 2011 17:28:39 -0400
Received: from eggs.gnu.org ([140.186.70.92]:52097)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1Qp5T2-0001wk-Q7
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 17:28:37 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1Qp5T1-0006M8-PU
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 17:28:36 -0400
Received: from smtp.cs.ucla.edu ([131.179.128.62]:46127)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1Qp5T1-0006Lv-IA
	for bug-diffutils@gnu.org; Thu, 04 Aug 2011 17:28:35 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.cs.ucla.edu (Postfix) with ESMTP id A59FF39E810F;
	Thu,  4 Aug 2011 14:28:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu
Received: from smtp.cs.ucla.edu ([127.0.0.1])
	by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id dttaOOokbOsE; Thu,  4 Aug 2011 14:28:34 -0700 (PDT)
Received: from [192.168.1.10] (pool-71-189-109-235.lsanca.fios.verizon.net
	[71.189.109.235])
	by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 0721839E80DC;
	Thu,  4 Aug 2011 14:28:34 -0700 (PDT)
Message-ID: <4E3B0F01.40707@cs.ucla.edu>
Date: Thu, 04 Aug 2011 14:28:33 -0700
From: Paul Eggert <eggert@cs.ucla.edu>
Organization: UCLA Computer Science Department
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11
MIME-Version: 1.0
To: Santiago Vila <sanvila@unex.es>
References: <10d13d6fb4036cc51d36b387775aad74@imap.dd24.net>	<4C649A8C.8060905@cs.ucla.edu>	<1306534994.3190.7.camel@fermat.scientia.net>	<alpine.DEB.2.00.1108031400070.21456@kolmogorov.unex.es>	<87bow6vg3s.fsf@rho.meyering.net>	<alpine.DEB.2.00.1108041456280.10003@cantor.unex.es>	<871ux1s1fw.fsf@rho.meyering.net>
	<4E3AB53D.50209@cs.ucla.edu>	<alpine.DEB.2.00.1108041725460.10959@cantor.unex.es>
	<4E3AC27F.4010302@cs.ucla.edu>
In-Reply-To: <4E3AC27F.4010302@cs.ucla.edu>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 131.179.128.62
Cc: bug-diffutils@gnu.org
Subject: Re: [bug-diffutils] bug: diff -r swaps the files it should check
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Aug 2011 21:28:37 -0000

On 08/04/11 09:02, Paul Eggert wrote:
> I'll ask.

The answer came back that the patch Jim installed
<http://git.savannah.gnu.org/cgit/diffutils.git/commit/?id=789252980fa8ef3d804372cd347898aa5c2ec7fe>
is OK for diffutils, since the GNU Press isn't publishing
the manual in printed form.  So this should make things
OK for Debian.


From MAILER-DAEMON Fri Aug 05 06:49:24 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QpHy0-0005Nq-Ml
	for mharc-bug-diffutils@gnu.org; Fri, 05 Aug 2011 06:49:24 -0400
Received: from eggs.gnu.org ([140.186.70.92]:47603)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sanvila@unex.es>) id 1QpHxx-0005NZ-NF
	for bug-diffutils@gnu.org; Fri, 05 Aug 2011 06:49:22 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sanvila@unex.es>) id 1QpHxw-0008Qs-Ne
	for bug-diffutils@gnu.org; Fri, 05 Aug 2011 06:49:21 -0400
Received: from pizarro.unex.es ([158.49.8.2]:41885)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sanvila@unex.es>) id 1QpHxw-0008Qm-FU
	for bug-diffutils@gnu.org; Fri, 05 Aug 2011 06:49:20 -0400
Received: from localhost (lavadora.siue [192.168.1.121])
	by pizarro.unex.es (Postfix) with ESMTP id 4030414809F;
	Fri,  5 Aug 2011 12:49:19 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at lavadora.unex.es
Received: from pizarro.unex.es ([192.168.1.103])
	by localhost (lavadora.unex.es [192.168.1.121]) (amavisd-new,
	port 10024)
	with ESMTP id O3Bw9f99m8Ku; Fri,  5 Aug 2011 12:42:33 +0200 (CEST)
Received: from guadiana.unex.es (guadiana.unex.es [158.49.17.23])
	by pizarro.unex.es (Postfix) with ESMTP id 1FE6F14806D;
	Fri,  5 Aug 2011 12:49:19 +0200 (CEST)
Received: from cantor.unex.es (cantor.unex.es [158.49.50.20])
	by guadiana.unex.es (Postfix) with ESMTPS id 670E34B98D;
	Fri,  5 Aug 2011 12:49:02 +0200 (CEST)
Date: Fri, 5 Aug 2011 12:49:02 +0200 (CEST)
From: Santiago Vila <sanvila@unex.es>
To: Jim Meyering <jim@meyering.net>
In-Reply-To: <87r551p0w6.fsf@rho.meyering.net>
Message-ID: <alpine.DEB.2.00.1108051247250.14406@cantor.unex.es>
References: <10d13d6fb4036cc51d36b387775aad74@imap.dd24.net>
	<4C649A8C.8060905@cs.ucla.edu>
	<1306534994.3190.7.camel@fermat.scientia.net>
	<alpine.DEB.2.00.1108031400070.21456@kolmogorov.unex.es>
	<87bow6vg3s.fsf@rho.meyering.net>
	<alpine.DEB.2.00.1108041456280.10003@cantor.unex.es>
	<871ux1s1fw.fsf@rho.meyering.net> <4E3AB53D.50209@cs.ucla.edu>
	<alpine.DEB.2.00.1108041725460.10959@cantor.unex.es>
	<4E3AC27F.4010302@cs.ucla.edu> <4E3AC436.9030201@redhat.com>
	<87r551p0w6.fsf@rho.meyering.net>
User-Agent: Alpine 2.00 (DEB 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 158.49.8.2
Cc: bug-diffutils@gnu.org
Subject: Re: [bug-diffutils] GFDL and invariants [was: bug: diff -r swaps
 the files it should check]
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 05 Aug 2011 10:49:22 -0000

On Thu, 4 Aug 2011, Jim Meyering wrote:

> Thanks, Eric.  That works for me.
> I've just pushed this:
> 
> >From 789252980fa8ef3d804372cd347898aa5c2ec7fe Mon Sep 17 00:00:00 2001
> From: Jim Meyering <meyering@redhat.com>
> Date: Thu, 4 Aug 2011 18:59:29 +0200
> Subject: [PATCH] doc: relax restriction on front-cover and back-cover texts
> [...]

Thanks a lot!


From MAILER-DAEMON Sun Aug 07 18:53:22 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QqCDi-0006Wk-Q5
	for mharc-bug-diffutils@gnu.org; Sun, 07 Aug 2011 18:53:22 -0400
Received: from eggs.gnu.org ([140.186.70.92]:47209)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sanvila@unex.es>) id 1QqCDf-0006TB-Si
	for bug-diffutils@gnu.org; Sun, 07 Aug 2011 18:53:20 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sanvila@unex.es>) id 1QqCDe-000217-U7
	for bug-diffutils@gnu.org; Sun, 07 Aug 2011 18:53:19 -0400
Received: from pizarro.unex.es ([158.49.8.2]:34247)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sanvila@unex.es>) id 1QqCDe-00020u-Or
	for bug-diffutils@gnu.org; Sun, 07 Aug 2011 18:53:18 -0400
Received: from localhost (lavadora.siue [192.168.1.121])
	by pizarro.unex.es (Postfix) with ESMTP id E149114801F
	for <bug-diffutils@gnu.org>; Mon,  8 Aug 2011 00:53:16 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at lavadora.unex.es
Received: from pizarro.unex.es ([192.168.1.103])
	by localhost (lavadora.unex.es [192.168.1.121]) (amavisd-new,
	port 10024) with ESMTP id Od-9SylGMlX3 for <bug-diffutils@gnu.org>;
	Mon,  8 Aug 2011 00:46:22 +0200 (CEST)
Received: from guadiana.unex.es (guadiana.unex.es [158.49.17.23])
	by pizarro.unex.es (Postfix) with ESMTP id C4183148004
	for <bug-diffutils@gnu.org>; Mon,  8 Aug 2011 00:53:16 +0200 (CEST)
Received: from cantor.unex.es (cantor.unex.es [158.49.50.20])
	by guadiana.unex.es (Postfix) with ESMTPS id 872D14B97B
	for <bug-diffutils@gnu.org>; Mon,  8 Aug 2011 00:53:16 +0200 (CEST)
Date: Mon, 8 Aug 2011 00:53:16 +0200 (CEST)
From: Santiago Vila <sanvila@unex.es>
To: bug-diffutils@gnu.org
Message-ID: <alpine.DEB.2.00.1108080051080.25898@cantor.unex.es>
User-Agent: Alpine 2.00 (DEB 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 158.49.8.2
Subject: [bug-diffutils] Missing comma (?)
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 07 Aug 2011 22:53:20 -0000

Hi.

While updating es.po I've noticed you have added commas everywhere
between short and long options, so this is likely a miss:

diff --git a/src/diff.c b/src/diff.c
index fb8a2bc..6a08f36 100644
--- a/src/diff.c
+++ b/src/diff.c
@@ -880,7 +880,7 @@ static char const * const option_help_msgid[] = {
   "",
   N_("-i, --ignore-case               ignore case differences in file contents"),
   N_("-E, --ignore-tab-expansion      ignore changes due to tab expansion"),
-  N_("-b  --ignore-space-change       ignore changes in the amount of white space"),
+  N_("-b, --ignore-space-change       ignore changes in the amount of white space"),
   N_("-w, --ignore-all-space          ignore all white space"),
   N_("-B, --ignore-blank-lines        ignore changes whose lines are all blank"),
   N_("-I, --ignore-matching-lines=RE  ignore changes whose lines all match RE"),


Thanks.


From MAILER-DAEMON Mon Aug 08 11:41:48 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QqRxc-00080i-TH
	for mharc-bug-diffutils@gnu.org; Mon, 08 Aug 2011 11:41:48 -0400
Received: from eggs.gnu.org ([140.186.70.92]:33331)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1QqRxa-0007zd-HF
	for bug-diffutils@gnu.org; Mon, 08 Aug 2011 11:41:47 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1QqRxZ-0007JD-Hv
	for bug-diffutils@gnu.org; Mon, 08 Aug 2011 11:41:46 -0400
Received: from mx1.redhat.com ([209.132.183.28]:40225)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1QqRxZ-0007J5-9n
	for bug-diffutils@gnu.org; Mon, 08 Aug 2011 11:41:45 -0400
Received: from int-mx09.intmail.prod.int.phx2.redhat.com
	(int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p78Ffitk027493
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Mon, 8 Aug 2011 11:41:44 -0400
Received: from [10.3.113.144] (ovpn-113-144.phx2.redhat.com [10.3.113.144])
	by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id p78FfhWQ010863; Mon, 8 Aug 2011 11:41:43 -0400
Message-ID: <4E4003B2.9010607@redhat.com>
Date: Mon, 08 Aug 2011 09:41:38 -0600
From: Eric Blake <eblake@redhat.com>
Organization: Red Hat
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US;
	rv:1.9.2.18) Gecko/20110621 Fedora/3.1.11-1.fc14
	Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.11
MIME-Version: 1.0
To: Jim Meyering <jim@meyering.net>
References: <10d13d6fb4036cc51d36b387775aad74@imap.dd24.net>	<4C649A8C.8060905@cs.ucla.edu>	<1306534994.3190.7.camel@fermat.scientia.net>	<alpine.DEB.2.00.1108031400070.21456@kolmogorov.unex.es>	<87bow6vg3s.fsf@rho.meyering.net>	<alpine.DEB.2.00.1108041456280.10003@cantor.unex.es>
	<871ux1s1fw.fsf@rho.meyering.net>
In-Reply-To: <871ux1s1fw.fsf@rho.meyering.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.132.183.28
Cc: bug-diffutils@gnu.org, Santiago Vila <sanvila@unex.es>
Subject: Re: [bug-diffutils] bug: diff -r swaps the files it should check
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Aug 2011 15:41:47 -0000

On 08/04/2011 08:20 AM, Jim Meyering wrote:
>>> A release seems justifiable, and I can make one pretty easily.
>>> I'll wait a day or so, in case anyone has a reason to defer.
>>
>> I'd love to see a beta release, if you still do that sort of thing.
>> That would give me some more time to check which ones of the bugs here:
>>
>> http://bugs.debian.org/diffutils
>>
>> are still unresolved.
>
> I've just published a snapshot.
> Hope that's good enough for you.

Do not release diffutils without first updating gnulib; otherwise you 
will suffer from broken large file support:
http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/27646/focus=27851

-- 
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


From MAILER-DAEMON Mon Aug 08 11:45:03 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QqS0l-0008Jn-7X
	for mharc-bug-diffutils@gnu.org; Mon, 08 Aug 2011 11:45:03 -0400
Received: from eggs.gnu.org ([140.186.70.92]:33983)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1QqS0i-0008I7-Lr
	for bug-diffutils@gnu.org; Mon, 08 Aug 2011 11:45:01 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1QqS0h-00086A-9b
	for bug-diffutils@gnu.org; Mon, 08 Aug 2011 11:45:00 -0400
Received: from mx1.redhat.com ([209.132.183.28]:48420)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1QqS0g-000862-W9
	for bug-diffutils@gnu.org; Mon, 08 Aug 2011 11:44:59 -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 p78FiwhY018369
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Mon, 8 Aug 2011 11:44:58 -0400
Received: from [10.3.113.144] (ovpn-113-144.phx2.redhat.com [10.3.113.144])
	by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id p78FivfZ005796; Mon, 8 Aug 2011 11:44:57 -0400
Message-ID: <4E400479.7030208@redhat.com>
Date: Mon, 08 Aug 2011 09:44:57 -0600
From: Eric Blake <eblake@redhat.com>
Organization: Red Hat
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US;
	rv:1.9.2.18) Gecko/20110621 Fedora/3.1.11-1.fc14
	Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.11
MIME-Version: 1.0
References: <10d13d6fb4036cc51d36b387775aad74@imap.dd24.net>	<4C649A8C.8060905@cs.ucla.edu>	<1306534994.3190.7.camel@fermat.scientia.net>	<alpine.DEB.2.00.1108031400070.21456@kolmogorov.unex.es>	<87bow6vg3s.fsf@rho.meyering.net>	<alpine.DEB.2.00.1108041456280.10003@cantor.unex.es>	<871ux1s1fw.fsf@rho.meyering.net>
	<4E4003B2.9010607@redhat.com>
In-Reply-To: <4E4003B2.9010607@redhat.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
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
Cc: bug-diffutils@gnu.org, Santiago Vila <sanvila@unex.es>
Subject: Re: [bug-diffutils] bug: diff -r swaps the files it should check
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Aug 2011 15:45:01 -0000

On 08/08/2011 09:41 AM, Eric Blake wrote:
> On 08/04/2011 08:20 AM, Jim Meyering wrote:
>>>> A release seems justifiable, and I can make one pretty easily.
>>>> I'll wait a day or so, in case anyone has a reason to defer.
>>>
>>> I'd love to see a beta release, if you still do that sort of thing.
>>> That would give me some more time to check which ones of the bugs here:
>>>
>>> http://bugs.debian.org/diffutils
>>>
>>> are still unresolved.
>>
>> I've just published a snapshot.
>> Hope that's good enough for you.
>
> Do not release diffutils without first updating gnulib; otherwise you
> will suffer from broken large file support:
> http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/27646/focus=27851

Actually, diffutils is immune due to an accidental redundancy, but once 
you update to the latest gnulib, you may want to remove this redundant line:

 From 1f7df140770c0a396c353b16915f9a6e88ec3876 Mon Sep 17 00:00:00 2001
From: Eric Blake <eblake@redhat.com>
Date: Mon, 8 Aug 2011 09:44:32 -0600
Subject: [PATCH] build: drop redundant AC_SYS_LARGEFILE

* configure.ac (AC_SYS_LARGEFILE): Drop macro guaranteed by
gnulib.
* gnulib: Update to latest, for working AC_SYS_LARGEFILE.
---
  configure.ac |    1 -
  gnulib       |    2 +-
  2 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 1afc344..a92d950 100644
--- a/configure.ac
+++ b/configure.ac
@@ -38,7 +38,6 @@ AM_MISSING_PROG([HELP2MAN], [help2man])
  AC_PROG_RANLIB
  gl_EARLY
  gl_USE_SYSTEM_EXTENSIONS
-AC_SYS_LARGEFILE
  gl_INIT

  AC_ARG_ENABLE([gcc-warnings],
diff --git a/gnulib b/gnulib
index 8068b5d..4470580 160000
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit 8068b5d283630a295b2929b9dc6a65916b10f52f
+Subproject commit 4470580881a7b821b52fb5635102ef3e27aa5af4
-- 
1.7.4.4


-- 
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


From MAILER-DAEMON Mon Aug 08 11:54:30 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QqS9u-00037h-D9
	for mharc-bug-diffutils@gnu.org; Mon, 08 Aug 2011 11:54:30 -0400
Received: from eggs.gnu.org ([140.186.70.92]:33726)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1QqS9q-00036q-NX
	for bug-diffutils@gnu.org; Mon, 08 Aug 2011 11:54:27 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1QqS9p-0001ln-N2
	for bug-diffutils@gnu.org; Mon, 08 Aug 2011 11:54:26 -0400
Received: from smtp.cs.ucla.edu ([131.179.128.62]:53221)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1QqS9p-0001lH-FC
	for bug-diffutils@gnu.org; Mon, 08 Aug 2011 11:54:25 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.cs.ucla.edu (Postfix) with ESMTP id C58E639E80F7;
	Mon,  8 Aug 2011 08:54:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu
Received: from smtp.cs.ucla.edu ([127.0.0.1])
	by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id bk8vcW7KyZrs; Mon,  8 Aug 2011 08:54:22 -0700 (PDT)
Received: from [10.1.205.231] (206-169-234-26.static.twtelecom.net
	[206.169.234.26])
	by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 4E80C39E80DC;
	Mon,  8 Aug 2011 08:54:22 -0700 (PDT)
Message-ID: <4E4006AC.4040207@cs.ucla.edu>
Date: Mon, 08 Aug 2011 08:54:20 -0700
From: Paul Eggert <eggert@cs.ucla.edu>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11
MIME-Version: 1.0
To: Eric Blake <eblake@redhat.com>
References: <10d13d6fb4036cc51d36b387775aad74@imap.dd24.net>	<4C649A8C.8060905@cs.ucla.edu>	<1306534994.3190.7.camel@fermat.scientia.net>	<alpine.DEB.2.00.1108031400070.21456@kolmogorov.unex.es>	<87bow6vg3s.fsf@rho.meyering.net>	<alpine.DEB.2.00.1108041456280.10003@cantor.unex.es>	<871ux1s1fw.fsf@rho.meyering.net>	<4E4003B2.9010607@redhat.com>
	<4E400479.7030208@redhat.com>
In-Reply-To: <4E400479.7030208@redhat.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 131.179.128.62
Cc: bug-diffutils@gnu.org, Santiago Vila <sanvila@unex.es>
Subject: Re: [bug-diffutils] bug: diff -r swaps the files it should check
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Aug 2011 15:54:27 -0000

On 08/08/2011 08:44 AM, Eric Blake wrote:
> once you update to the latest gnulib, you may want to remove this redundant line:

I don't see that as a redundancy.  Diffutils accesses the
file system directly, as well as via gnulib.  If gnulib were
to change such that it didn't need to access the file system
(admittedly unlikely), then gnulib could drop the dependency;
but diffutils would still need it.

I expect this is why I didn't observe the bug despite testing the
buggy change with coreutils and Emacs: both invoke AC_SYS_LARGEFILE
early on.


From MAILER-DAEMON Mon Aug 08 12:01:21 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QqSGX-0006zs-Lz
	for mharc-bug-diffutils@gnu.org; Mon, 08 Aug 2011 12:01:21 -0400
Received: from eggs.gnu.org ([140.186.70.92]:48537)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1QqSGU-0006zQ-5c
	for bug-diffutils@gnu.org; Mon, 08 Aug 2011 12:01:19 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1QqSGS-0004Ed-T9
	for bug-diffutils@gnu.org; Mon, 08 Aug 2011 12:01:18 -0400
Received: from mx.meyering.net ([82.230.74.64]:60354)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1QqSGS-0004EN-NE
	for bug-diffutils@gnu.org; Mon, 08 Aug 2011 12:01:16 -0400
Received: from rho.meyering.net (localhost.localdomain [127.0.0.1])
	by rho.meyering.net (Acme Bit-Twister) with ESMTP id CBBD3600D0;
	Mon,  8 Aug 2011 18:01:14 +0200 (CEST)
From: Jim Meyering <jim@meyering.net>
To: Santiago Vila <sanvila@unex.es>
In-Reply-To: <alpine.DEB.2.00.1108080051080.25898@cantor.unex.es> (Santiago
	Vila's message of "Mon, 8 Aug 2011 00:53:16 +0200 (CEST)")
References: <alpine.DEB.2.00.1108080051080.25898@cantor.unex.es>
Date: Mon, 08 Aug 2011 18:01:14 +0200
Message-ID: <87obzzao51.fsf@rho.meyering.net>
Lines: 47
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 82.230.74.64
Cc: bug-diffutils@gnu.org
Subject: Re: [bug-diffutils] Missing comma (?)
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Aug 2011 16:01:19 -0000

Santiago Vila wrote:
> While updating es.po I've noticed you have added commas everywhere
> between short and long options, so this is likely a miss:
>
> diff --git a/src/diff.c b/src/diff.c
> index fb8a2bc..6a08f36 100644
> --- a/src/diff.c
> +++ b/src/diff.c
> @@ -880,7 +880,7 @@ static char const * const option_help_msgid[] = {
>    "",
>    N_("-i, --ignore-case ignore case differences in file contents"),
>    N_("-E, --ignore-tab-expansion      ignore changes due to tab expansion"),
> - N_("-b --ignore-space-change ignore changes in the amount of white
> space"),
> + N_("-b, --ignore-space-change ignore changes in the amount of white
> space"),

Good catch.
I'll push this in your name:

>From 8832cf045d62a4a40e6df948e6cf8b85485653a0 Mon Sep 17 00:00:00 2001
From: Santiago Vila <sanvila@unex.es>
Date: Mon, 8 Aug 2011 17:59:46 +0200
Subject: [PATCH] doc: insert comma in --help line for --ignore-space-change
 (-b)

* src/diff.c (option_help_msgid): Insert omitted comma between
"-b" and "--ignore-space-change".  (tiny change)
---
 src/diff.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/diff.c b/src/diff.c
index fb8a2bc..6a08f36 100644
--- a/src/diff.c
+++ b/src/diff.c
@@ -880,7 +880,7 @@ static char const * const option_help_msgid[] = {
   "",
   N_("-i, --ignore-case               ignore case differences in file contents"),
   N_("-E, --ignore-tab-expansion      ignore changes due to tab expansion"),
-  N_("-b  --ignore-space-change       ignore changes in the amount of white space"),
+  N_("-b, --ignore-space-change       ignore changes in the amount of white space"),
   N_("-w, --ignore-all-space          ignore all white space"),
   N_("-B, --ignore-blank-lines        ignore changes whose lines are all blank"),
   N_("-I, --ignore-matching-lines=RE  ignore changes whose lines all match RE"),
--
1.7.4.4


From MAILER-DAEMON Mon Aug 08 13:04:14 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QqTFO-0006Xy-K6
	for mharc-bug-diffutils@gnu.org; Mon, 08 Aug 2011 13:04:14 -0400
Received: from eggs.gnu.org ([140.186.70.92]:43216)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1QqTFL-0006Xe-Nt
	for bug-diffutils@gnu.org; Mon, 08 Aug 2011 13:04:13 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1QqTFK-0001Zo-QV
	for bug-diffutils@gnu.org; Mon, 08 Aug 2011 13:04:11 -0400
Received: from mx1.redhat.com ([209.132.183.28]:30304)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1QqTFK-0001Zh-JU
	for bug-diffutils@gnu.org; Mon, 08 Aug 2011 13:04:10 -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 p78H48Qx001806
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Mon, 8 Aug 2011 13:04:09 -0400
Received: from [10.3.113.144] (ovpn-113-144.phx2.redhat.com [10.3.113.144])
	by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id p78H47gX005463; Mon, 8 Aug 2011 13:04:07 -0400
Message-ID: <4E401707.6050206@redhat.com>
Date: Mon, 08 Aug 2011 11:04:07 -0600
From: Eric Blake <eblake@redhat.com>
Organization: Red Hat
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US;
	rv:1.9.2.18) Gecko/20110621 Fedora/3.1.11-1.fc14
	Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.11
MIME-Version: 1.0
To: Paul Eggert <eggert@cs.ucla.edu>
References: <10d13d6fb4036cc51d36b387775aad74@imap.dd24.net>	<4C649A8C.8060905@cs.ucla.edu>	<1306534994.3190.7.camel@fermat.scientia.net>	<alpine.DEB.2.00.1108031400070.21456@kolmogorov.unex.es>	<87bow6vg3s.fsf@rho.meyering.net>	<alpine.DEB.2.00.1108041456280.10003@cantor.unex.es>	<871ux1s1fw.fsf@rho.meyering.net>	<4E4003B2.9010607@redhat.com>
	<4E400479.7030208@redhat.com> <4E4006AC.4040207@cs.ucla.edu>
In-Reply-To: <4E4006AC.4040207@cs.ucla.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
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
Cc: bug-diffutils@gnu.org, Santiago Vila <sanvila@unex.es>
Subject: Re: [bug-diffutils] bug: diff -r swaps the files it should check
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Aug 2011 17:04:13 -0000

On 08/08/2011 09:54 AM, Paul Eggert wrote:
> On 08/08/2011 08:44 AM, Eric Blake wrote:
>> once you update to the latest gnulib, you may want to remove this redundant line:
>
> I don't see that as a redundancy.  Diffutils accesses the
> file system directly, as well as via gnulib.  If gnulib were
> to change such that it didn't need to access the file system
> (admittedly unlikely), then gnulib could drop the dependency;
> but diffutils would still need it.

Then diffutils should explicitly include 'largefile' in its list of 
required modules, as in:

diff --git i/bootstrap.conf w/bootstrap.conf
index 5aa783b..e6a76b4 100644
--- i/bootstrap.conf
+++ w/bootstrap.conf
@@ -46,6 +46,7 @@ gnupload
  hard-locale
  inttostr
  inttypes
+largefile
  maintainer-makefile
  manywarnings
  mbrtowc

I still argue that it is wrong to duplicate AC_SYS_LARGEFILE if we are 
explicitly depending on a gnulib module documented to guarantee that 
same aspect.

-- 
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


From MAILER-DAEMON Mon Aug 08 17:39:51 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QqXY7-0001n2-9x
	for mharc-bug-diffutils@gnu.org; Mon, 08 Aug 2011 17:39:51 -0400
Received: from eggs.gnu.org ([140.186.70.92]:36731)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bensberg@justemail.net>) id 1Qq8DB-0000EK-SV
	for bug-diffutils@gnu.org; Sun, 07 Aug 2011 14:36:34 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bensberg@justemail.net>) id 1Qq8DA-00028f-Jb
	for bug-diffutils@gnu.org; Sun, 07 Aug 2011 14:36:33 -0400
Received: from out3.smtp.messagingengine.com ([66.111.4.27]:34963)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bensberg@justemail.net>) id 1Qq8DA-00028U-Fj
	for bug-diffutils@gnu.org; Sun, 07 Aug 2011 14:36:32 -0400
Received: from compute6.internal (compute6.nyi.mail.srv.osa [10.202.2.46])
	by gateway1.messagingengine.com (Postfix) with ESMTP id 828BB203D9
	for <bug-diffutils@gnu.org>; Sun,  7 Aug 2011 14:36:30 -0400 (EDT)
Received: from web1.messagingengine.com ([10.202.2.211])
	by compute6.internal (MEProxy); Sun, 07 Aug 2011 14:36:30 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
	messagingengine.com; h=message-id:from:to:mime-version
	:content-transfer-encoding:content-type:subject:date; s=smtpout;
	bh=Ueg7RaGmDtALD9q8oLiixwYjj0U=; b=JEDT3aDPirpZ8a3dWIYeaM61CN8K
	wOrXpc8Nj4jfPsg6IquLH3NVHp5RCsz+zaQf4v1tO7WQBx66AbpPiiYRZni+2nMY
	PlfaVGS2PU+486qqF14UqS19ZI3R6EoxT1pKAeBjwz8c+QQqyNFiUg4QgpB5V22W
	ASnalz0aIJtFhOQ=
Received: by web1.messagingengine.com (Postfix, from userid 99)
	id 5ECE93D8F95; Sun,  7 Aug 2011 14:36:30 -0400 (EDT)
Message-Id: <1312742190.24112.2160461573@webmail.messagingengine.com>
X-Sasl-Enc: Kzjyhn4O+AoeIs0aJvrBPpneiAG5oYv/K70G3J+zp5fG 1312742190
From: "Benno Schulenberg" <bensberg@justemail.net>
To: bug-diffutils@gnu.org
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: multipart/mixed; boundary="_----------=_1312742190241121"
X-Mailer: MessagingEngine.com Webmail Interface
Date: Sun, 07 Aug 2011 20:36:30 +0200
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 66.111.4.27
X-Mailman-Approved-At: Mon, 08 Aug 2011 17:39:49 -0400
Subject: [bug-diffutils] [patches] minute improvements to diff's help text
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 07 Aug 2011 18:36:35 -0000

This is a multi-part message in MIME format.

--_----------=_1312742190241121
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"
Date: Sun, 7 Aug 2011 14:36:30 -0400
X-Mailer: MessagingEngine.com Webmail Interface


Hi,

The first patch adds the missing comma after option "-b" in
the help text of diff.  The second patch expands the word PAT
to the more readable PATTERN after option "-x".  Apply these
two patches please only after release of 3.1 -- or now if there
will be a pre2.

The third patch discards the strange output mechanism for the
help text and makes it similar to those of cmp, diff and sdiff.
Four text lines are moved from option_help_msgid[] to their own
printf() statement to avoid getting these lines strangely indented
in translation -- in Dutch for example the exit status line would
get indented by two spaces.  It also makes continuation lines
get aligned in the same fashion across the four programs.

(Please CC, not subscribed.)

Regards,

Benno

-- 
http://www.fastmail.fm - Or how I learned to stop worrying and
                          love email again


--_----------=_1312742190241121
MIME-Version: 1.0
Content-Disposition: attachment; filename="0001-diff-tiniest-of-corrections-add-missing-comma.patch"
Content-Id: <2a9144d7c7050998c97857d4908400702adefc29@messagingengine.com>
Content-Transfer-Encoding: base64
Content-Type: text/x-patch; name="0001-diff-tiniest-of-corrections-add-missing-comma.patch"
X-Mailer: MIME::Lite 3.027 (F2.77; A2.06; B3.08; Q3.08)
Date: Sun, 7 Aug 2011 14:36:30 -0400

RnJvbSBiNmY3NDRiMWQwYjkwY2RhNDM0Yzk4NzMzZmJhYmExZTYzZTZkMGIz
IE1vbiBTZXAgMTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBCZW5ubyBTY2h1bGVu
YmVyZyA8YmVuc2JlcmdAanVzdGVtYWlsLm5ldD4KRGF0ZTogU3VuLCA3IEF1
ZyAyMDExIDIwOjAzOjU0ICswMjAwClN1YmplY3Q6IFtQQVRDSCAxLzNdIGRp
ZmY6ICh0aW5pZXN0IG9mIGNvcnJlY3Rpb25zKSBhZGQgbWlzc2luZyBjb21t
YQoKKiBzcmMvZGlmZi5jIChvcHRpb25faGVscF9tc2dpZCk6IGFkZCBtaXNz
aW5nIGNvbW1hIGZvciBjb25zaXN0ZW5jeQotLS0KIHNyYy9kaWZmLmMgfCAg
ICAyICstCiAxIGZpbGVzIGNoYW5nZWQsIDEgaW5zZXJ0aW9ucygrKSwgMSBk
ZWxldGlvbnMoLSkKCmRpZmYgLS1naXQgYS9zcmMvZGlmZi5jIGIvc3JjL2Rp
ZmYuYwppbmRleCBmYjhhMmJjLi42YTA4ZjM2IDEwMDY0NAotLS0gYS9zcmMv
ZGlmZi5jCisrKyBiL3NyYy9kaWZmLmMKQEAgLTg4MCw3ICs4ODAsNyBAQCBz
dGF0aWMgY2hhciBjb25zdCAqIGNvbnN0IG9wdGlvbl9oZWxwX21zZ2lkW10g
PSB7CiAgICIiLAogICBOXygiLWksIC0taWdub3JlLWNhc2UgICAgICAgICAg
ICAgICBpZ25vcmUgY2FzZSBkaWZmZXJlbmNlcyBpbiBmaWxlIGNvbnRlbnRz
IiksCiAgIE5fKCItRSwgLS1pZ25vcmUtdGFiLWV4cGFuc2lvbiAgICAgIGln
bm9yZSBjaGFuZ2VzIGR1ZSB0byB0YWIgZXhwYW5zaW9uIiksCi0gIE5fKCIt
YiAgLS1pZ25vcmUtc3BhY2UtY2hhbmdlICAgICAgIGlnbm9yZSBjaGFuZ2Vz
IGluIHRoZSBhbW91bnQgb2Ygd2hpdGUgc3BhY2UiKSwKKyAgTl8oIi1iLCAt
LWlnbm9yZS1zcGFjZS1jaGFuZ2UgICAgICAgaWdub3JlIGNoYW5nZXMgaW4g
dGhlIGFtb3VudCBvZiB3aGl0ZSBzcGFjZSIpLAogICBOXygiLXcsIC0taWdu
b3JlLWFsbC1zcGFjZSAgICAgICAgICBpZ25vcmUgYWxsIHdoaXRlIHNwYWNl
IiksCiAgIE5fKCItQiwgLS1pZ25vcmUtYmxhbmstbGluZXMgICAgICAgIGln
bm9yZSBjaGFuZ2VzIHdob3NlIGxpbmVzIGFyZSBhbGwgYmxhbmsiKSwKICAg
Tl8oIi1JLCAtLWlnbm9yZS1tYXRjaGluZy1saW5lcz1SRSAgaWdub3JlIGNo
YW5nZXMgd2hvc2UgbGluZXMgYWxsIG1hdGNoIFJFIiksCi0tIAoxLjcuMC40
Cgo=

--_----------=_1312742190241121
MIME-Version: 1.0
Content-Disposition: attachment; filename="0002-diff-tiny-improvement-use-full-word-instead-of-abbre.patch"
Content-Id: <aae7c531c9c549ab6b746dbdfcaa2374de39b16f@messagingengine.com>
Content-Transfer-Encoding: base64
Content-Type: text/x-patch; name="0002-diff-tiny-improvement-use-full-word-instead-of-abbre.patch"
X-Mailer: MIME::Lite 3.027 (F2.77; A2.06; B3.08; Q3.08)
Date: Sun, 7 Aug 2011 14:36:30 -0400

RnJvbSBiOTk3ZjdiMjUzMDY0MzM2ODE3MmJlODJhNTkyY2E4ZDZmNDkxZDlj
IE1vbiBTZXAgMTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBCZW5ubyBTY2h1bGVu
YmVyZyA8YmVuc2JlcmdAanVzdGVtYWlsLm5ldD4KRGF0ZTogU3VuLCA3IEF1
ZyAyMDExIDIwOjA4OjE5ICswMjAwClN1YmplY3Q6IFtQQVRDSCAyLzNdIGRp
ZmY6ICh0aW55IGltcHJvdmVtZW50KSB1c2UgZnVsbCB3b3JkIGluc3RlYWQg
b2YgYWJicmV2aWF0aW9uCgoqIHNyYy9kaWZmLmMgKG9wdGlvbl9oZWxwX21z
Z2lkKTogZnVsbCB3b3JkIGluc3RlYWQgb2YgYWJicmV2Ci0tLQogc3JjL2Rp
ZmYuYyB8ICAgIDIgKy0KIDEgZmlsZXMgY2hhbmdlZCwgMSBpbnNlcnRpb25z
KCspLCAxIGRlbGV0aW9ucygtKQoKZGlmZiAtLWdpdCBhL3NyYy9kaWZmLmMg
Yi9zcmMvZGlmZi5jCmluZGV4IDZhMDhmMzYuLjE0OThjOWMgMTAwNjQ0Ci0t
LSBhL3NyYy9kaWZmLmMKKysrIGIvc3JjL2RpZmYuYwpAQCAtODcwLDcgKzg3
MCw3IEBAIHN0YXRpYyBjaGFyIGNvbnN0ICogY29uc3Qgb3B0aW9uX2hlbHBf
bXNnaWRbXSA9IHsKICAgTl8oIiAgICAtLXVuaWRpcmVjdGlvbmFsLW5ldy1m
aWxlICAgdHJlYXQgYWJzZW50IGZpcnN0IGZpbGVzIGFzIGVtcHR5IiksCiAg
IE5fKCIgICAgLS1pZ25vcmUtZmlsZS1uYW1lLWNhc2UgICAgIGlnbm9yZSBj
YXNlIHdoZW4gY29tcGFyaW5nIGZpbGUgbmFtZXMiKSwKICAgTl8oIiAgICAt
LW5vLWlnbm9yZS1maWxlLW5hbWUtY2FzZSAgY29uc2lkZXIgY2FzZSB3aGVu
IGNvbXBhcmluZyBmaWxlIG5hbWVzIiksCi0gIE5fKCIteCwgLS1leGNsdWRl
PVBBVCAgICAgICAgICAgICAgIGV4Y2x1ZGUgZmlsZXMgdGhhdCBtYXRjaCBQ
QVQiKSwKKyAgTl8oIi14LCAtLWV4Y2x1ZGU9UEFUVEVSTiAgICAgICAgICAg
ZXhjbHVkZSBmaWxlcyB0aGF0IG1hdGNoIFBBVFRFUk4iKSwKICAgTl8oIi1Y
LCAtLWV4Y2x1ZGUtZnJvbT1GSUxFICAgICAgICAgZXhjbHVkZSBmaWxlcyB0
aGF0IG1hdGNoIGFueSBwYXR0ZXJuIGluIEZJTEUiKSwKICAgTl8oIi1TLCAt
LXN0YXJ0aW5nLWZpbGU9RklMRSAgICAgICAgc3RhcnQgd2l0aCBGSUxFIHdo
ZW4gY29tcGFyaW5nIGRpcmVjdG9yaWVzIiksCiAgIE5fKCIgICAgLS1mcm9t
LWZpbGU9RklMRTEgICAgICAgICAgIGNvbXBhcmUgRklMRTEgdG8gYWxsIG9w
ZXJhbmRzO1xuIgotLSAKMS43LjAuNAoK

--_----------=_1312742190241121
MIME-Version: 1.0
Content-Disposition: attachment; filename="0003-diff-simplify-the-manner-of-outputting-the-help-text.patch"
Content-Id: <2a63c8876302619ac3ed60d322e7e073731580e1@messagingengine.com>
Content-Transfer-Encoding: base64
Content-Type: text/x-patch; name="0003-diff-simplify-the-manner-of-outputting-the-help-text.patch"
X-Mailer: MIME::Lite 3.027 (F2.77; A2.06; B3.08; Q3.08)
Date: Sun, 7 Aug 2011 14:36:30 -0400

RnJvbSBiNTczNGJkM2ZlNmM3MGY1YTE4ZDIyMWQzMTNiYmI0NzJkYzZhNTAw
IE1vbiBTZXAgMTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBCZW5ubyBTY2h1bGVu
YmVyZyA8YmVuc2JlcmdAanVzdGVtYWlsLm5ldD4KRGF0ZTogU3VuLCA3IEF1
ZyAyMDExIDIwOjExOjIzICswMjAwClN1YmplY3Q6IFtQQVRDSCAzLzNdIGRp
ZmY6IHNpbXBsaWZ5IHRoZSBtYW5uZXIgb2Ygb3V0cHV0dGluZyB0aGUgaGVs
cCB0ZXh0CgoqIHNyYy9kaWZmLmMgKG9wdGlvbl9oZWxwX21zZ2lkLCB1c2Fn
ZSk6IE1ha2UgdGhlIG91dHB1dCBtZWNoYW5pc20Kb2YgdGhlIGhlbHAgdGV4
dCBhcyBzaW1wbGUgYXMgZm9yIGNtcCwgZGlmZjMgYW5kIHNkaWZmLCB0aHVz
IGFsc28KbWFraW5nIGluZGVudGF0aW9uIG9mIHRyYW5zbGF0aW9ucyBhbGln
biBpbiB0aGUgc2FtZSBmYXNoaW9uLgotLS0KIHNyYy9kaWZmLmMgfCAgIDIz
ICsrKysrKy0tLS0tLS0tLS0tLS0tLS0tCiAxIGZpbGVzIGNoYW5nZWQsIDYg
aW5zZXJ0aW9ucygrKSwgMTcgZGVsZXRpb25zKC0pCgpkaWZmIC0tZ2l0IGEv
c3JjL2RpZmYuYyBiL3NyYy9kaWZmLmMKaW5kZXggMTQ5OGM5Yy4uMDBkZTIx
OCAxMDA2NDQKLS0tIGEvc3JjL2RpZmYuYworKysgYi9zcmMvZGlmZi5jCkBA
IC05MjYsMTEgKzkyNiw2IEBAIHN0YXRpYyBjaGFyIGNvbnN0ICogY29uc3Qg
b3B0aW9uX2hlbHBfbXNnaWRbXSA9IHsKICAgIiIsCiAgIE5fKCIgICAgLS1o
ZWxwICAgICAgICAgICAgICAgZGlzcGxheSB0aGlzIGhlbHAgYW5kIGV4aXQi
KSwKICAgTl8oIi12LCAtLXZlcnNpb24gICAgICAgICAgICBvdXRwdXQgdmVy
c2lvbiBpbmZvcm1hdGlvbiBhbmQgZXhpdCIpLAotICAiIiwKLSAgTl8oIkZJ
TEVTIGFyZSBgRklMRTEgRklMRTInIG9yIGBESVIxIERJUjInIG9yIGBESVIg
RklMRS4uLicgb3IgYEZJTEUuLi4gRElSJy4iKSwKLSAgTl8oIklmIC0tZnJv
bS1maWxlIG9yIC0tdG8tZmlsZSBpcyBnaXZlbiwgdGhlcmUgYXJlIG5vIHJl
c3RyaWN0aW9ucyBvbiBGSUxFKHMpLiIpLAotICBOXygiSWYgYSBGSUxFIGlz
IGAtJywgcmVhZCBzdGFuZGFyZCBpbnB1dC4iKSwKLSAgTl8oIkV4aXQgc3Rh
dHVzIGlzIDAgaWYgaW5wdXRzIGFyZSB0aGUgc2FtZSwgMSBpZiBkaWZmZXJl
bnQsIDIgaWYgdHJvdWJsZS4iKSwKICAgMAogfTsKIApAQCAtOTUxLDE5ICs5
NDYsMTMgQEAgTWFuZGF0b3J5IGFyZ3VtZW50cyB0byBsb25nIG9wdGlvbnMg
YXJlIG1hbmRhdG9yeSBmb3Igc2hvcnQgb3B0aW9ucyB0b28uXG5cCiAgICAg
ICBpZiAoISoqcCkKIAlwdXRjaGFyICgnXG4nKTsKICAgICAgIGVsc2UKLQl7
Ci0JICBjaGFyIGNvbnN0ICptc2cgPSBfKCpwKTsKLQkgIGNoYXIgY29uc3Qg
Km5sOwotCSAgd2hpbGUgKChubCA9IHN0cmNociAobXNnLCAnXG4nKSkpCi0J
ICAgIHsKLQkgICAgICBpbnQgbXNnbGVuID0gbmwgKyAxIC0gbXNnOwotCSAg
ICAgIHByaW50ZiAoIiAgJS4qcyIsIG1zZ2xlbiwgbXNnKTsKLQkgICAgICBt
c2cgPSBubCArIDE7Ci0JICAgIH0KLQotCSAgcHJpbnRmICgiICAlc1xuIiAr
IDIgKiAoKm1zZyAhPSAnICcgJiYgKm1zZyAhPSAnLScpLCBtc2cpOwotCX0K
KwlwcmludGYgKCIgICVzXG4iLCBfKCpwKSk7CiAgICAgfQorICBwcmludGYg
KCJcbiVzXG4lc1xuJXNcbiVzXG4iLAorCSAgXygiRklMRVMgYXJlIGBGSUxF
MSBGSUxFMicgb3IgYERJUjEgRElSMicgb3IgYERJUiBGSUxFLi4uJyBvciBg
RklMRS4uLiBESVInLiIpLAorCSAgXygiSWYgLS1mcm9tLWZpbGUgb3IgLS10
by1maWxlIGlzIGdpdmVuLCB0aGVyZSBhcmUgbm8gcmVzdHJpY3Rpb25zIG9u
IEZJTEUocykuIiksCisJICBfKCJJZiBhIEZJTEUgaXMgYC0nLCByZWFkIHN0
YW5kYXJkIGlucHV0LiIpLAorCSAgXygiRXhpdCBzdGF0dXMgaXMgMCBpZiBp
bnB1dHMgYXJlIHRoZSBzYW1lLCAxIGlmIGRpZmZlcmVudCwgMiBpZiB0cm91
YmxlLiIpKTsKICAgZW1pdF9idWdfcmVwb3J0aW5nX2FkZHJlc3MgKCk7CiB9
CiAKLS0gCjEuNy4wLjQKCg==

--_----------=_1312742190241121--



From MAILER-DAEMON Tue Aug 09 01:09:55 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QqeZf-0006AM-Gy
	for mharc-bug-diffutils@gnu.org; Tue, 09 Aug 2011 01:09:55 -0400
Received: from eggs.gnu.org ([140.186.70.92]:39728)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1QqeZc-00069W-JM
	for bug-diffutils@gnu.org; Tue, 09 Aug 2011 01:09:53 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1QqeZa-0003NJ-VJ
	for bug-diffutils@gnu.org; Tue, 09 Aug 2011 01:09:52 -0400
Received: from smtp.cs.ucla.edu ([131.179.128.62]:42703)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1QqeZa-0003NA-I0
	for bug-diffutils@gnu.org; Tue, 09 Aug 2011 01:09:50 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.cs.ucla.edu (Postfix) with ESMTP id 4C40E39E8108;
	Mon,  8 Aug 2011 22:09:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu
Received: from smtp.cs.ucla.edu ([127.0.0.1])
	by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id XphelxX4nYAK; Mon,  8 Aug 2011 22:09:48 -0700 (PDT)
Received: from [10.1.205.231] (206-169-234-26.static.twtelecom.net
	[206.169.234.26])
	by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 82F4339E8106;
	Mon,  8 Aug 2011 22:09:47 -0700 (PDT)
Message-ID: <4E40C115.9050703@cs.ucla.edu>
Date: Mon, 08 Aug 2011 22:09:41 -0700
From: Paul Eggert <eggert@cs.ucla.edu>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11
MIME-Version: 1.0
To: Eric Blake <eblake@redhat.com>
References: <10d13d6fb4036cc51d36b387775aad74@imap.dd24.net>	<4C649A8C.8060905@cs.ucla.edu>	<1306534994.3190.7.camel@fermat.scientia.net>	<alpine.DEB.2.00.1108031400070.21456@kolmogorov.unex.es>	<87bow6vg3s.fsf@rho.meyering.net>	<alpine.DEB.2.00.1108041456280.10003@cantor.unex.es>	<871ux1s1fw.fsf@rho.meyering.net>	<4E4003B2.9010607@redhat.com>
	<4E400479.7030208@redhat.com> <4E4006AC.4040207@cs.ucla.edu>
	<4E401707.6050206@redhat.com>
In-Reply-To: <4E401707.6050206@redhat.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 131.179.128.62
Cc: bug-diffutils@gnu.org, Santiago Vila <sanvila@unex.es>
Subject: Re: [bug-diffutils] bug: diff -r swaps the files it should check
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 09 Aug 2011 05:09:53 -0000

On 08/08/2011 10:04 AM, Eric Blake wrote:

> Then diffutils should explicitly include 'largefile' in its list of
> required modules

Yes, that'd be reasonable.  Full patch enclosed below.  I'm not applying
this, though, as a new release is imminent and this patch does not fix
any bugs.

> I still argue that it is wrong to duplicate AC_SYS_LARGEFILE if we
> are explicitly depending on a gnulib module documented to guarantee
> that same aspect.

Only the 'largefile' module is documented to do that.  And it doesn't
sound right for other modules to document that; outsiders should not
be relying on their internals.

>From e98f73d8e5eee5a1345c22484172738f69698d0d Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Mon, 8 Aug 2011 21:52:07 -0700
Subject: [PATCH 1/2] build: update gnulib submodule to latest

---
 gnulib |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gnulib b/gnulib
index 8068b5d..30b5bd2 160000
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit 8068b5d283630a295b2929b9dc6a65916b10f52f
+Subproject commit 30b5bd2f22154ae7b9f81b91632830d82a4f1fb3
-- 
1.7.4.4


>From b2c25e40637ff6b378a6dc8d4e41aa7b23f085d2 Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Mon, 8 Aug 2011 22:03:50 -0700
Subject: [PATCH 2/2] configure: use gnulib largefile module

* bootstrap.conf (gnulib_modules): Add largefile.
* configure.ac (AC_SYS_LARGEFILE): No need to invoke directly;
gl_EARLY now does that for us.  Suggested by Eric Blake in:
http://lists.gnu.org/archive/html/bug-diffutils/2011-08/msg00030.html
---
 bootstrap.conf |    1 +
 configure.ac   |    1 -
 2 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/bootstrap.conf b/bootstrap.conf
index 5aa783b..e6a76b4 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -46,6 +46,7 @@ gnupload
 hard-locale
 inttostr
 inttypes
+largefile
 maintainer-makefile
 manywarnings
 mbrtowc
diff --git a/configure.ac b/configure.ac
index 1afc344..a92d950 100644
--- a/configure.ac
+++ b/configure.ac
@@ -38,7 +38,6 @@ AM_MISSING_PROG([HELP2MAN], [help2man])
 AC_PROG_RANLIB
 gl_EARLY
 gl_USE_SYSTEM_EXTENSIONS
-AC_SYS_LARGEFILE
 gl_INIT
 
 AC_ARG_ENABLE([gcc-warnings],
-- 
1.7.4.4




From MAILER-DAEMON Thu Aug 11 09:03:46 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QrUvK-0000du-3W
	for mharc-bug-diffutils@gnu.org; Thu, 11 Aug 2011 09:03:46 -0400
Received: from eggs.gnu.org ([140.186.70.92]:43605)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1QrUvC-0000Dr-I3
	for bug-diffutils@gnu.org; Thu, 11 Aug 2011 09:03:44 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1QrUv6-0006Fb-CA
	for bug-diffutils@gnu.org; Thu, 11 Aug 2011 09:03:38 -0400
Received: from mx.meyering.net ([82.230.74.64]:60768)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>)
	id 1QrUv6-0006FS-69; Thu, 11 Aug 2011 09:03:32 -0400
Received: from rho.meyering.net (localhost.localdomain [127.0.0.1])
	by rho.meyering.net (Acme Bit-Twister) with ESMTP id D9E42600DC;
	Thu, 11 Aug 2011 15:03:30 +0200 (CEST)
From: Jim Meyering <jim@meyering.net>
To: info-gnu@gnu.org
Mail-Followup-To: bug-diffutils@gnu.org
Date: Thu, 11 Aug 2011 15:03:30 +0200
Message-ID: <87d3gc14nx.fsf@rho.meyering.net>
Lines: 84
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 82.230.74.64
Cc: coordinator@translationproject.org, bug-diffutils@gnu.org
Subject: [bug-diffutils] diffutils-3.1 released [stable]
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 11 Aug 2011 13:03:44 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

This is to announce diffutils-3.1, a stable, bug-fix release.
There have been more than 50 build, test and portability-related
changes in diffutils proper, as well as over 2100 in gnulib.
In spite of all that, there have been only a few bug fixes,
and only one that was worthy of a NEWS entry (below).

Here's the diffutils home page:
    http://www.gnu.org/software/diffutils/

Thanks to everyone who has been contributing, helping to manage
the mailing list and reporting bugs.

For a summary of changes and contributors, see:
  http://git.sv.gnu.org/gitweb/?p=diffutils.git;a=shortlog;h=v3.1
or run this command from a git-cloned diffutils directory:
  git shortlog v3.0..v3.1

To summarize the many gnulib-related changes, run these commands
- From a git-cloned diffutils directory:
  git checkout v3.1
  git submodule summary v3.0

Here are the compressed sources:
  http://ftp.gnu.org/gnu/diffutils/diffutils-3.1.tar.gz   (1.9MB)
  http://ftp.gnu.org/gnu/diffutils/diffutils-3.1.tar.xz   (1.1MB)

Here are the GPG detached signatures[*]:
  http://ftp.gnu.org/gnu/diffutils/diffutils-3.1.tar.gz.sig
  http://ftp.gnu.org/gnu/diffutils/diffutils-3.1.tar.xz.sig

To reduce load on the main server, use a mirror listed at:
  http://www.gnu.org/order/ftp.html

[*] You can use either of the above signature files to verify that
the corresponding file (without the .sig suffix) is intact.  First,
be sure to download both the .sig file and the corresponding tarball.
Then, run a command like this:

  gpg --verify diffutils-3.1.tar.gz.sig

If that command fails because you don't have the required public key,
then run this command to import it:

  gpg --keyserver keys.gnupg.net --recv-keys 000BEEEE

and rerun the `gpg --verify' command.

This release was bootstrapped with the following tools:
  Autoconf 2.68.81-0ff6e
  Automake 1.11a
  Gnulib v0.0-6047-ge0a7833

NEWS

* Noteworthy changes in release 3.1 (2011-08-10) [stable]

** Bug fixes

  diff no longer reports spurious differences merely because two entries
  in the same directory have names that compare equal in the current
  locale, or compare equal because --ignore-file-name-case was given.

This message also appears as:
  https://savannah.gnu.org/forum/forum.php?forum_id=6894
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJOQ9L1AAoJEH/Z/MsAC+7uVJ8P/iX929qRr40ZCtDxSaFncjW5
uY8ag1kRg/d5vdPn7WXXG5hNvHpgjapyCqJ2hYapVOEKWciPH4oLifBuB8QQ/MZg
zVKJIB/Ik4595RpE6PLm1Y7QkcW0uYOP44m6rutfoh0oXpIznvE24RM7JtM8WqkN
a9BlA9wVcoe6Mnv50LFN5xy7qK4xUOQSHmSLsifHWGAaO5M7KRfJYoty03rhmfy4
OD5q8eewCmDo81pVuH3wstQ7KIRI4Hqv9BuOuZ4gOyphefxuAfLcEvWBd8JSWjFJ
ed5JoeavzEjAgLisizPTogzs9X/7/GU/UUqH1+QlkBp4mse2n4lkN4A5WQPBgZ/x
SIIYPQ2AZZppi4THmIzvUiXei1IcthajItoOQXcoUtGnk9ETJwFm1cr2i1gTmktR
E73niA1c/WqpgEsst2ZgzZ5vWMQhTkj2mn1Q1+1qEB62PnQF94I8AptESuk4XvHO
nqOQKKYYkZ7KVLDKENKoddnmHPo5xn2xWbV3mAYe5K9HGTB0sr8/AlVTb2spoliT
GAvuB+AwJiP1H5DV8WJGoxYpn1VjT9FV8QPoi040fMboRCbMjbRwl6dJw0NMyExc
nMDDbMn9DD4C1gUTUGNsWlBuYU4DsZtFb+5mAIDqQ6JxkRDStQQJCtgKKfC4hHD+
64TagDAzH9MQy0TiTx1r
=Johe
-----END PGP SIGNATURE-----


From MAILER-DAEMON Fri Aug 12 12:22:49 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QruVV-00022F-GE
	for mharc-bug-diffutils@gnu.org; Fri, 12 Aug 2011 12:22:49 -0400
Received: from eggs.gnu.org ([140.186.70.92]:36275)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <twaugh@redhat.com>) id 1QruVS-00021M-Kz
	for bug-diffutils@gnu.org; Fri, 12 Aug 2011 12:22:47 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <twaugh@redhat.com>) id 1QruVR-0005Bn-Ds
	for bug-diffutils@gnu.org; Fri, 12 Aug 2011 12:22:46 -0400
Received: from mx1.redhat.com ([209.132.183.28]:61559)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <twaugh@redhat.com>) id 1QruVR-0005BY-2w
	for bug-diffutils@gnu.org; Fri, 12 Aug 2011 12:22:45 -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 p7CGMgjb024155
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Fri, 12 Aug 2011 12:22:42 -0400
Received: from [10.11.8.103] (vpn-8-103.rdu.redhat.com [10.11.8.103])
	by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
	id p7CGMfKd029052; Fri, 12 Aug 2011 12:22:41 -0400
From: Tim Waugh <twaugh@redhat.com>
To: Paul Eggert <eggert@cs.ucla.edu>
Date: Fri, 12 Aug 2011 17:22:38 +0100
In-Reply-To: <4E3AA951.6000607@cs.ucla.edu>
References: <1312465656.4532.3.camel@localhost.localdomain>
	<4E3AA951.6000607@cs.ucla.edu>
Content-Type: multipart/signed; micalg="pgp-sha1";
	protocol="application/pgp-signature"; 
	boundary="=-LcoY20s+oUklpAACIP7L"
Message-ID: <1313166162.9589.0.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
Cc: bug-diffutils@gnu.org
Subject: Re: [bug-diffutils] [patch] --ignore-file-name-case
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Aug 2011 16:22:47 -0000


--=-LcoY20s+oUklpAACIP7L
Content-Type: multipart/mixed; boundary="=-i1spgop65DcAEYXf/ezV"


--=-i1spgop65DcAEYXf/ezV
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Thanks for the feedback.  Here's a new patch against master.

Tim.
*/


--=-i1spgop65DcAEYXf/ezV
Content-Disposition: attachment;
	filename*0=0001-diff-apply-ignore-file-name-case-even-outside-recurs.pat;
	filename*1=ch
Content-Transfer-Encoding: base64
Content-Type: text/x-patch;
	name="0001-diff-apply-ignore-file-name-case-even-outside-recurs.patch";
	charset="UTF-8"

RnJvbSA0NTY2MDlhOGFkZmMyYjgzMzVjZTgyMzNmMGRhMmNjMGQ5MjllOGE4IE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQ0KRnJvbTogVGltIFdhdWdoIDx0d2F1Z2hAcmVkaGF0LmNvbT4NCkRhdGU6
IEZyaSwgMTIgQXVnIDIwMTEgMTc6MjA6MDMgKzAxMDANClN1YmplY3Q6IFtQQVRDSF0gZGlmZjog
YXBwbHkgLS1pZ25vcmUtZmlsZS1uYW1lLWNhc2UgZXZlbiBvdXRzaWRlIHJlY3Vyc2l2ZQ0KIGRp
cmVjdG9yeSB0cmF2ZXJzYWwNCg0KKiBzcmMvZGlmZi5jIChmaW5kX2Rpcl9maWxlX3BhdGhuYW1l
KTogTmV3IGZ1bmN0aW9uIGZvciBmaW5kaW5nIGENCm1hdGNoaW5nIGZpbGVuYW1lIGluIGEgZGly
ZWN0b3J5Lg0KKiBzcmMvZGlmZi5oOiBQcm90b3R5cGUgZm9yIG5ldyBmdW5jdGlvbi4NCiogc3Jj
L2Rpci5jOiBVc2UgaXQuDQotLS0NCiBORVdTICAgICAgICAgICAgICAgfCAgICA0ICsrKysNCiBk
b2MvZGlmZnV0aWxzLnRleGkgfCAgICAyICstDQogc3JjL2RpZmYuYyAgICAgICAgIHwgICAgMiAr
LQ0KIHNyYy9kaWZmLmggICAgICAgICB8ICAgIDEgKw0KIHNyYy9kaXIuYyAgICAgICAgICB8ICAg
NDMgKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKw0KIDUgZmlsZXMg
Y2hhbmdlZCwgNTAgaW5zZXJ0aW9ucygrKSwgMiBkZWxldGlvbnMoLSkNCg0KZGlmZiAtLWdpdCBh
L05FV1MgYi9ORVdTDQppbmRleCA0MmQ5MzU4Li41YTM3OTYzIDEwMDY0NA0KLS0tIGEvTkVXUw0K
KysrIGIvTkVXUw0KQEAgLTIsNiArMiwxMCBAQCBHTlUgZGlmZnV0aWxzIE5FV1MgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAtKi0gb3V0bGluZSAtKi0NCiANCiAqIE5vdGV3b3J0
aHkgY2hhbmdlcyBpbiByZWxlYXNlID8uPyAoPz8/Py0/Py0/PykgWz9dDQogDQorKiogQ2hhbmdl
cyBpbiBiZWhhdmlvcg0KKw0KKyAgVGhlIC0taWdub3JlLWZpbGUtbmFtZS1jYXNlIG9wdGlvbiBu
b3cgYXBwbGllcyB0aHJvdWdob3V0IGFuZCBpcyBub3QNCisgIGxpbWl0ZWQgdG8gcmVjdXJzaXZl
IGRpcmVjdG9yeSB0cmF2ZXJzYWwuDQogDQogKiBOb3Rld29ydGh5IGNoYW5nZXMgaW4gcmVsZWFz
ZSAzLjEgKDIwMTEtMDgtMTApIFtzdGFibGVdDQogDQpkaWZmIC0tZ2l0IGEvZG9jL2RpZmZ1dGls
cy50ZXhpIGIvZG9jL2RpZmZ1dGlscy50ZXhpDQppbmRleCBlZTQxOWExLi4xNmVhNmM5IDEwMDY0
NA0KLS0tIGEvZG9jL2RpZmZ1dGlscy50ZXhpDQorKysgYi9kb2MvZGlmZnV0aWxzLnRleGkNCkBA
IC0zODAyLDcgKzM4MDIsNyBAQCBJZ25vcmUgY2hhbmdlcyB0aGF0IGp1c3QgaW5zZXJ0IG9yIGRl
bGV0ZSBsaW5lcyB0aGF0IG1hdGNoIEB2YXJ7cmVnZXhwfS4NCiBAeHJlZntTcGVjaWZpZWQgTGlu
ZXN9Lg0KIA0KIEBpdGVtIC0taWdub3JlLWZpbGUtbmFtZS1jYXNlDQotSWdub3JlIGNhc2Ugd2hl
biBjb21wYXJpbmcgZmlsZSBuYW1lcyBkdXJpbmcgcmVjdXJzaXZlIGNvbXBhcmlzb24uDQorSWdu
b3JlIGNhc2Ugd2hlbiBjb21wYXJpbmcgZmlsZSBuYW1lcy4NCiBAeHJlZntDb21wYXJpbmcgRGly
ZWN0b3JpZXN9Lg0KIA0KIEBpdGVtIC1sDQpkaWZmIC0tZ2l0IGEvc3JjL2RpZmYuYyBiL3NyYy9k
aWZmLmMNCmluZGV4IDZhMDhmMzYuLjFlMzM0YjcgMTAwNjQ0DQotLS0gYS9zcmMvZGlmZi5jDQor
KysgYi9zcmMvZGlmZi5jDQpAQCAtMTE3MCw3ICsxMTcwLDcgQEAgY29tcGFyZV9maWxlcyAoc3Ry
dWN0IGNvbXBhcmlzb24gY29uc3QgKnBhcmVudCwNCiAgICAgICBjaGFyIGNvbnN0ICpmbm0gPSBj
bXAuZmlsZVtmbm1fYXJnXS5uYW1lOw0KICAgICAgIGNoYXIgY29uc3QgKmRpciA9IGNtcC5maWxl
W2Rpcl9hcmddLm5hbWU7DQogICAgICAgY2hhciBjb25zdCAqZmlsZW5hbWUgPSBjbXAuZmlsZVtk
aXJfYXJnXS5uYW1lID0gZnJlZTANCi0JPSBmaWxlX25hbWVfY29uY2F0IChkaXIsIGxhc3RfY29t
cG9uZW50IChmbm0pLCBOVUxMKTsNCisJPSBmaW5kX2Rpcl9maWxlX3BhdGhuYW1lIChkaXIsIGxh
c3RfY29tcG9uZW50IChmbm0pKTsNCiANCiAgICAgICBpZiAoU1RSRVEgKGZubSwgIi0iKSkNCiAJ
ZmF0YWwgKCJjYW5ub3QgY29tcGFyZSBgLScgdG8gYSBkaXJlY3RvcnkiKTsNCmRpZmYgLS1naXQg
YS9zcmMvZGlmZi5oIGIvc3JjL2RpZmYuaA0KaW5kZXggODgzMzJhNS4uYjFjOTBjNyAxMDA2NDQN
Ci0tLSBhL3NyYy9kaWZmLmgNCisrKyBiL3NyYy9kaWZmLmgNCkBAIC0zMjcsNiArMzI3LDcgQEAg
ZXh0ZXJuIHZvaWQgcHJpbnRfY29udGV4dF9zY3JpcHQgKHN0cnVjdCBjaGFuZ2UgKiwgYm9vbCk7
DQogZXh0ZXJuIGludCBkaWZmX2RpcnMgKHN0cnVjdCBjb21wYXJpc29uIGNvbnN0ICosDQogICAg
ICAgICAgICAgICAgICAgICAgIGludCAoKikgKHN0cnVjdCBjb21wYXJpc29uIGNvbnN0ICosDQog
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNoYXIgY29uc3QgKiwgY2hhciBjb25zdCAq
KSk7DQorY2hhciAqZmluZF9kaXJfZmlsZV9wYXRobmFtZSAoY2hhciBjb25zdCAqLCBjaGFyIGNv
bnN0ICopOw0KIA0KIC8qIGVkLmMgKi8NCiBleHRlcm4gdm9pZCBwcmludF9lZF9zY3JpcHQgKHN0
cnVjdCBjaGFuZ2UgKik7DQpkaWZmIC0tZ2l0IGEvc3JjL2Rpci5jIGIvc3JjL2Rpci5jDQppbmRl
eCAzMGJlZjJjLi45MmViOGI0IDEwMDY0NA0KLS0tIGEvc3JjL2Rpci5jDQorKysgYi9zcmMvZGly
LmMNCkBAIC0yMSw2ICsyMSw3IEBADQogI2luY2x1ZGUgImRpZmYuaCINCiAjaW5jbHVkZSA8ZXJy
b3IuaD4NCiAjaW5jbHVkZSA8ZXhjbHVkZS5oPg0KKyNpbmNsdWRlIDxmaWxlbmFtZWNhdC5oPg0K
ICNpbmNsdWRlIDxzZXRqbXAuaD4NCiAjaW5jbHVkZSA8eGFsbG9jLmg+DQogDQpAQCAtMzE2LDMg
KzMxNyw0NSBAQCBkaXJfbG9vcCAoc3RydWN0IGNvbXBhcmlzb24gY29uc3QgKmNtcCwgaW50IGkp
DQogICAgICAgcmV0dXJuIHRydWU7DQogICByZXR1cm4gZmFsc2U7DQogfQ0KKw0KKy8qIEZpbmQg
YSBtYXRjaGluZyBmaWxlbmFtZSBpbiBhIGRpcmVjdG9yeS4gICovDQorDQorY2hhciAqDQorZmlu
ZF9kaXJfZmlsZV9wYXRobmFtZSAoY2hhciBjb25zdCAqZGlyLCBjaGFyIGNvbnN0ICpmaWxlKQ0K
K3sNCisgIGNoYXIgKnZhbCA9IE5VTEw7DQorDQorICBpZiAoaWdub3JlX2ZpbGVfbmFtZV9jYXNl
KQ0KKyAgICB7DQorICAgICAgYm9vbCBsb2NhbGVfc3BlY2lmaWNfc29ydGluZ19zYXZlZCA9IGxv
Y2FsZV9zcGVjaWZpY19zb3J0aW5nOw0KKyAgICAgIHN0cnVjdCBmaWxlX2RhdGEgZmlsZWRhdGE7
DQorICAgICAgc3RydWN0IGRpcmRhdGEgZGlyZGF0YTsNCisNCisgICAgICBmaWxlZGF0YS5uYW1l
ID0gZGlyOw0KKyAgICAgIGZpbGVkYXRhLmRlc2MgPSAwOw0KKyAgICAgIGlmICghIGRpcl9yZWFk
ICgmZmlsZWRhdGEsICZkaXJkYXRhKSkNCisJcmV0dXJuIE5VTEw7DQorDQorICAgICAgbG9jYWxl
X3NwZWNpZmljX3NvcnRpbmcgPSB0cnVlOw0KKyAgICAgIGlmIChzZXRqbXAgKGZhaWxlZF9sb2Nh
bGVfc3BlY2lmaWNfc29ydGluZykpDQorCS8qIGRvIG5vdGhpbmcgKi8gOw0KKyAgICAgIGVsc2UN
CisJZm9yIChjaGFyIGNvbnN0ICoqcCA9IGRpcmRhdGEubmFtZXM7ICpwOyBwKyspDQorCSAgaWYg
KGNvbXBhcmVfbmFtZXMgKCpwLCBmaWxlKSA9PSAwKQ0KKwkgICAgew0KKwkgICAgICB2YWwgPSBm
aWxlX25hbWVfY29uY2F0IChkaXIsICpwLCBOVUxMKTsNCisJICAgICAgYnJlYWs7DQorCSAgICB9
DQorDQorICAgICAgbG9jYWxlX3NwZWNpZmljX3NvcnRpbmcgPSBsb2NhbGVfc3BlY2lmaWNfc29y
dGluZ19zYXZlZDsNCisgICAgICBmcmVlIChkaXJkYXRhLm5hbWVzKTsNCisgICAgICBmcmVlIChk
aXJkYXRhLmRhdGEpOw0KKyAgICB9DQorDQorICBpZiAodmFsID09IE5VTEwpDQorICAgIC8qIFJl
dHVybiBhIGZpbGVuYW1lIGV2ZW4gaWYgdGhlcmUgaXMgbm8gbWF0Y2ggc28gdGhhdCB3ZSBoYXZl
DQorICAgICAgIHNvbWV0aGluZyB0byBzdGF0KCkgYW5kIHJlcG9ydCBhbiBlcnJvciBhYm91dC4g
Ki8NCisgICAgdmFsID0gZmlsZV9uYW1lX2NvbmNhdCAoZGlyLCBmaWxlLCBOVUxMKTsNCisNCisg
IHJldHVybiB2YWw7DQorfQ0KLS0gDQoxLjcuNg0KDQo=


--=-i1spgop65DcAEYXf/ezV--

--=-LcoY20s+oUklpAACIP7L
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)

iQEVAwUATkVTTu7Fkar03pQsAQKFAQf9HCeTOIKxMdOA+zL4lw/jnr6ddVAF23+b
oTBxB1jjkjY0o6S0uCjonAhruOyGm9PDsKS9M2WAOlxxqG2buwwz84hGY3Dp2aUG
Ff+7in1GwOVi3XTzZP12fu7gSt5E4PMYPn+RunltnaLcvLMGAgIqv4h5v5wPKbgz
mTtpVNOrJ610qhLCJojmv4kApuOLnQ8GTeaabbb/s9hwPBnYT6EsUL/U9EXWPaJE
xWq/gJW+2S8Dqe2MpHP1IeBlLSfkH9quUz2yCnzQriG6o6WxA3QQrPvUcVVaJY0+
au+q3UNhzIgDH80cZ13V08n7O431sliFqhV9P7Jojw843D8DhNTi8g==
=Krbw
-----END PGP SIGNATURE-----

--=-LcoY20s+oUklpAACIP7L--



From MAILER-DAEMON Sat Aug 13 13:43:10 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QsIEo-00056z-4c
	for mharc-bug-diffutils@gnu.org; Sat, 13 Aug 2011 13:43:10 -0400
Received: from eggs.gnu.org ([140.186.70.92]:41907)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <whitebox@nefkom.net>) id 1QsIEm-00056t-5D
	for bug-diffutils@gnu.org; Sat, 13 Aug 2011 13:43:08 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <whitebox@nefkom.net>) id 1QsIEl-0003Gb-30
	for bug-diffutils@gnu.org; Sat, 13 Aug 2011 13:43:08 -0400
Received: from mail-out.m-online.net ([212.18.0.9]:48238)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <whitebox@nefkom.net>) id 1QsIEk-0003GX-Uj
	for bug-diffutils@gnu.org; Sat, 13 Aug 2011 13:43:07 -0400
Received: from frontend1.mail.m-online.net (unknown [192.168.8.180])
	by mail-out.m-online.net (Postfix) with ESMTP id 2A39A1C1D9E6
	for <bug-diffutils@gnu.org>; Sat, 13 Aug 2011 19:43:03 +0200 (CEST)
Received: from localhost (dynscan1.mnet-online.de [192.168.8.164])
	by mail.m-online.net (Postfix) with ESMTP id 2136D1C00133
	for <bug-diffutils@gnu.org>; Sat, 13 Aug 2011 19:43:03 +0200 (CEST)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.180])
	by localhost (dynscan1.mail.m-online.net [192.168.8.164]) (amavisd-new,
	port 10024) with ESMTP id Yuqeg8kor9sl for <bug-diffutils@gnu.org>;
	Sat, 13 Aug 2011 19:43:03 +0200 (CEST)
Received: from igel.home (ppp-88-217-109-155.dynamic.mnet-online.de
	[88.217.109.155]) by mail.mnet-online.de (Postfix) with ESMTP
	for <bug-diffutils@gnu.org>; Sat, 13 Aug 2011 19:43:02 +0200 (CEST)
Received: by igel.home (Postfix, from userid 501)
	id 5C43CCA293; Sat, 13 Aug 2011 19:43:02 +0200 (CEST)
From: Andreas Schwab <schwab@linux-m68k.org>
To: bug-diffutils@gnu.org
X-Yow: Civilization is fun!  Anyway, it keeps me busy!!
Date: Sat, 13 Aug 2011 19:43:02 +0200
Message-ID: <m24o1ldx7d.fsf@igel.home>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older,
	4)
X-Received-From: 212.18.0.9
Subject: [bug-diffutils] REPLACE_MKTIME
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Aug 2011 17:43:09 -0000

checking for working mktime... yes
      -e 's|@''REPLACE_MKTIME''@|1|g' \

WTF?

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


From MAILER-DAEMON Sat Aug 13 14:04:31 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QsIZT-0000Tn-Rx
	for mharc-bug-diffutils@gnu.org; Sat, 13 Aug 2011 14:04:31 -0400
Received: from eggs.gnu.org ([140.186.70.92]:36556)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1QsIZR-0000Sv-6W
	for bug-diffutils@gnu.org; Sat, 13 Aug 2011 14:04:29 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1QsIZQ-0007M3-Dc
	for bug-diffutils@gnu.org; Sat, 13 Aug 2011 14:04:29 -0400
Received: from mx.meyering.net ([82.230.74.64]:35395)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1QsIZQ-0007Lz-5u
	for bug-diffutils@gnu.org; Sat, 13 Aug 2011 14:04:28 -0400
Received: from rho.meyering.net (localhost.localdomain [127.0.0.1])
	by rho.meyering.net (Acme Bit-Twister) with ESMTP id 5A89A6009D;
	Sat, 13 Aug 2011 20:04:27 +0200 (CEST)
From: Jim Meyering <jim@meyering.net>
To: Andreas Schwab <schwab@linux-m68k.org>
In-Reply-To: <m24o1ldx7d.fsf@igel.home> (Andreas Schwab's message of "Sat, 13
	Aug 2011 19:43:02 +0200")
References: <m24o1ldx7d.fsf@igel.home>
Date: Sat, 13 Aug 2011 20:04:27 +0200
Message-ID: <87zkjdtcgk.fsf@rho.meyering.net>
Lines: 16
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 82.230.74.64
Cc: bug-diffutils@gnu.org
Subject: Re: [bug-diffutils] REPLACE_MKTIME
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Aug 2011 18:04:29 -0000

Andreas Schwab wrote:
> checking for working mktime... yes
>       -e 's|@''REPLACE_MKTIME''@|1|g' \
>
> WTF?

Thanks for reporting the problem, presumably noticed while you
ran ./configure.

Would you care to investigate or at least to provide a little more detail?

What version of diffutils?  3.1?
What type of system are you using?
What version of sed?

It works fine for me on Fedora 15.


From MAILER-DAEMON Sat Aug 13 15:07:10 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QsJY6-0006bK-Am
	for mharc-bug-diffutils@gnu.org; Sat, 13 Aug 2011 15:07:10 -0400
Received: from eggs.gnu.org ([140.186.70.92]:45655)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <whitebox@nefkom.net>) id 1QsJY4-0006bC-KK
	for bug-diffutils@gnu.org; Sat, 13 Aug 2011 15:07:09 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <whitebox@nefkom.net>) id 1QsJY3-0008V6-AT
	for bug-diffutils@gnu.org; Sat, 13 Aug 2011 15:07:08 -0400
Received: from mail-out.m-online.net ([212.18.0.10]:45408)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <whitebox@nefkom.net>) id 1QsJY3-0008Ux-47
	for bug-diffutils@gnu.org; Sat, 13 Aug 2011 15:07:07 -0400
Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net
	[192.168.8.180])
	by mail-out.m-online.net (Postfix) with ESMTP id 8481A188A17B;
	Sat, 13 Aug 2011 21:07:04 +0200 (CEST)
Received: from localhost (dynscan1.mnet-online.de [192.168.8.164])
	by mail.m-online.net (Postfix) with ESMTP id A52831C00073;
	Sat, 13 Aug 2011 21:07:04 +0200 (CEST)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.180])
	by localhost (dynscan1.mail.m-online.net [192.168.8.164]) (amavisd-new,
	port 10024)
	with ESMTP id 7Kil5ppkntjH; Sat, 13 Aug 2011 21:07:04 +0200 (CEST)
Received: from igel.home (ppp-88-217-109-155.dynamic.mnet-online.de
	[88.217.109.155]) by mail.mnet-online.de (Postfix) with ESMTP;
	Sat, 13 Aug 2011 21:07:04 +0200 (CEST)
Received: by igel.home (Postfix, from userid 501)
	id C5B60CA293; Sat, 13 Aug 2011 21:07:03 +0200 (CEST)
From: Andreas Schwab <schwab@linux-m68k.org>
To: Jim Meyering <jim@meyering.net>
References: <m24o1ldx7d.fsf@igel.home> <87zkjdtcgk.fsf@rho.meyering.net>
X-Yow: I hope something GOOD came in the mail today so I have
	a REASON to live!!
Date: Sat, 13 Aug 2011 21:07:03 +0200
In-Reply-To: <87zkjdtcgk.fsf@rho.meyering.net> (Jim Meyering's message of
	"Sat, 13 Aug 2011 20:04:27 +0200")
Message-ID: <m2vcu1ceqw.fsf@igel.home>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older,
	4)
X-Received-From: 212.18.0.10
Cc: bug-diffutils@gnu.org
Subject: Re: [bug-diffutils] REPLACE_MKTIME
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Aug 2011 19:07:09 -0000

Jim Meyering <jim@meyering.net> writes:

> It works fine for me on Fedora 15.

Look closer.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


From MAILER-DAEMON Sat Aug 13 16:32:19 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QsKsV-0000nn-ET
	for mharc-bug-diffutils@gnu.org; Sat, 13 Aug 2011 16:32:19 -0400
Received: from eggs.gnu.org ([140.186.70.92]:40042)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1QsKsT-0000my-4R
	for bug-diffutils@gnu.org; Sat, 13 Aug 2011 16:32:18 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1QsKsR-0004h7-KF
	for bug-diffutils@gnu.org; Sat, 13 Aug 2011 16:32:16 -0400
Received: from smtp.cs.ucla.edu ([131.179.128.62]:53658)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1QsKsR-0004gl-6j
	for bug-diffutils@gnu.org; Sat, 13 Aug 2011 16:32:15 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.cs.ucla.edu (Postfix) with ESMTP id 25BCD39E80F7;
	Sat, 13 Aug 2011 13:32:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu
Received: from smtp.cs.ucla.edu ([127.0.0.1])
	by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id QAmhqRTBAh6I; Sat, 13 Aug 2011 13:32:13 -0700 (PDT)
Received: from [192.168.0.3] (97-120-140-129.ptld.qwest.net [97.120.140.129])
	by smtp.cs.ucla.edu (Postfix) with ESMTPSA id E727A39E80DC;
	Sat, 13 Aug 2011 13:32:12 -0700 (PDT)
Message-ID: <4E46DF45.7050700@cs.ucla.edu>
Date: Sat, 13 Aug 2011 13:32:05 -0700
From: Paul Eggert <eggert@cs.ucla.edu>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11
MIME-Version: 1.0
To: Tim Waugh <twaugh@redhat.com>
References: <1312465656.4532.3.camel@localhost.localdomain>	
	<4E3AA951.6000607@cs.ucla.edu>
	<1313166162.9589.0.camel@localhost.localdomain>
In-Reply-To: <1313166162.9589.0.camel@localhost.localdomain>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 131.179.128.62
Cc: bug-diffutils@gnu.org
Subject: Re: [bug-diffutils] [patch] --ignore-file-name-case
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Aug 2011 20:32:18 -0000

Thanks for following up on this.  I looked at the patch more
carefully and found a few minor problems:

* The documentation in NEWS and in diffutils.texi could use
  an example or two, for clarity.

* The setjmp business wasn't quite right.  locale_specific_sorting
  should always be 1 the 1st time through.  There's no need for a 2nd
  time through, in this function, as the code can fall back on just
  using the file.

* if (X) /* do nothing; /*; else Y -> if (! X) Y

* Memory leak if dir_read returns 0.

* When doing "diff --ignore-file-name-case DIR FILE", if several file
  names in DIR match FILE, but one matches exactly, use the exact match.

* In find_dir_file_pathname, if the directory can't be read, fall back
  on just using the file.

Here's what I pushed.  Comments are welcome and please give it a try
if you have the time.

diff: --ignore-file-name-case now applies at top level too
Derived from Tim Waugh's patch in:
http://lists.gnu.org/archive/html/bug-diffutils/2011-08/msg00034.html
* NEWS, doc/diffutils.texi (diff Options): Document this.
* src/diff.c (compare_files): Implement this, by using
find_dir_file_pathname.
* src/diff.h (find_dir_file_pathname): New decl.
* src/dir.c: Include filenamecat.h.
(find_dir_file_pathname): New function.
diff --git a/NEWS b/NEWS
index 42d9358..72f6395 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,10 @@ GNU diffutils NEWS                                    -*- outline -*-

 * Noteworthy changes in release ?.? (????-??-??) [?]

+** Changes in behavior
+
+  --ignore-file-name-case now applies at the top level too.
+  For example, "diff dir inIt" might compare "dir/Init" to "inIt".

 * Noteworthy changes in release 3.1 (2011-08-10) [stable]

diff --git a/doc/diffutils.texi b/doc/diffutils.texi
index ee419a1..f29e9a1 100644
--- a/doc/diffutils.texi
+++ b/doc/diffutils.texi
@@ -3802,7 +3802,10 @@ Ignore changes that just insert or delete lines that match @var{regexp}.
 @xref{Specified Lines}.

 @item --ignore-file-name-case
-Ignore case when comparing file names during recursive comparison.
+Ignore case when comparing file names.  For example, recursive
+comparison of @file{d} to @file{e} might compare the contents of
+@file{d/Init} and @file{e/inIt}.  At the top level, @samp{diff d inIt}
+might compare the contents of @file{d/Init} and @file{inIt}.
 @xref{Comparing Directories}.

 @item -l
diff --git a/src/diff.c b/src/diff.c
index 6a08f36..1e334b7 100644
--- a/src/diff.c
+++ b/src/diff.c
@@ -1170,7 +1170,7 @@ compare_files (struct comparison const *parent,
       char const *fnm = cmp.file[fnm_arg].name;
       char const *dir = cmp.file[dir_arg].name;
       char const *filename = cmp.file[dir_arg].name = free0
-	= file_name_concat (dir, last_component (fnm), NULL);
+	= find_dir_file_pathname (dir, last_component (fnm));

       if (STREQ (fnm, "-"))
 	fatal ("cannot compare `-' to a directory");
diff --git a/src/diff.h b/src/diff.h
index 88332a5..b1c90c7 100644
--- a/src/diff.h
+++ b/src/diff.h
@@ -327,6 +327,7 @@ extern void print_context_script (struct change *, bool);
 extern int diff_dirs (struct comparison const *,
                       int (*) (struct comparison const *,
                                char const *, char const *));
+char *find_dir_file_pathname (char const *, char const *);

 /* ed.c */
 extern void print_ed_script (struct change *);
diff --git a/src/dir.c b/src/dir.c
index 30bef2c..20626d1 100644
--- a/src/dir.c
+++ b/src/dir.c
@@ -21,6 +21,7 @@
 #include "diff.h"
 #include <error.h>
 #include <exclude.h>
+#include <filenamecat.h>
 #include <setjmp.h>
 #include <xalloc.h>

@@ -316,3 +317,48 @@ dir_loop (struct comparison const *cmp, int i)
       return true;
   return false;
 }
+
+/* Find a matching filename in a directory.  */
+
+char *
+find_dir_file_pathname (char const *dir, char const *file)
+{
+  char *val;
+  char const *match = file;
+  struct dirdata dirdata;
+  dirdata.names = NULL;
+  dirdata.data = NULL;
+
+  if (ignore_file_name_case)
+    {
+      struct file_data filedata;
+      filedata.name = dir;
+      filedata.desc = 0;
+
+      if (dir_read (&filedata, &dirdata))
+	{
+	  locale_specific_sorting = true;
+	  if (setjmp (failed_locale_specific_sorting))
+	    match = file; /* longjmp may mess up MATCH.  */
+	  else
+	    {
+	      for (char const **p = dirdata.names; *p; p++)
+		if (compare_names (*p, file) == 0)
+		  {
+		    if (file_name_cmp (*p, file) == 0)
+		      {
+			match = *p;
+			break;
+		      }
+		    if (match == file)
+		      match = *p;
+		  }
+	    }
+	}
+    }
+
+  val = file_name_concat (dir, match, NULL);
+  free (dirdata.names);
+  free (dirdata.data);
+  return val;
+}



From MAILER-DAEMON Sat Aug 13 18:24:12 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QsMcm-000631-Ck
	for mharc-bug-diffutils@gnu.org; Sat, 13 Aug 2011 18:24:12 -0400
Received: from eggs.gnu.org ([140.186.70.92]:37751)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1QsMcj-00062B-Ht
	for bug-diffutils@gnu.org; Sat, 13 Aug 2011 18:24:10 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1QsMci-0003l9-Ek
	for bug-diffutils@gnu.org; Sat, 13 Aug 2011 18:24:09 -0400
Received: from smtp.cs.ucla.edu ([131.179.128.62]:37412)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1QsMci-0003l0-9X
	for bug-diffutils@gnu.org; Sat, 13 Aug 2011 18:24:08 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.cs.ucla.edu (Postfix) with ESMTP id 1967C39E80F7;
	Sat, 13 Aug 2011 15:24:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu
Received: from smtp.cs.ucla.edu ([127.0.0.1])
	by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id XbVrf1BemJHw; Sat, 13 Aug 2011 15:24:06 -0700 (PDT)
Received: from [192.168.0.3] (97-120-140-129.ptld.qwest.net [97.120.140.129])
	by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 35FA339E80DC;
	Sat, 13 Aug 2011 15:24:06 -0700 (PDT)
Message-ID: <4E46F97F.5020303@cs.ucla.edu>
Date: Sat, 13 Aug 2011 15:23:59 -0700
From: Paul Eggert <eggert@cs.ucla.edu>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11
MIME-Version: 1.0
To: Andreas Schwab <schwab@linux-m68k.org>
References: <m24o1ldx7d.fsf@igel.home>
In-Reply-To: <m24o1ldx7d.fsf@igel.home>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 131.179.128.62
Cc: bug-diffutils@gnu.org
Subject: Re: [bug-diffutils] REPLACE_MKTIME
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Aug 2011 22:24:10 -0000

On 08/13/2011 10:43 AM, Andreas Schwab wrote:
> checking for working mktime... yes
>       -e 's|@''REPLACE_MKTIME''@|1|g' \

Thanks, to fix that I installed the patch enclosed below:

* bootstrap.conf (gnulib_modules): Remove timegm.
This fixes a problem noted by Andreas Schwab in:
http://lists.gnu.org/archive/html/bug-diffutils/2011-08/msg00035.html
diff --git a/bootstrap.conf b/bootstrap.conf
index e6a76b4..cc6d88c 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -67,7 +67,6 @@ strftime
 strptime
 strtoumax
 sys_wait
-timegm
 unistd
 unlocked-io
 update-copyright


The following patch introduced the timegm module:

http://git.savannah.gnu.org/cgit/diffutils.git/commit/?id=7ebb24620d87386e5579bef6ff0e50778dff84be

Its changelog doesn't make it clear why timegm was added,
but timegm doesn't seem to be needed now.



From MAILER-DAEMON Sun Aug 14 03:44:42 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QsVNC-0007BP-I6
	for mharc-bug-diffutils@gnu.org; Sun, 14 Aug 2011 03:44:42 -0400
Received: from eggs.gnu.org ([140.186.70.92]:47730)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1QsVNA-0007Ae-Ic
	for bug-diffutils@gnu.org; Sun, 14 Aug 2011 03:44:41 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1QsVN9-0003jy-FE
	for bug-diffutils@gnu.org; Sun, 14 Aug 2011 03:44:40 -0400
Received: from mx.meyering.net ([82.230.74.64]:34245)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1QsVN9-0003jr-6c
	for bug-diffutils@gnu.org; Sun, 14 Aug 2011 03:44:39 -0400
Received: from rho.meyering.net (localhost.localdomain [127.0.0.1])
	by rho.meyering.net (Acme Bit-Twister) with ESMTP id 1918660096;
	Sun, 14 Aug 2011 09:44:38 +0200 (CEST)
From: Jim Meyering <jim@meyering.net>
To: Paul Eggert <eggert@cs.ucla.edu>
In-Reply-To: <4E46F97F.5020303@cs.ucla.edu> (Paul Eggert's message of "Sat, 13
	Aug 2011 15:23:59 -0700")
References: <m24o1ldx7d.fsf@igel.home> <4E46F97F.5020303@cs.ucla.edu>
Date: Sun, 14 Aug 2011 09:44:38 +0200
Message-ID: <87obzstp21.fsf@rho.meyering.net>
Lines: 34
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 82.230.74.64
Cc: bug-diffutils@gnu.org, Andreas Schwab <schwab@linux-m68k.org>
Subject: Re: [bug-diffutils] REPLACE_MKTIME
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 14 Aug 2011 07:44:41 -0000

Paul Eggert wrote:
> On 08/13/2011 10:43 AM, Andreas Schwab wrote:
>> checking for working mktime... yes
>>       -e 's|@''REPLACE_MKTIME''@|1|g' \
>
> Thanks, to fix that I installed the patch enclosed below:
>
> * bootstrap.conf (gnulib_modules): Remove timegm.
> This fixes a problem noted by Andreas Schwab in:
> http://lists.gnu.org/archive/html/bug-diffutils/2011-08/msg00035.html
> diff --git a/bootstrap.conf b/bootstrap.conf
> index e6a76b4..cc6d88c 100644
> --- a/bootstrap.conf
> +++ b/bootstrap.conf
> @@ -67,7 +67,6 @@ strftime
>  strptime
>  strtoumax
>  sys_wait
> -timegm
>  unistd
>  unlocked-io
>  update-copyright
>
>
> The following patch introduced the timegm module:
>
> http://git.savannah.gnu.org/cgit/diffutils.git/commit/?id=7ebb24620d87386e5579bef6ff0e50778dff84be
>
> Its changelog doesn't make it clear why timegm was added,
> but timegm doesn't seem to be needed now.

Thanks.
I see no reason for adding that module to diffutils,
so presume I did it in error.


From MAILER-DAEMON Mon Aug 15 01:30:48 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QsplA-0003AE-R5
	for mharc-bug-diffutils@gnu.org; Mon, 15 Aug 2011 01:30:48 -0400
Received: from eggs.gnu.org ([140.186.70.92]:48795)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Qspl9-0003A2-3L
	for bug-diffutils@gnu.org; Mon, 15 Aug 2011 01:30:47 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Qspl7-0001M7-U4
	for bug-diffutils@gnu.org; Mon, 15 Aug 2011 01:30:46 -0400
Received: from mx.meyering.net ([82.230.74.64]:57929)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1Qspl7-0001LP-HN
	for bug-diffutils@gnu.org; Mon, 15 Aug 2011 01:30:45 -0400
Received: from rho.meyering.net (localhost.localdomain [127.0.0.1])
	by rho.meyering.net (Acme Bit-Twister) with ESMTP id EB72D601B3
	for <bug-diffutils@gnu.org>; Mon, 15 Aug 2011 07:30:43 +0200 (CEST)
From: Jim Meyering <jim@meyering.net>
To: bug-diffutils@gnu.org
Date: Mon, 15 Aug 2011 07:30:43 +0200
Message-ID: <87fwl31bss.fsf@rho.meyering.net>
Lines: 34
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 82.230.74.64
Subject: [bug-diffutils] [PATCH] maint: avoid new "make sytnax-check"
	failure.
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Aug 2011 05:30:48 -0000

"make syntax-check" was failing like this:

    find_dir_file_pathname
    the above functions should have static scope
    make[1]: *** [_gl_tight_scope] Error 1

If fixed it with this:

>From 320355d6d4a7cbaf15a34341131e506fff8e41c2 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@redhat.com>
Date: Mon, 15 Aug 2011 07:27:14 +0200
Subject: [PATCH] maint: avoid new "make sytnax-check" failure.

* src/diff.h (find_dir_file_pathname): Mark declaration with "extern"
keyword, in order to placate the tight-scope syntax check.
---
 src/diff.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/diff.h b/src/diff.h
index b44a157..578c4ea 100644
--- a/src/diff.h
+++ b/src/diff.h
@@ -335,7 +335,7 @@ extern void print_context_script (struct change *, bool);
 extern int diff_dirs (struct comparison const *,
                       int (*) (struct comparison const *,
                                char const *, char const *));
-char *find_dir_file_pathname (char const *, char const *);
+extern char *find_dir_file_pathname (char const *, char const *);

 /* ed.c */
 extern void print_ed_script (struct change *);
-- 
1.7.6.821.g3eb91be


From MAILER-DAEMON Mon Aug 15 02:05:05 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QsqIL-0006zY-Lz
	for mharc-bug-diffutils@gnu.org; Mon, 15 Aug 2011 02:05:05 -0400
Received: from eggs.gnu.org ([140.186.70.92]:56141)
	by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <mail@nh2.me>)
	id 1Qsm8E-0003kM-BB
	for bug-diffutils@gnu.org; Sun, 14 Aug 2011 21:38:23 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mail@nh2.me>) id 1Qsm8D-0000a9-6e
	for bug-diffutils@gnu.org; Sun, 14 Aug 2011 21:38:22 -0400
Received: from ks357529.kimsufi.com ([91.121.149.72]:50700
	helo=mail.grenz-bonn.de) by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@nh2.me>) id 1Qsm8D-0000Zw-2Q
	for bug-diffutils@gnu.org; Sun, 14 Aug 2011 21:38:21 -0400
Received: from [192.168.0.176] (178-26-99-149-dynip.superkabel.de
	[178.26.99.149])
	by ks357529.kimsufi.com (Postfix) with ESMTPSA id 3A96975469
	for <bug-diffutils@gnu.org>; Mon, 15 Aug 2011 03:38:18 +0200 (CEST)
Message-ID: <4E48788A.4030404@nh2.me>
Date: Mon, 15 Aug 2011 03:38:18 +0200
From: =?ISO-8859-1?Q?Niklas_Hamb=FCchen?= <mail@nh2.me>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:5.0) Gecko/20110627 Thunderbird/5.0
MIME-Version: 1.0
To: bug-diffutils@gnu.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 91.121.149.72
X-Mailman-Approved-At: Mon, 15 Aug 2011 02:05:03 -0400
Subject: [bug-diffutils] [PATCH] Add --ed-line-numbers-only option to diff
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Aug 2011 01:38:23 -0000

Hello,

in a recent file system failure, I lost quite a bit of work on Gtk, so I 
wrote a program that helps finding lost file names (e.g. as a result of 
a system recovery like extundelete) by comparing them to similar files.

To calculate the similarity of files, I compare the number of common 
lines between to files to their sizes. To find that number of common 
lines, I use (ah, finally...) diff.

I found it quite interesting that I had to spend hours searching for a 
program to just tell how many lines of two files are the same, or more 
generally, to tell me which parts of two files are the same and where 
exactly additions, deletions and replacements are.

After some time, I finally found the diff -e flag, that prints out the 
ed (ed is the standard editor!) commands to transform the one file into 
the other. This information can nicely be used to calculate all these 
things (it indeed already prints out additions, deletions and 
replacements in a line-based fashion, so that only the similar hunks 
have to be calculated off that data).
However, it also prints out the actual file (change) content, which is a 
mess to parse, even more if you are not interested in the result.

I therefore propose the following patch that implements a 
--ed-line-numbers-only option to omit the contents and only print out 
the difference location information.

Thank you
Niklas


From MAILER-DAEMON Mon Aug 15 02:05:05 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QsqIL-00070E-QJ
	for mharc-bug-diffutils@gnu.org; Mon, 15 Aug 2011 02:05:05 -0400
Received: from eggs.gnu.org ([140.186.70.92]:42463)
	by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <mail@nh2.me>)
	id 1QsmBp-0004LT-Nx
	for bug-diffutils@gnu.org; Sun, 14 Aug 2011 21:42:06 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mail@nh2.me>) id 1QsmBo-00013H-6p
	for bug-diffutils@gnu.org; Sun, 14 Aug 2011 21:42:05 -0400
Received: from ks357529.kimsufi.com ([91.121.149.72]:47389
	helo=mail.grenz-bonn.de) by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@nh2.me>) id 1QsmBo-00013C-2d
	for bug-diffutils@gnu.org; Sun, 14 Aug 2011 21:42:04 -0400
Received: from [192.168.0.176] (178-26-99-149-dynip.superkabel.de
	[178.26.99.149])
	by ks357529.kimsufi.com (Postfix) with ESMTPSA id 8D6DD75469
	for <bug-diffutils@gnu.org>; Mon, 15 Aug 2011 03:42:02 +0200 (CEST)
Message-ID: <4E487969.6060801@nh2.me>
Date: Mon, 15 Aug 2011 03:42:01 +0200
From: =?ISO-8859-1?Q?Niklas_Hamb=FCchen?= <mail@nh2.me>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:5.0) Gecko/20110627 Thunderbird/5.0
MIME-Version: 1.0
To: bug-diffutils@gnu.org
References: <4E48788A.4030404@nh2.me>
In-Reply-To: <4E48788A.4030404@nh2.me>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 91.121.149.72
X-Mailman-Approved-At: Mon, 15 Aug 2011 02:05:03 -0400
Subject: Re: [bug-diffutils] [PATCH] Add --ed-line-numbers-only option to
	diff
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Aug 2011 01:42:06 -0000

PS: You can find my file name recovery program that uses that option at 
https://github.com/nh2/filerescuematcher.


From MAILER-DAEMON Mon Aug 15 02:05:05 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QsqIL-0006zw-Nw
	for mharc-bug-diffutils@gnu.org; Mon, 15 Aug 2011 02:05:05 -0400
Received: from eggs.gnu.org ([140.186.70.92]:56226)
	by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <mail@nh2.me>)
	id 1Qsm8s-0003xa-0R
	for bug-diffutils@gnu.org; Sun, 14 Aug 2011 21:39:03 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mail@nh2.me>) id 1Qsm8q-0000d5-Qa
	for bug-diffutils@gnu.org; Sun, 14 Aug 2011 21:39:01 -0400
Received: from ks357529.kimsufi.com ([91.121.149.72]:46149
	helo=mail.grenz-bonn.de) by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mail@nh2.me>) id 1Qsm8q-0000cz-G1
	for bug-diffutils@gnu.org; Sun, 14 Aug 2011 21:39:00 -0400
Received: from [192.168.0.176] (178-26-99-149-dynip.superkabel.de
	[178.26.99.149])
	by ks357529.kimsufi.com (Postfix) with ESMTPSA id 338B175469
	for <bug-diffutils@gnu.org>; Mon, 15 Aug 2011 03:38:59 +0200 (CEST)
Message-ID: <4E4878B2.7060307@nh2.me>
Date: Mon, 15 Aug 2011 03:38:58 +0200
From: =?ISO-8859-1?Q?Niklas_Hamb=FCchen?= <mail@nh2.me>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:5.0) Gecko/20110627 Thunderbird/5.0
MIME-Version: 1.0
To: bug-diffutils@gnu.org
Content-Type: multipart/mixed; boundary="------------000801030305080800010700"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 91.121.149.72
X-Mailman-Approved-At: Mon, 15 Aug 2011 02:05:03 -0400
Subject: [bug-diffutils] [PATCH 1/1] Add --ed-line-numbers-only option to
	diff
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Aug 2011 01:39:03 -0000

This is a multi-part message in MIME format.
--------------000801030305080800010700
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit


--------------000801030305080800010700
Content-Type: text/x-patch;
 name="0001-Add-ed-line-numbers-only-option-to-diff.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="0001-Add-ed-line-numbers-only-option-to-diff.patch"

>From bffe3fef5440f17aa37d0167e4b5af8a2906838c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niklas=20Hamb=C3=BCchen?= <mail@nh2.me>
Date: Sun, 14 Aug 2011 19:30:57 +0200
Subject: [PATCH] Add --ed-line-numbers-only option to diff

---
 src/analyze.c |    6 +++++-
 src/diff.c    |    8 +++++++-
 src/diff.h    |    4 ++++
 src/ed.c      |   37 +++++++++++++++++++++++++++++++++++++
 4 files changed, 53 insertions(+), 2 deletions(-)

diff --git a/src/analyze.c b/src/analyze.c
index e797248..95e1e62 100644
--- a/src/analyze.c
+++ b/src/analyze.c
@@ -597,7 +597,7 @@ diff_2_files (struct comparison *cmp)
       /* Get the results of comparison in the form of a chain
 	 of `struct change's -- an edit script.  */
 
-      if (output_style == OUTPUT_ED)
+      if (output_style == OUTPUT_ED || output_style == OUTPUT_ED_LINE_NUMBERS_ONLY)
 	script = build_reverse_script (cmp->file);
       else
 	script = build_script (cmp->file);
@@ -660,6 +660,10 @@ diff_2_files (struct comparison *cmp)
 		  print_ed_script (script);
 		  break;
 
+		case OUTPUT_ED_LINE_NUMBERS_ONLY:
+		  print_ed_script_line_numbers_only (script);
+		  break;
+
 		case OUTPUT_FORWARD_ED:
 		  pr_forward_ed_script (script);
 		  break;
diff --git a/src/diff.c b/src/diff.c
index cc1b611..2ad39b2 100644
--- a/src/diff.c
+++ b/src/diff.c
@@ -106,7 +106,7 @@ static bool unidirectional_new_file;
 static bool report_identical_files;
 
 static char const shortopts[] =
-"0123456789abBcC:dD:eEfF:hHiI:lL:nNpPqrsS:tTuU:vwW:x:X:y";
+"0123456789abBcC:dD:eEfF:hHiI:lL:nNopPqrsS:tTuU:vwW:x:X:y";
 
 /* Values for long options that do not have single-letter equivalents.  */
 enum
@@ -162,6 +162,7 @@ static struct option const longopts[] =
   {"changed-group-format", 1, 0, CHANGED_GROUP_FORMAT_OPTION},
   {"context", 2, 0, 'C'},
   {"ed", 0, 0, 'e'},
+  {"ed-line-numbers-only", 0, 0, 'o'},
   {"exclude", 1, 0, 'x'},
   {"exclude-from", 1, 0, 'X'},
   {"expand-tabs", 0, 0, 't'},
@@ -379,6 +380,10 @@ main (int argc, char **argv)
 	  specify_style (OUTPUT_ED);
 	  break;
 
+	case 'o':
+	  specify_style (OUTPUT_ED_LINE_NUMBERS_ONLY);
+	  break;
+
 	case 'E':
 	  if (ignore_white_space < IGNORE_TAB_EXPANSION)
 	    ignore_white_space = IGNORE_TAB_EXPANSION;
@@ -864,6 +869,7 @@ static char const * const option_help_msgid[] = {
   -F RE  --show-function-line=RE  Show the most recent line matching RE."),
   N_("-q  --brief  Output only whether files differ."),
   N_("-e  --ed  Output an ed script."),
+  N_("-o  --ed-line-numbers-only  Output an ed script, line numebers only."),
   N_("--normal  Output a normal diff."),
   N_("-n  --rcs  Output an RCS format diff."),
   N_("-y  --side-by-side  Output in two columns.\n\
diff --git a/src/diff.h b/src/diff.h
index 71b33f4..7237016 100644
--- a/src/diff.h
+++ b/src/diff.h
@@ -64,6 +64,9 @@ enum output_style
   /* Output the differences as commands suitable for `ed' (-e).  */
   OUTPUT_ED,
 
+  /* Output the differences as `ed'-style line number headers (-o).  */
+  OUTPUT_ED_LINE_NUMBERS_ONLY,
+
   /* Output the diff as a forward ed script (-f).  */
   OUTPUT_FORWARD_ED,
 
@@ -327,6 +330,7 @@ int diff_dirs (struct comparison const *, int (*) (struct comparison const *, ch
 
 /* ed.c */
 void print_ed_script (struct change *);
+void print_ed_script_line_numbers_only (struct change *);
 void pr_forward_ed_script (struct change *);
 
 /* ifdef.c */
diff --git a/src/ed.c b/src/ed.c
index 08acf50..23f8a7b 100644
--- a/src/ed.c
+++ b/src/ed.c
@@ -21,6 +21,7 @@
 #include "diff.h"
 
 static void print_ed_hunk (struct change *);
+static void print_ed_hunk_line_number_header (struct change *);
 static void print_rcs_hunk (struct change *);
 static void pr_forward_ed_hunk (struct change *);
 
@@ -32,6 +33,42 @@ print_ed_script (struct change *script)
   print_script (script, find_reverse_change, print_ed_hunk);
 }
 
+/* Print our script as ed commands,
+   printing line number headers only, omitting the actual contents.  */
+
+void
+print_ed_script_line_numbers_only (struct change *script)
+{
+  print_script (script, find_reverse_change, print_ed_hunk_line_number_header);
+}
+
+/* Print the line number headers of an ed diff */
+
+static void
+print_ed_hunk_line_number_header (struct change *hunk)
+{
+  lin f0, l0, f1, l1;
+  enum changes changes;
+
+#ifdef DEBUG
+  debug_script (hunk);
+#endif
+
+  /* Determine range of line numbers involved in each file.  */
+  changes = analyze_hunk (hunk, &f0, &l0, &f1, &l1);
+  if (!changes)
+    return;
+
+  begin_output ();
+
+  /* Print out the line number header for this hunk */
+  print_number_range (',', &files[0], f0, l0);
+  fputc (change_letter[changes], outfile);
+  fputc ('\n', outfile);
+
+  /* Do not print the actual change content. */
+}
+
 /* Print a hunk of an ed diff */
 
 static void
-- 
1.7.4.1


--------------000801030305080800010700--


From MAILER-DAEMON Mon Aug 15 04:13:22 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QssIU-0003hf-40
	for mharc-bug-diffutils@gnu.org; Mon, 15 Aug 2011 04:13:22 -0400
Received: from eggs.gnu.org ([140.186.70.92]:51583)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1QssIR-0003aD-Dp
	for bug-diffutils@gnu.org; Mon, 15 Aug 2011 04:13:20 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1QssIQ-0003NP-EF
	for bug-diffutils@gnu.org; Mon, 15 Aug 2011 04:13:19 -0400
Received: from smtp.cs.ucla.edu ([131.179.128.62]:42705)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1QssIQ-0003NG-97
	for bug-diffutils@gnu.org; Mon, 15 Aug 2011 04:13:18 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.cs.ucla.edu (Postfix) with ESMTP id 5629E39E80DC;
	Mon, 15 Aug 2011 01:13:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu
Received: from smtp.cs.ucla.edu ([127.0.0.1])
	by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id VXreRspt4teF; Mon, 15 Aug 2011 01:13:15 -0700 (PDT)
Received: from [192.168.0.3] (97-120-140-129.ptld.qwest.net [97.120.140.129])
	by smtp.cs.ucla.edu (Postfix) with ESMTPSA id AD9D539E80D2;
	Mon, 15 Aug 2011 01:13:15 -0700 (PDT)
Message-ID: <4E48D514.3000108@cs.ucla.edu>
Date: Mon, 15 Aug 2011 01:13:08 -0700
From: Paul Eggert <eggert@cs.ucla.edu>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11
MIME-Version: 1.0
To: =?ISO-8859-1?Q?Niklas_Hamb=FCchen?= <mail@nh2.me>
References: <4E48788A.4030404@nh2.me>
In-Reply-To: <4E48788A.4030404@nh2.me>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 131.179.128.62
Cc: bug-diffutils@gnu.org
Subject: Re: [bug-diffutils] [PATCH] Add --ed-line-numbers-only option to
 diff
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Aug 2011 08:13:20 -0000

Can you get the effect that you want with the existing format options?
I don't know exactly what is wanted here, but how about something like
the following shell script?

diff --old-group-format='old=%dn
' --new-group-format='new=%dN
' --unchanged-group-format='unchanged=%dn
' --changed-group-format='changed=%dn,%dN
' OLD NEW

where OLD and NEW are the files being compared.

This way, you wouldn't need to alter GNU diff, and could just use
the options that are already there.  These formats are designed for
the kind of specialized situation that you ran into.


From MAILER-DAEMON Mon Aug 15 12:07:13 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Qszh3-0000yP-EE
	for mharc-bug-diffutils@gnu.org; Mon, 15 Aug 2011 12:07:13 -0400
Received: from eggs.gnu.org ([140.186.70.92]:47308)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <twaugh@redhat.com>) id 1Qszh0-0000y5-Mm
	for bug-diffutils@gnu.org; Mon, 15 Aug 2011 12:07:11 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <twaugh@redhat.com>) id 1Qszgz-0007L7-Se
	for bug-diffutils@gnu.org; Mon, 15 Aug 2011 12:07:10 -0400
Received: from mx1.redhat.com ([209.132.183.28]:23039)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <twaugh@redhat.com>) id 1Qszgz-0007Kv-Le
	for bug-diffutils@gnu.org; Mon, 15 Aug 2011 12:07:09 -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 p7FG72Km027131
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Mon, 15 Aug 2011 12:07:02 -0400
Received: from [10.11.11.214] (vpn-11-214.rdu.redhat.com [10.11.11.214])
	by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
	id p7FG7007030457; Mon, 15 Aug 2011 12:07:01 -0400
From: Tim Waugh <twaugh@redhat.com>
To: Paul Eggert <eggert@cs.ucla.edu>
Date: Mon, 15 Aug 2011 17:06:58 +0100
In-Reply-To: <4E46DF45.7050700@cs.ucla.edu>
References: <1312465656.4532.3.camel@localhost.localdomain>
	<4E3AA951.6000607@cs.ucla.edu>
	<1313166162.9589.0.camel@localhost.localdomain>
	<4E46DF45.7050700@cs.ucla.edu>
Content-Type: multipart/signed; micalg="pgp-sha1";
	protocol="application/pgp-signature"; 
	boundary="=-mvQxtFkEK92woeRaZMdH"
Message-ID: <1313424422.2371.29.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
Cc: bug-diffutils@gnu.org
Subject: Re: [bug-diffutils] [patch] --ignore-file-name-case
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Aug 2011 16:07:11 -0000


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

On Sat, 2011-08-13 at 13:32 -0700, Paul Eggert wrote:
> Here's what I pushed.  Comments are welcome and please give it a try
> if you have the time.

That works perfectly (and looks nicer).  Thanks!

Tim.
*/


--=-mvQxtFkEK92woeRaZMdH
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)

iQEVAwUATklEIu7Fkar03pQsAQIXsQgAujxt13QiH47ElZ5H18tfxubh45MZH710
IzQxcxTEkV1lbkYDLlkW6WfD9D77AabgFYDB2dA8zeCxepPp5rlFWcotG9KgmVKj
dD5vKXkZOPMXNDnq01l+++W8hzHJBmT+VyJ8V3CY/Z6RUzMohskdPQXrFSvGI8MD
IS1/jbapIWI4CuBHxkjAe98GoJY1r461Jq9hlrJMjr3TX6Mttq3mbI4EEeo+ZfG2
aTidNtrsk3J9IpAJF8F/gwY2x5qbFxMo0L7oBWp+mTRohaU8uwHM2f+BUeyuho6K
PKjqKi4gLM77CcBwNGTujav8i18w8kMyB+2c3J6KMlUBHW/P8aIlJQ==
=KrS0
-----END PGP SIGNATURE-----

--=-mvQxtFkEK92woeRaZMdH--



From MAILER-DAEMON Wed Aug 17 18:05:18 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QtoEg-0004J1-99
	for mharc-bug-diffutils@gnu.org; Wed, 17 Aug 2011 18:05:18 -0400
Received: from eggs.gnu.org ([140.186.70.92]:52685)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Paul.Green@stratus.com>) id 1QtmaN-00075N-Vq
	for bug-diffutils@gnu.org; Wed, 17 Aug 2011 16:19:36 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Paul.Green@stratus.com>) id 1QtmaN-0001Br-3c
	for bug-diffutils@gnu.org; Wed, 17 Aug 2011 16:19:35 -0400
Received: from mailhub5.stratus.com ([134.111.1.18]:43527)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Paul.Green@stratus.com>) id 1QtmaN-0001Bd-0R
	for bug-diffutils@gnu.org; Wed, 17 Aug 2011 16:19:35 -0400
Received: from EXHQ.corp.stratus.com (exhq.corp.stratus.com [134.111.201.100])
	by mailhub5.stratus.com (8.12.11/8.12.11) with ESMTP id
	p7HGJWit001485
	for <bug-diffutils@gnu.org>; Wed, 17 Aug 2011 12:19:32 -0400
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Wed, 17 Aug 2011 16:19:31 -0400
Message-ID: <5AA430FFE4486C448003201AC83BC85E01F59B34@EXHQ.corp.stratus.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [PATCH] Avoid gcc warning on Stratus OpenVOS building regex.c
Thread-Index: AcxdGvGJoCoMNe5QSaaqm7/6CdQ7Aw==
From: "Green, Paul" <Paul.Green@stratus.com>
To: <bug-diffutils@gnu.org>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6
X-Received-From: 134.111.1.18
X-Mailman-Approved-At: Wed, 17 Aug 2011 18:05:16 -0400
Subject: [bug-diffutils] [PATCH] Avoid gcc warning on Stratus OpenVOS
	building regex.c
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 17 Aug 2011 20:19:36 -0000

Gentle Diffutils Maintainers,

The Stratus OpenVOS port of gcc does not allow use of the regparm
attribute. The following patch to regex_internal.h eliminates a series
of warning messages when building lib/regex.c. This patch is against the
newly-released diffutils-3.1 files. With this patch in place, diffutils
builds without warnings or errors on OpenVOS Release 17.1.

diff -u regex_internal.h.orig regex_internal.h
--- regex_internal.h.orig     2011-04-20 18:24:34.000000000 -0400
+++ regex_internal.h     2011-08-17 15:36:26.000000000 -0400
@@ -417,7 +417,7 @@
 typedef struct re_dfa_t re_dfa_t;

 #ifndef _LIBC
-# if defined __i386__ && !defined __EMX__
+# if defined __i386__ && !defined __EMX__ && !defined __VOS__
 #  define internal_function   __attribute ((regparm (3), stdcall))
 # else
 #  define internal_function

Thanks
PG
--
Sr. Technical Consultant, Stratus Technologies Inc.
Work: +1-978-461-7557; FAX: +1-978-461-3610; Twitter: stratuspaulg



From MAILER-DAEMON Wed Aug 17 20:12:12 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QtqDU-0007Mp-IJ
	for mharc-bug-diffutils@gnu.org; Wed, 17 Aug 2011 20:12:12 -0400
Received: from eggs.gnu.org ([140.186.70.92]:38902)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1QtqDR-0007M2-SE
	for bug-diffutils@gnu.org; Wed, 17 Aug 2011 20:12:10 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1QtqDQ-0004jg-DN
	for bug-diffutils@gnu.org; Wed, 17 Aug 2011 20:12:09 -0400
Received: from mx1.redhat.com ([209.132.183.28]:18813)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>)
	id 1QtqDQ-0004jc-3r; Wed, 17 Aug 2011 20:12:08 -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 p7I0C7IS007783
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Wed, 17 Aug 2011 20:12:07 -0400
Received: from [10.3.113.27] (ovpn-113-27.phx2.redhat.com [10.3.113.27])
	by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id p7I0C6O1022253; Wed, 17 Aug 2011 20:12:07 -0400
Message-ID: <4E4C58D6.5010406@redhat.com>
Date: Wed, 17 Aug 2011 18:12:06 -0600
From: Eric Blake <eblake@redhat.com>
Organization: Red Hat
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US;
	rv:1.9.2.18) Gecko/20110621 Fedora/3.1.11-1.fc14
	Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.11
MIME-Version: 1.0
To: bug-diffutils@gnu.org, bug-gnulib <bug-gnulib@gnu.org>
References: <5AA430FFE4486C448003201AC83BC85E01F59B34@EXHQ.corp.stratus.com>
In-Reply-To: <5AA430FFE4486C448003201AC83BC85E01F59B34@EXHQ.corp.stratus.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
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: Re: [bug-diffutils] [PATCH] Avoid gcc warning on Stratus OpenVOS
 building regex.c
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Aug 2011 00:12:10 -0000

[adding bug-gnulib]

On 08/17/2011 02:19 PM, Green, Paul wrote:
> Gentle Diffutils Maintainers,
>
> The Stratus OpenVOS port of gcc does not allow use of the regparm
> attribute. The following patch to regex_internal.h eliminates a series
> of warning messages when building lib/regex.c. This patch is against the
> newly-released diffutils-3.1 files. With this patch in place, diffutils
> builds without warnings or errors on OpenVOS Release 17.1.
>
> diff -u regex_internal.h.orig regex_internal.h
> --- regex_internal.h.orig     2011-04-20 18:24:34.000000000 -0400
> +++ regex_internal.h     2011-08-17 15:36:26.000000000 -0400
> @@ -417,7 +417,7 @@
>   typedef struct re_dfa_t re_dfa_t;
>
>   #ifndef _LIBC
> -# if defined __i386__&&  !defined __EMX__
> +# if defined __i386__&&  !defined __EMX__&&  !defined __VOS__

Other packages will share this problem unless you push the patch 
upstream in gnulib.

>   #  define internal_function   __attribute ((regparm (3), stdcall))
>   # else
>   #  define internal_function

I'm not sure if this is the best approach, though - does anything else 
in gnulib make use of regparm, and what benefits does it offer for 
platforms where it kicks in?  Wouldn't it just be simpler to always 
define internal_function as an empty macro when not on _LIBC, so that we 
don't have to fight portability problems of non-standard extensions?

-- 
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


From MAILER-DAEMON Thu Aug 18 03:51:07 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QtxNb-0006Vt-Oz
	for mharc-bug-diffutils@gnu.org; Thu, 18 Aug 2011 03:51:07 -0400
Received: from eggs.gnu.org ([140.186.70.92]:40945)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1QtxNY-0006T3-Vi
	for bug-diffutils@gnu.org; Thu, 18 Aug 2011 03:51:05 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1QtxNY-0007UD-1h
	for bug-diffutils@gnu.org; Thu, 18 Aug 2011 03:51:04 -0400
Received: from smtp.cs.ucla.edu ([131.179.128.62]:55386)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>)
	id 1QtxNX-0007U9-Q4; Thu, 18 Aug 2011 03:51:04 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.cs.ucla.edu (Postfix) with ESMTP id 873C9A60003;
	Thu, 18 Aug 2011 00:51:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu
Received: from smtp.cs.ucla.edu ([127.0.0.1])
	by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id mYWrknYHX14r; Thu, 18 Aug 2011 00:51:02 -0700 (PDT)
Received: from [192.168.0.3] (97-120-140-129.ptld.qwest.net [97.120.140.129])
	by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 9E3AEA60001;
	Thu, 18 Aug 2011 00:51:01 -0700 (PDT)
Message-ID: <4E4CC45E.9020501@cs.ucla.edu>
Date: Thu, 18 Aug 2011 00:50:54 -0700
From: Paul Eggert <eggert@cs.ucla.edu>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11
MIME-Version: 1.0
To: Eric Blake <eblake@redhat.com>
References: <5AA430FFE4486C448003201AC83BC85E01F59B34@EXHQ.corp.stratus.com>
	<4E4C58D6.5010406@redhat.com>
In-Reply-To: <4E4C58D6.5010406@redhat.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 131.179.128.62
Cc: bug-diffutils@gnu.org, "Green, Paul" <Paul.Green@stratus.com>,
	bug-gnulib <bug-gnulib@gnu.org>
Subject: Re: [bug-diffutils] [PATCH] Avoid gcc warning on Stratus OpenVOS
 building regex.c
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Aug 2011 07:51:06 -0000

On 08/17/2011 05:12 PM, Eric Blake wrote:
> Wouldn't it just be simpler to always define internal_function as an empty macro
> when not on _LIBC,

Yes, I think so.  I did that in gnulib, here:

http://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=a6b16b69fe1cad695b270dd5bf3deb2850fc4dd1

and this fix should appear in the next diffutils release.  Thanks to both of you.


From MAILER-DAEMON Tue Aug 23 19:37:04 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Qw0Wm-0005e6-OC
	for mharc-bug-diffutils@gnu.org; Tue, 23 Aug 2011 19:37:04 -0400
Received: from eggs.gnu.org ([140.186.70.92]:43644)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jidanni@jidanni.org>) id 1Qw0Wj-0005d5-IU
	for bug-diffutils@gnu.org; Tue, 23 Aug 2011 19:37:02 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jidanni@jidanni.org>) id 1Qw0Wi-0005t0-Dz
	for bug-diffutils@gnu.org; Tue, 23 Aug 2011 19:37:01 -0400
Received: from caiajhbdccac.dreamhost.com ([208.97.132.202]:57397
	helo=homiemail-a7.g.dreamhost.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jidanni@jidanni.org>) id 1Qw0Wi-0005qf-6L
	for bug-diffutils@gnu.org; Tue, 23 Aug 2011 19:37:00 -0400
Received: from homiemail-a7.g.dreamhost.com (localhost [127.0.0.1])
	by homiemail-a7.g.dreamhost.com (Postfix) with ESMTP id 27C0925C064
	for <bug-diffutils@gnu.org>; Tue, 23 Aug 2011 16:36:59 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=date:from:to
	:subject:message-id:mime-version:content-type; q=dns; s=
	jidanni.org; b=Xd5Npqddmv1tpJbrPfSihAGoGyVwbIauxa8EiUTTOQfw96YbH
	0wkwmERdMtXqSfEClSh5yiPcOiw9MzRnDUHRoqpX8QQFHZ/YGdbA9tfhjUrdF8ih
	CGf10xbEF1v1zWKC8y7kg4unLBtd1knHaHDKUgmRZ+dPXNF3SdV3naCXkw=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=date:from
	:to:subject:message-id:mime-version:content-type; s=jidanni.org;
	bh=z0mQ8nFd7mrjmjFN6/7Ib8YB434=; b=imd7+QHi0qU+ctjJ13dnUd3IcapC
	W7i5SYeaViwkgHllMdZNGKJ59d0wqH0lfweQcUHLhQM1qvHaBbB6/+2/cWj6W0Xg
	3A4nMDnXnbZxUGBBELp/qG8lP4ImkjmDfoU9al4e/2ADfVLdoi10J1ZPQjxMayeL
	OUO733/YY9d1loY=
Received: from jidanni.org (218-163-1-99.dynamic.hinet.net [218.163.1.99])
	(using TLSv1 with cipher AES256-SHA (256/256 bits))
	(No client certificate requested)
	(Authenticated sender: jidanni@jidanni.org)
	by homiemail-a7.g.dreamhost.com (Postfix) with ESMTPSA id CFD8225C062
	for <bug-diffutils@gnu.org>; Tue, 23 Aug 2011 16:36:58 -0700 (PDT)
Date: Wed, 24 Aug 2011 07:15:06 +0800
From: jidanni@jidanni.org
To: bug-diffutils@gnu.org
Message-ID: <20110823231505.GA5041@jidanni.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.21 (2010-09-15)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 208.97.132.202
Subject: [bug-diffutils] -3 triggers no error
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 23 Aug 2011 23:37:03 -0000

$ diff -3 a b
triggers no error, however --help shows no such option.
same with -4 etc.


From MAILER-DAEMON Wed Aug 24 17:44:43 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QwLFb-0000em-Dk
	for mharc-bug-diffutils@gnu.org; Wed, 24 Aug 2011 17:44:43 -0400
Received: from eggs.gnu.org ([140.186.70.92]:51992)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1QwLFY-0000aJ-MS
	for bug-diffutils@gnu.org; Wed, 24 Aug 2011 17:44:41 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1QwLFX-0003jX-Dt
	for bug-diffutils@gnu.org; Wed, 24 Aug 2011 17:44:40 -0400
Received: from smtp.cs.ucla.edu ([131.179.128.62]:45319)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1QwLFX-0003ig-8Z
	for bug-diffutils@gnu.org; Wed, 24 Aug 2011 17:44:39 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.cs.ucla.edu (Postfix) with ESMTP id 1C16F39E80F2;
	Wed, 24 Aug 2011 14:44:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu
Received: from smtp.cs.ucla.edu ([127.0.0.1])
	by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id uFhDB0Slzl9o; Wed, 24 Aug 2011 14:44:29 -0700 (PDT)
Received: from [192.168.254.102] (unknown [66.96.64.26])
	by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 47E2B39E80CF;
	Wed, 24 Aug 2011 14:44:29 -0700 (PDT)
Message-ID: <4E5570B8.1020502@cs.ucla.edu>
Date: Wed, 24 Aug 2011 14:44:24 -0700
From: Paul Eggert <eggert@cs.ucla.edu>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11
MIME-Version: 1.0
To: jidanni@jidanni.org
References: <20110823231505.GA5041@jidanni.org>
In-Reply-To: <20110823231505.GA5041@jidanni.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 131.179.128.62
Cc: bug-diffutils@gnu.org
Subject: Re: [bug-diffutils] -3 triggers no error
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 24 Aug 2011 21:44:41 -0000

On 08/23/2011 04:15 PM, jidanni@jidanni.org wrote:
> $ diff -3 a b
> triggers no error, however --help shows no such option.

I think that's purposely undocumented; the
obsolescent syntax for context size still works
but it's not documented or recommended.



From MAILER-DAEMON Thu Aug 25 17:54:53 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Qwhsz-0002dT-Rx
	for mharc-bug-diffutils@gnu.org; Thu, 25 Aug 2011 17:54:53 -0400
Received: from eggs.gnu.org ([140.186.70.92]:58448)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gcgdb-bug-diffutils@m.gmane.org>) id 1QwgAn-0001ch-Tc
	for bug-diffutils@gnu.org; Thu, 25 Aug 2011 16:05:10 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gcgdb-bug-diffutils@m.gmane.org>) id 1QwgAm-0004Px-6l
	for bug-diffutils@gnu.org; Thu, 25 Aug 2011 16:05:09 -0400
Received: from lo.gmane.org ([80.91.229.12]:40284)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gcgdb-bug-diffutils@m.gmane.org>) id 1QwgAl-0004PE-N7
	for bug-diffutils@gnu.org; Thu, 25 Aug 2011 16:05:08 -0400
Received: from list by lo.gmane.org with local (Exim 4.69)
	(envelope-from <gcgdb-bug-diffutils@m.gmane.org>) id 1QwgAj-0001Me-W6
	for bug-diffutils@gnu.org; Thu, 25 Aug 2011 22:05:05 +0200
Received: from dslb-094-222-232-052.pools.arcor-ip.net ([94.222.232.52])
	by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
	id 1AlnuQ-0007hv-00
	for <bug-diffutils@gnu.org>; Thu, 25 Aug 2011 22:05:05 +0200
Received: from claudio.bley by dslb-094-222-232-052.pools.arcor-ip.net with
	local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00
	for <bug-diffutils@gnu.org>; Thu, 25 Aug 2011 22:05:05 +0200
X-Injected-Via-Gmane: http://gmane.org/
To: bug-diffutils@gnu.org
From: claudio.bley@gmail.com (Claudio Bley)
Date: Thu, 25 Aug 2011 21:58:15 +0200
Lines: 96
Message-ID: <m2aaaxtga0.fsf@cb.home.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: usenet@dough.gmane.org
X-Gmane-NNTP-Posting-Host: dslb-094-222-232-052.pools.arcor-ip.net
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)
Cancel-Lock: sha1:+HYdR8lgBMQJPSGmy6/l9H7KloU=
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 80.91.229.12
X-Mailman-Approved-At: Thu, 25 Aug 2011 17:54:52 -0400
Subject: [bug-diffutils] [PATCH] quoting in diff3 on win32
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Aug 2011 20:05:10 -0000

Hi.

I compiled diffutils for MinGW.

diff3.exe does not work with special characters in path names (like
spaces et cetera) because it does not quote special characters
correctly for the cmd shell when invoking diff.exe.

Here's a patch:

(apply with "patch -p1" inside the toplevel source directory)

--- diffutils-3.0\src\diff3.c	2010-04-15 14:58:08 +0200
+++ diffutils-3.0_mod\src\diff3.c	2011-07-18 15:45:36 +0200
@@ -1133,6 +1133,49 @@
   return type;
 }
 
+#if defined(WIN32) && !defined(__CYGWIN__)
+#  define shell_quote_length cmd_quote_length
+#  define shell_quote_copy   cmd_quote_copy
+
+/* parameter delimiters */
+/* static const char* cmd_delims = ",;= \t"; */
+static const char* cmd_special = "&|><^";
+static const char cmd_escape = '^';
+
+/* enclose in double quotes and escape double quotes with
+ * backslash, escape special chars with ^
+ */
+size_t cmd_quote_length(const char *string) {
+    size_t count = 0;
+    const char* s = string;
+    for (; *s; ++s) {
+        if (strchr(cmd_special, *s) ||
+            *s == '"')
+        {
+            count += 2;
+        } else ++count;
+    }
+    return count + 2;
+}
+
+char *
+shell_quote_copy (char *p, const char *string) {
+    const char* s = string;
+    *p++ = '"';
+    for (; *s; ++s) {
+        if (*s == '"')
+            *p++ = '\\';
+        else if (strchr(cmd_special, *s))
+            *p++ = '^';
+        *p++ = *s;
+    }
+    *p++ = '"';
+    *p = '\0';
+    return p;
+}
+
+#endif
+
 static char *
 read_diff (char const *filea,
 	   char const *fileb,
@@ -1199,8 +1242,15 @@
 			   + sizeof "--strip-trailing-cr"
 			   + sizeof args - 1
 			   + shell_quote_length (filea) + 1
-			   + shell_quote_length (fileb) + 1);
+			   + shell_quote_length (fileb) + 1
+#if defined(WIN32) && !defined(__CYGWIN__)
+                           + 2  /* enclose _entire_ command in double quotes */
+#endif
+      );
   char *p = command;
+#if defined(WIN32) && !defined(__CYGWIN__)
+  *p++ = '"';
+#endif
   p = shell_quote_copy (p, diff_program);
   if (text)
     {
@@ -1217,6 +1267,9 @@
   p = shell_quote_copy (p, filea);
   *p++ = ' ';
   p = shell_quote_copy (p, fileb);
+#if defined(WIN32) && !defined(__CYGWIN__)
+  *p++ = '"';
+#endif
   *p = 0;
   errno = 0;
   fpipe = popen (command, "r");


Cheers,
-- 
Claudio



From MAILER-DAEMON Thu Aug 25 18:27:32 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QwiOa-00049B-Gl
	for mharc-bug-diffutils@gnu.org; Thu, 25 Aug 2011 18:27:32 -0400
Received: from eggs.gnu.org ([140.186.70.92]:40343)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1QwiOY-000494-Ei
	for bug-diffutils@gnu.org; Thu, 25 Aug 2011 18:27:31 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1QwiOX-0007mB-CC
	for bug-diffutils@gnu.org; Thu, 25 Aug 2011 18:27:30 -0400
Received: from smtp.cs.ucla.edu ([131.179.128.62]:38995)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1QwiOX-0007lN-72
	for bug-diffutils@gnu.org; Thu, 25 Aug 2011 18:27:29 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.cs.ucla.edu (Postfix) with ESMTP id C92A739E80F2;
	Thu, 25 Aug 2011 15:27:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu
Received: from smtp.cs.ucla.edu ([127.0.0.1])
	by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id oDoEf5mySfK7; Thu, 25 Aug 2011 15:27:19 -0700 (PDT)
Received: from [192.168.1.10] (pool-71-189-109-235.lsanca.fios.verizon.net
	[71.189.109.235])
	by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 3523439E80DC;
	Thu, 25 Aug 2011 15:27:19 -0700 (PDT)
Message-ID: <4E56CC43.50802@cs.ucla.edu>
Date: Thu, 25 Aug 2011 15:27:15 -0700
From: Paul Eggert <eggert@cs.ucla.edu>
Organization: UCLA Computer Science Department
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;
	rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11
MIME-Version: 1.0
To: Claudio Bley <claudio.bley@gmail.com>
References: <m2aaaxtga0.fsf@cb.home.de>
In-Reply-To: <m2aaaxtga0.fsf@cb.home.de>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 131.179.128.62
Cc: bug-diffutils@gnu.org
Subject: Re: [bug-diffutils] [PATCH] quoting in diff3 on win32
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Aug 2011 22:27:31 -0000

Thanks, but it'd be better to solve this problem somewhere
other in the diff3 source code; I'd rather not have
#ifdefs like that in the application code.  Perhaps the
gnulib sh-quote module would be a better place?

http://www.gnu.org/s/gnulib/MODULES.html#module=sh-quote


From MAILER-DAEMON Thu Aug 25 18:32:01 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QwiSv-000526-21
	for mharc-bug-diffutils@gnu.org; Thu, 25 Aug 2011 18:32:01 -0400
Received: from eggs.gnu.org ([140.186.70.92]:46115)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1QwiSs-000520-GE
	for bug-diffutils@gnu.org; Thu, 25 Aug 2011 18:31:59 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1QwiSr-0008PR-AD
	for bug-diffutils@gnu.org; Thu, 25 Aug 2011 18:31:58 -0400
Received: from mx1.redhat.com ([209.132.183.28]:3359)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1QwiSr-0008P8-1N
	for bug-diffutils@gnu.org; Thu, 25 Aug 2011 18:31:57 -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 p7PMVtsW010263
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Thu, 25 Aug 2011 18:31:55 -0400
Received: from [10.3.113.46] (ovpn-113-46.phx2.redhat.com [10.3.113.46])
	by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id p7PMVtKP003239; Thu, 25 Aug 2011 18:31:55 -0400
Message-ID: <4E56CD5A.60404@redhat.com>
Date: Thu, 25 Aug 2011 16:31:54 -0600
From: Eric Blake <eblake@redhat.com>
Organization: Red Hat
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US;
	rv:1.9.2.20) Gecko/20110817 Fedora/3.1.12-1.fc14
	Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.12
MIME-Version: 1.0
To: Claudio Bley <claudio.bley@gmail.com>
References: <m2aaaxtga0.fsf@cb.home.de>
In-Reply-To: <m2aaaxtga0.fsf@cb.home.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
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
Cc: bug-diffutils@gnu.org
Subject: Re: [bug-diffutils] [PATCH] quoting in diff3 on win32
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 25 Aug 2011 22:31:59 -0000

On 08/25/2011 01:58 PM, Claudio Bley wrote:
> Hi.
>
> I compiled diffutils for MinGW.
>
> diff3.exe does not work with special characters in path names (like
> spaces et cetera) because it does not quote special characters
> correctly for the cmd shell when invoking diff.exe.

Gross.  It would be better to get the mingw environment to use sh 
instead of cmd, or to at least fix system() or popen() to properly munge 
command lines that assumed sh quoting into something that will work when 
passed to cmd, and to put that fix in mingw (or perhaps in  gnulib) for 
all projects to benefit from, than to hack up diffutils to support a 
non-standard, poorly documented, and painful alternate quoting mechanism 
just for a non-free shell.

> @@ -1217,6 +1267,9 @@
>     p = shell_quote_copy (p, filea);
>     *p++ = ' ';
>     p = shell_quote_copy (p, fileb);
> +#if defined(WIN32)&&  !defined(__CYGWIN__)
> +  *p++ = '"';
> +#endif
>     *p = 0;
>     errno = 0;
>     fpipe = popen (command, "r");

Or, instead of using popen, maybe we could use gnulib's pipe-filter-gi 
module, which allows us to pass the filename as a distinct argv argument 
without the need for any extra quoting to be undone by an intermediate 
shell.

All in all, while I appreciate your attempt to make this more robust on 
mingw, I think this patch is going about a solution in the wrong way.

-- 
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


From MAILER-DAEMON Fri Aug 26 17:03:34 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Qx3Ys-00015n-4k
	for mharc-bug-diffutils@gnu.org; Fri, 26 Aug 2011 17:03:34 -0400
Received: from eggs.gnu.org ([140.186.70.92]:49325)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gcgdb-bug-diffutils@m.gmane.org>) id 1Qwz4f-0007QD-P2
	for bug-diffutils@gnu.org; Fri, 26 Aug 2011 12:16:06 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gcgdb-bug-diffutils@m.gmane.org>) id 1Qwz4e-0000Go-Lp
	for bug-diffutils@gnu.org; Fri, 26 Aug 2011 12:16:05 -0400
Received: from lo.gmane.org ([80.91.229.12]:42680)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gcgdb-bug-diffutils@m.gmane.org>) id 1Qwz4e-0000Gk-DC
	for bug-diffutils@gnu.org; Fri, 26 Aug 2011 12:16:04 -0400
Received: from list by lo.gmane.org with local (Exim 4.69)
	(envelope-from <gcgdb-bug-diffutils@m.gmane.org>) id 1Qwz4c-0002eB-BG
	for bug-diffutils@gnu.org; Fri, 26 Aug 2011 18:16:02 +0200
Received: from dslb-094-222-232-052.pools.arcor-ip.net ([94.222.232.52])
	by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
	id 1AlnuQ-0007hv-00
	for <bug-diffutils@gnu.org>; Fri, 26 Aug 2011 18:16:02 +0200
Received: from claudio.bley by dslb-094-222-232-052.pools.arcor-ip.net with
	local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00
	for <bug-diffutils@gnu.org>; Fri, 26 Aug 2011 18:16:02 +0200
X-Injected-Via-Gmane: http://gmane.org/
To: bug-diffutils@gnu.org
From: claudio.bley@gmail.com (Claudio Bley)
Date: Fri, 26 Aug 2011 18:19:39 +0200
Lines: 49
Message-ID: <m2ei08b0x0.fsf@localhost.localdomain.i-did-not-set--mail-host-address--so-tickle-me>
References: <m2aaaxtga0.fsf@cb.home.de> <4E56CD5A.60404@redhat.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: usenet@dough.gmane.org
X-Gmane-NNTP-Posting-Host: dslb-094-222-232-052.pools.arcor-ip.net
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)
Cancel-Lock: sha1:jOjwL+IJyQC3ZO/T1gKFlz62y0s=
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 80.91.229.12
X-Mailman-Approved-At: Fri, 26 Aug 2011 17:03:32 -0400
Subject: Re: [bug-diffutils] [PATCH] quoting in diff3 on win32
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Aug 2011 16:16:06 -0000

Eric Blake <eblake@redhat.com> writes:

> On 08/25/2011 01:58 PM, Claudio Bley wrote:
>> Hi.
>>
>> I compiled diffutils for MinGW.
>>
>> diff3.exe does not work with special characters in path names (like
>> spaces et cetera) because it does not quote special characters
>> correctly for the cmd shell when invoking diff.exe.
>
> Gross.

I know. But it works, and that's the most important thing when you have
work to do (other than trying to use a broken tool)...

> It would be better to get the mingw environment to use sh
> instead of cmd

You only need MinGW to compile the programs, basically these are "native"
Windows console applications without a MinGW environment.

> or to at least fix system() or popen() to properly
> munge command lines that assumed sh quoting

How do you decide if a program expects sh quoting or not? I don't think
that would work in the general case. If you're compiling programs on
Win32 (think MinGW, not Cygwin) you would have to expect cmd quoting
rules, no?

> Or, instead of using popen, maybe we could use gnulib's pipe-filter-gi
> module, which allows us to pass the filename as a distinct argv
> argument without the need for any extra quoting to be undone by an
> intermediate shell.

Thanks for the pointer, I'll investigate that further when I have the
time. Don't hold your breath, though.

> All in all, while I appreciate your attempt to make this more robust
> on mingw, I think this patch is going about a solution in the wrong
> way.

No problem. Actually, I originally tried to fit that into gnulib's
quoting mechanism, but it didn't fit in there (easily) and I gave up,
frustrated. I just had forgotten about that try, only had this diff
lying around here...

Cheers,
Claudio



