GNU bug report logs - #25663
verify macro in system.h incorrectly expects 8 byte long for 64-bit builds on Windows/Visual Studio

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: diffutils; Reported by: Kees Dekker <Kees.Dekker@HIDDEN>; dated Thu, 9 Feb 2017 13:17:01 UTC; Maintainer for diffutils is bug-diffutils@HIDDEN.

Message received at 25663 <at> debbugs.gnu.org:


Received: (at 25663) by debbugs.gnu.org; 13 Feb 2017 19:12:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 13 14:12:08 2017
Received: from localhost ([127.0.0.1]:38838 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cdM2i-0007tw-2z
	for submit <at> debbugs.gnu.org; Mon, 13 Feb 2017 14:12:08 -0500
Received: from zimbra.cs.ucla.edu ([131.179.128.68]:43818)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eggert@HIDDEN>) id 1cdM2g-0007tS-1t
 for 25663 <at> debbugs.gnu.org; Mon, 13 Feb 2017 14:12:06 -0500
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id E3EA51600B7;
 Mon, 13 Feb 2017 11:11:59 -0800 (PST)
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
 by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032)
 with ESMTP id m2C3a6tQsWDT; Mon, 13 Feb 2017 11:11:59 -0800 (PST)
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id E856B1600BE;
 Mon, 13 Feb 2017 11:11:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
 by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026)
 with ESMTP id mpCqvkFFxjvN; Mon, 13 Feb 2017 11:11:58 -0800 (PST)
Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200])
 by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id D34EC1600B7;
 Mon, 13 Feb 2017 11:11:58 -0800 (PST)
Subject: Re: [bug-diffutils] bug#25663: verify macro in system.h incorrectly
 expects 8 byte long for 64-bit builds on Windows/Visual Studio
To: Kees Dekker <Kees.Dekker@HIDDEN>,
 "25663 <at> debbugs.gnu.org" <25663 <at> debbugs.gnu.org>
References: <858F859BB4F2824EBAB5D4ED58214CB7016A452CC8@HIDDEN>
 <9abe4ac1-335e-7039-6c6b-10c4968740ca@HIDDEN>
 <858F859BB4F2824EBAB5D4ED58214CB7016A4531B0@HIDDEN>
 <2627dc51-72b6-b7e7-25aa-650a3508f181@HIDDEN>
 <858F859BB4F2824EBAB5D4ED58214CB7016A45322E@HIDDEN>
 <9d8f3d7f-e8d0-ff83-58f2-27c4dcb8141a@HIDDEN>
 <858F859BB4F2824EBAB5D4ED58214CB7016A453494@HIDDEN>
 <5e92da22-607f-e6fb-3bb7-73e162b14b43@HIDDEN>
 <858F859BB4F2824EBAB5D4ED58214CB7016A453646@HIDDEN>
From: Paul Eggert <eggert@HIDDEN>
Organization: UCLA Computer Science Department
Message-ID: <736d7345-de52-0171-b658-66240318c527@HIDDEN>
Date: Mon, 13 Feb 2017 11:11:58 -0800
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.7.0
MIME-Version: 1.0
In-Reply-To: <858F859BB4F2824EBAB5D4ED58214CB7016A453646@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 25663
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

On 02/12/2017 10:44 PM, Kees Dekker wrote:
> there is no editor capable in opening such large files

Sure there is. Emacs can do it (I just tried it). It's quite slow, but 
it works. And even if it didn't work, core commands like 'diff' 
shouldn't arbitrarily limit themselves to small files.

No doubt 'diff' can be fixed to work even on MS-Windows platforms. 
However, arbitrarily limiting line numbers to 32 bits is not the way to 
go about it.





Information forwarded to bug-diffutils@HIDDEN:
bug#25663; Package diffutils. Full text available.

Message received at 25663 <at> debbugs.gnu.org:


Received: (at 25663) by debbugs.gnu.org; 13 Feb 2017 06:44:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 13 01:44:23 2017
Received: from localhost ([127.0.0.1]:37752 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cdAN5-0005di-JW
	for submit <at> debbugs.gnu.org; Mon, 13 Feb 2017 01:44:23 -0500
Received: from nlsmtpp2.infor.com ([194.149.81.57]:63926)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <Kees.Dekker@HIDDEN>) id 1cdAN3-0005dU-OM
 for 25663 <at> debbugs.gnu.org; Mon, 13 Feb 2017 01:44:22 -0500
X-SBRS: None
X-IronPort-AV: E=Sophos;i="5.35,155,1484002800"; d="scan'208";a="222030077"
From: Kees Dekker <Kees.Dekker@HIDDEN>
To: Paul Eggert <eggert@HIDDEN>, "25663 <at> debbugs.gnu.org"
 <25663 <at> debbugs.gnu.org>
Subject: RE: [bug-diffutils] bug#25663: verify macro in system.h incorrectly
 expects 8 byte long for 64-bit builds on Windows/Visual Studio
Thread-Topic: [bug-diffutils] bug#25663: verify macro in system.h
 incorrectly expects 8 byte long for 64-bit builds on Windows/Visual Studio
Thread-Index: AdKC1e7CXee/hnnRQyS+S3GAfW/HfQAKzqkAABls1JD///QKAP//3hRwgAA4lID//6SlkIADiu0A//5/5/A=
Date: Mon, 13 Feb 2017 06:44:14 +0000
Message-ID: <858F859BB4F2824EBAB5D4ED58214CB7016A453646@HIDDEN>
References: <858F859BB4F2824EBAB5D4ED58214CB7016A452CC8@HIDDEN>
 <9abe4ac1-335e-7039-6c6b-10c4968740ca@HIDDEN>
 <858F859BB4F2824EBAB5D4ED58214CB7016A4531B0@HIDDEN>
 <2627dc51-72b6-b7e7-25aa-650a3508f181@HIDDEN>
 <858F859BB4F2824EBAB5D4ED58214CB7016A45322E@HIDDEN>
 <9d8f3d7f-e8d0-ff83-58f2-27c4dcb8141a@HIDDEN>
 <858F859BB4F2824EBAB5D4ED58214CB7016A453494@HIDDEN>
 <5e92da22-607f-e6fb-3bb7-73e162b14b43@HIDDEN>
In-Reply-To: <5e92da22-607f-e6fb-3bb7-73e162b14b43@HIDDEN>
Accept-Language: nl-NL, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.21.106.72]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Spam-Score: -1.9 (-)
X-Debbugs-Envelope-To: 25663
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.9 (-)

SGkgUGF1bCwNCg0KPj4gTGluZSBudW1iZXJzIGJleW9uZCAyXjMyIGFyZSBhbHNvIElNTyBoeXBv
dGhldGljYWwuLi4NCg0KPkl0J3MgMioqMzEsIGFuZCB3ZSBkb24ndCB3YW50IGFyYml0cmFyeSBs
aW1pdHMgbGlrZSB0aGF0IGluIEdOVSBjb2RlLiBJdCdzIGVhc3kgDQo+dG8gZ2VuZXJhdGUgbGlu
ZSBudW1iZXJzIGxhcmdlciB0aGFuIHRoYXQgbm93YWRheXMuIEhlcmUncyBhIGNvbnRyaXZlZCBl
eGFtcGxlOg0KDQo+JCBybSAtZiBiaWcNCj4kIHRydW5jYXRlIC0tc2l6ZSAxMFRpQiBiaWcNCj4k
IGVjaG8geCA+PmJpZw0KPiQgbHMgLWwgYmlnDQo+LXJ3LXItLXItLS4gMSBlZ2dlcnQgZWdnZXJ0
IDEwOTk1MTE2Mjc3NzYyIEZlYiAxMiAwMDozOCBiaWcNCj4kIGdyZXAgLXpuIHggYmlnDQo+MTA5
OTUxMTYyNzc3NjE6eA0KDQpJIG1hZGUgYSBtaXN0YWtlIGZvciB0aGUgbGltaXRzLCB5b3UgYXJl
IHJpZ2h0Lg0KDQo+QWx0aG91Z2ggZGlmZiBpcyBub3QgbmVhcmx5IGFzIGdvb2QgYXMgZ3JlcCB3
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received at 25663 <at> debbugs.gnu.org:


Received: (at 25663) by debbugs.gnu.org; 12 Feb 2017 08:45:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 12 03:45:46 2017
Received: from localhost ([127.0.0.1]:36167 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ccpn0-0006iQ-6I
	for submit <at> debbugs.gnu.org; Sun, 12 Feb 2017 03:45:46 -0500
Received: from zimbra.cs.ucla.edu ([131.179.128.68]:55574)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eggert@HIDDEN>) id 1ccpmy-0006iC-5Y
 for 25663 <at> debbugs.gnu.org; Sun, 12 Feb 2017 03:45:44 -0500
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id AC318160052;
 Sun, 12 Feb 2017 00:45:37 -0800 (PST)
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
 by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032)
 with ESMTP id 5aZQjeU-hxCC; Sun, 12 Feb 2017 00:45:36 -0800 (PST)
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id C84F0160054;
 Sun, 12 Feb 2017 00:45:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
 by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026)
 with ESMTP id eMVhS79OwM8h; Sun, 12 Feb 2017 00:45:36 -0800 (PST)
Received: from [192.168.1.9] (unknown [47.153.188.248])
 by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id AAD01160052;
 Sun, 12 Feb 2017 00:45:36 -0800 (PST)
Subject: Re: [bug-diffutils] bug#25663: verify macro in system.h incorrectly
 expects 8 byte long for 64-bit builds on Windows/Visual Studio
To: Kees Dekker <Kees.Dekker@HIDDEN>,
 "25663 <at> debbugs.gnu.org" <25663 <at> debbugs.gnu.org>
References: <858F859BB4F2824EBAB5D4ED58214CB7016A452CC8@HIDDEN>
 <9abe4ac1-335e-7039-6c6b-10c4968740ca@HIDDEN>
 <858F859BB4F2824EBAB5D4ED58214CB7016A4531B0@HIDDEN>
 <2627dc51-72b6-b7e7-25aa-650a3508f181@HIDDEN>
 <858F859BB4F2824EBAB5D4ED58214CB7016A45322E@HIDDEN>
 <9d8f3d7f-e8d0-ff83-58f2-27c4dcb8141a@HIDDEN>
 <858F859BB4F2824EBAB5D4ED58214CB7016A453494@HIDDEN>
From: Paul Eggert <eggert@HIDDEN>
Organization: UCLA Computer Science Department
Message-ID: <5e92da22-607f-e6fb-3bb7-73e162b14b43@HIDDEN>
Date: Sun, 12 Feb 2017 00:45:36 -0800
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.7.0
MIME-Version: 1.0
In-Reply-To: <858F859BB4F2824EBAB5D4ED58214CB7016A453494@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 25663
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

Kees Dekker wrote:
> Line numbers beyond 2^32 are also IMO hypothetical...

It's 2**31, and we don't want arbitrary limits like that in GNU code. It'=
s easy=20
to generate line numbers larger than that nowadays. Here's a contrived ex=
ample:

$ rm -f big
$ truncate --size 10TiB big
$ echo x >>big
$ ls -l big
-rw-r--r--. 1 eggert eggert 10995116277762 Feb 12 00:38 big
$ grep -zn x big
10995116277761:x

Although diff is not nearly as good as grep with large files (that 'grep'=
=20
command consumes only 4 ms real time on my old office desktop), diff shou=
ldn't=20
purposely have problems in that area.

You should be able to avoid the problem by compiling with Cygwin.




Information forwarded to bug-diffutils@HIDDEN:
bug#25663; Package diffutils. Full text available.

Message received at 25663 <at> debbugs.gnu.org:


Received: (at 25663) by debbugs.gnu.org; 10 Feb 2017 12:37:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 10 07:37:40 2017
Received: from localhost ([127.0.0.1]:33877 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ccASJ-0000QX-Q7
	for submit <at> debbugs.gnu.org; Fri, 10 Feb 2017 07:37:40 -0500
Received: from nlsmtpp2.infor.com ([194.149.81.57]:13369)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <Kees.Dekker@HIDDEN>) id 1ccASH-0000QG-ES
 for 25663 <at> debbugs.gnu.org; Fri, 10 Feb 2017 07:37:38 -0500
X-SBRS: None
X-IronPort-AV: E=Sophos;i="5.35,141,1484002800"; d="scan'208";a="221501737"
From: Kees Dekker <Kees.Dekker@HIDDEN>
To: Paul Eggert <eggert@HIDDEN>, "25663 <at> debbugs.gnu.org"
 <25663 <at> debbugs.gnu.org>
Subject: RE: [bug-diffutils] bug#25663: verify macro in system.h incorrectly
 expects 8 byte long for 64-bit builds on Windows/Visual Studio
Thread-Topic: [bug-diffutils] bug#25663: verify macro in system.h
 incorrectly expects 8 byte long for 64-bit builds on Windows/Visual Studio
Thread-Index: AdKC1e7CXee/hnnRQyS+S3GAfW/HfQAKzqkAABls1JD///QKAP//3hRwgAA4lID//6SlkA==
Date: Fri, 10 Feb 2017 12:37:29 +0000
Message-ID: <858F859BB4F2824EBAB5D4ED58214CB7016A453494@HIDDEN>
References: <858F859BB4F2824EBAB5D4ED58214CB7016A452CC8@HIDDEN>
 <9abe4ac1-335e-7039-6c6b-10c4968740ca@HIDDEN>
 <858F859BB4F2824EBAB5D4ED58214CB7016A4531B0@HIDDEN>
 <2627dc51-72b6-b7e7-25aa-650a3508f181@HIDDEN>
 <858F859BB4F2824EBAB5D4ED58214CB7016A45322E@HIDDEN>
 <9d8f3d7f-e8d0-ff83-58f2-27c4dcb8141a@HIDDEN>
In-Reply-To: <9d8f3d7f-e8d0-ff83-58f2-27c4dcb8141a@HIDDEN>
Accept-Language: nl-NL, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.21.104.139]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Spam-Score: -1.9 (-)
X-Debbugs-Envelope-To: 25663
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.9 (-)

Pj4gSWYgeW91IGhhdmUgYW4gYWRkaXRpb25hbCBzb3VyY2Ugb2YgaW5mb3JtYXRpb24sIGl0IHdv
dWxkIGJlIGdyZWF0LiBJJ20gbmV3IHRvIGdpdCwgc28gSSB3aWxsIHRyeSB0byBkbyBzby4NCg0K
PkknbSBhZnJhaWQgaXQncyBub3Qgd3JpdHRlbiBkb3duIGluIGEgY2VudHJhbCBsb2NhdGlvbi4g
VGhlcmUgYXJlIGJvb2tzIGFib3V0IA0KPkdpdCBhbmQgaXQncyBub3QgdGhhdCBoYXJkIHRvIHBp
Y2sgdXAuIFlvdSBjYW4gbG9vayBhdCB0aGUgRW1hY3MgQ09OVFJJQlVURSBmaWxlIA0KPmZvciBz
b21lIGFkdmljZSBhYm91dCBjb21taXQgbWVzc2FnZXMuDQoNCj5odHRwOi8vZ2l0LnNhdmFubmFo
LmdudS5vcmcvY2dpdC9lbWFjcy5naXQvdHJlZS9DT05UUklCVVRFDQoNClRoZSBxdWljayBmaXgg
aXMgbm90IG1vcmUgb3IgbGVzcyB0aGFuIGFkZGluZzoNCg0KI2lmbmRlZiBfV0lONjQNCnZlcmlm
eSAoc2l6ZW9mIChsaW4pIDw9IHNpemVvZiAobG9uZyBpbnQpKTsNCiNlbmRpZg0KDQpMaW5lIG51
bWJlcnMgYmV5b25kIDJeMzIgYXJlIGFsc28gSU1PIGh5cG90aGV0aWNhbC4uLg0KDQpJJ20gZmlu
ZSB3aXRoIHRoaXMgcXVpY2sgJ2ZpeCcuDQo=




Information forwarded to bug-diffutils@HIDDEN:
bug#25663; Package diffutils. Full text available.

Message received at 25663 <at> debbugs.gnu.org:


Received: (at 25663) by debbugs.gnu.org; 10 Feb 2017 08:06:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 10 03:06:43 2017
Received: from localhost ([127.0.0.1]:33746 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cc6E7-0000nW-9q
	for submit <at> debbugs.gnu.org; Fri, 10 Feb 2017 03:06:43 -0500
Received: from zimbra.cs.ucla.edu ([131.179.128.68]:33344)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eggert@HIDDEN>) id 1cc6E6-0000nE-42
 for 25663 <at> debbugs.gnu.org; Fri, 10 Feb 2017 03:06:42 -0500
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id 334B01600B5;
 Fri, 10 Feb 2017 00:06:35 -0800 (PST)
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
 by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032)
 with ESMTP id 5uu5Q5T3_iAW; Fri, 10 Feb 2017 00:06:33 -0800 (PST)
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id 5FE1E1600B6;
 Fri, 10 Feb 2017 00:06:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
 by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026)
 with ESMTP id GQjutUXIA8DM; Fri, 10 Feb 2017 00:06:33 -0800 (PST)
Received: from [192.168.1.9] (unknown [47.153.188.248])
 by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 426341600B5;
 Fri, 10 Feb 2017 00:06:33 -0800 (PST)
Subject: Re: [bug-diffutils] bug#25663: verify macro in system.h incorrectly
 expects 8 byte long for 64-bit builds on Windows/Visual Studio
To: Kees Dekker <Kees.Dekker@HIDDEN>,
 "25663 <at> debbugs.gnu.org" <25663 <at> debbugs.gnu.org>
References: <858F859BB4F2824EBAB5D4ED58214CB7016A452CC8@HIDDEN>
 <9abe4ac1-335e-7039-6c6b-10c4968740ca@HIDDEN>
 <858F859BB4F2824EBAB5D4ED58214CB7016A4531B0@HIDDEN>
 <2627dc51-72b6-b7e7-25aa-650a3508f181@HIDDEN>
 <858F859BB4F2824EBAB5D4ED58214CB7016A45322E@HIDDEN>
From: Paul Eggert <eggert@HIDDEN>
Organization: UCLA Computer Science Department
Message-ID: <9d8f3d7f-e8d0-ff83-58f2-27c4dcb8141a@HIDDEN>
Date: Fri, 10 Feb 2017 00:06:33 -0800
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.7.0
MIME-Version: 1.0
In-Reply-To: <858F859BB4F2824EBAB5D4ED58214CB7016A45322E@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 25663
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

Kees Dekker wrote:
> If you have an additional source of information, it would be great. I'm new to git, so I will try to do so.

I'm afraid it's not written down in a central location. There are books about 
Git and it's not that hard to pick up. You can look at the Emacs CONTRIBUTE file 
for some advice about commit messages.

http://git.savannah.gnu.org/cgit/emacs.git/tree/CONTRIBUTE




Information forwarded to bug-diffutils@HIDDEN:
bug#25663; Package diffutils. Full text available.

Message received at 25663 <at> debbugs.gnu.org:


Received: (at 25663) by debbugs.gnu.org; 10 Feb 2017 07:50:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 10 02:50:22 2017
Received: from localhost ([127.0.0.1]:33733 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cc5yI-0000PU-D9
	for submit <at> debbugs.gnu.org; Fri, 10 Feb 2017 02:50:22 -0500
Received: from nlsmtpp2.infor.com ([194.149.81.57]:2445)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <Kees.Dekker@HIDDEN>) id 1cc5yG-0000PH-HE
 for 25663 <at> debbugs.gnu.org; Fri, 10 Feb 2017 02:50:21 -0500
X-SBRS: None
X-IronPort-AV: E=Sophos;i="5.35,140,1484002800"; d="scan'208";a="221447703"
From: Kees Dekker <Kees.Dekker@HIDDEN>
To: Paul Eggert <eggert@HIDDEN>, "25663 <at> debbugs.gnu.org"
 <25663 <at> debbugs.gnu.org>
Subject: RE: [bug-diffutils] bug#25663: verify macro in system.h incorrectly
 expects 8 byte long for 64-bit builds on Windows/Visual Studio
Thread-Topic: [bug-diffutils] bug#25663: verify macro in system.h
 incorrectly expects 8 byte long for 64-bit builds on Windows/Visual Studio
Thread-Index: AdKC1e7CXee/hnnRQyS+S3GAfW/HfQAKzqkAABls1JD///QKAP//3hRw
Date: Fri, 10 Feb 2017 07:50:12 +0000
Message-ID: <858F859BB4F2824EBAB5D4ED58214CB7016A45322E@HIDDEN>
References: <858F859BB4F2824EBAB5D4ED58214CB7016A452CC8@HIDDEN>
 <9abe4ac1-335e-7039-6c6b-10c4968740ca@HIDDEN>
 <858F859BB4F2824EBAB5D4ED58214CB7016A4531B0@HIDDEN>
 <2627dc51-72b6-b7e7-25aa-650a3508f181@HIDDEN>
In-Reply-To: <2627dc51-72b6-b7e7-25aa-650a3508f181@HIDDEN>
Accept-Language: nl-NL, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.21.104.139]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 25663
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

DQo+WW91IGRvbid0IG5lZWQgdG8uIE1pY3Jvc29mdCBzaGlwcyBHTlUgZGlmZiBhcyBwYXJ0IG9m
IGFuIG9wdGlvbmFsIE1TLVdpbmRvd3MgDQo+c3Vic3lzdGVtLiBUaGlzIHNob3VsZCBiZSBhIGxv
dCBsZXNzIHdvcmsgZm9yIHVzIG1haW50YWluZXJzIHRoYW4gdHJ5aW5nIHRvIA0KPm1haW50YWlu
IGEgc2VwYXJhdGUgTVMtV2luZG93cyAibmF0aXZlIiBwb3J0ICh3aGF0ZXZlciAibmF0aXZlIiBt
ZWFucykgZm9yIEdOVSANCj5kaWZmLi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5nIHRoZSBzYW1lIHN0eWxlIA0KPmFzIHdoYXQgd2UgaGF2ZSBub3cuDQoNCklmIHlv
dSBoYXZlIGFuIGFkZGl0aW9uYWwgc291cmNlIG9mIGluZm9ybWF0aW9uLCBpdCB3b3VsZCBiZSBn
cmVhdC4gSSdtIG5ldyB0byBnaXQsIHNvIEkgd2lsbCB0cnkgdG8gZG8gc28uDQo=




Information forwarded to bug-diffutils@HIDDEN:
bug#25663; Package diffutils. Full text available.

Message received at 25663 <at> debbugs.gnu.org:


Received: (at 25663) by debbugs.gnu.org; 10 Feb 2017 06:45:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 10 01:45:43 2017
Received: from localhost ([127.0.0.1]:33712 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cc4xj-0007J6-Ff
	for submit <at> debbugs.gnu.org; Fri, 10 Feb 2017 01:45:43 -0500
Received: from zimbra.cs.ucla.edu ([131.179.128.68]:54550)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eggert@HIDDEN>) id 1cc4xg-0007Io-Cz
 for 25663 <at> debbugs.gnu.org; Fri, 10 Feb 2017 01:45:41 -0500
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id 798FA1600B5;
 Thu,  9 Feb 2017 22:45:33 -0800 (PST)
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
 by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032)
 with ESMTP id 17nW2-XU7_lo; Thu,  9 Feb 2017 22:45:32 -0800 (PST)
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id 97D131600B6;
 Thu,  9 Feb 2017 22:45:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
 by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026)
 with ESMTP id c0wEkD0d78Ga; Thu,  9 Feb 2017 22:45:32 -0800 (PST)
Received: from [192.168.1.9] (unknown [47.153.188.248])
 by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 7DC801600B5;
 Thu,  9 Feb 2017 22:45:32 -0800 (PST)
Subject: Re: [bug-diffutils] bug#25663: verify macro in system.h incorrectly
 expects 8 byte long for 64-bit builds on Windows/Visual Studio
To: Kees Dekker <Kees.Dekker@HIDDEN>,
 "25663 <at> debbugs.gnu.org" <25663 <at> debbugs.gnu.org>
References: <858F859BB4F2824EBAB5D4ED58214CB7016A452CC8@HIDDEN>
 <9abe4ac1-335e-7039-6c6b-10c4968740ca@HIDDEN>
 <858F859BB4F2824EBAB5D4ED58214CB7016A4531B0@HIDDEN>
From: Paul Eggert <eggert@HIDDEN>
Organization: UCLA Computer Science Department
Message-ID: <2627dc51-72b6-b7e7-25aa-650a3508f181@HIDDEN>
Date: Thu, 9 Feb 2017 22:45:28 -0800
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.7.0
MIME-Version: 1.0
In-Reply-To: <858F859BB4F2824EBAB5D4ED58214CB7016A4531B0@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 25663
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

Kees Dekker wrote:

> I've no choice to move away from Windows.

You don't need to. Microsoft ships GNU diff as part of an optional MS-Win=
dows=20
subsystem. This should be a lot less work for us maintainers than trying =
to=20
maintain a separate MS-Windows "native" port (whatever "native" means) fo=
r GNU=20
diff. See:

https://msdn.microsoft.com/en-us/commandline/wsl/about

> in which format do you like to get it. UNIX style patch?

"git format-patch" format, where the commit message uses GNU ChangeLog st=
yle.=20
See the existing git repository for examples of this. The changes should =
be=20
minimal and cleanly separable from the mainline source, and using the sam=
e style=20
as what we have now.




Information forwarded to bug-diffutils@HIDDEN:
bug#25663; Package diffutils. Full text available.

Message received at 25663 <at> debbugs.gnu.org:


Received: (at 25663) by debbugs.gnu.org; 10 Feb 2017 06:32:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 10 01:32:07 2017
Received: from localhost ([127.0.0.1]:33707 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cc4kZ-00070d-6M
	for submit <at> debbugs.gnu.org; Fri, 10 Feb 2017 01:32:07 -0500
Received: from nlsmtpp2.infor.com ([194.149.81.57]:57181)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <Kees.Dekker@HIDDEN>) id 1cc4kX-000708-2B
 for 25663 <at> debbugs.gnu.org; Fri, 10 Feb 2017 01:32:05 -0500
X-SBRS: None
X-IronPort-AV: E=Sophos;i="5.35,139,1484002800"; d="scan'208";a="221436037"
From: Kees Dekker <Kees.Dekker@HIDDEN>
To: Paul Eggert <eggert@HIDDEN>, "25663 <at> debbugs.gnu.org"
 <25663 <at> debbugs.gnu.org>
Subject: RE: [bug-diffutils] bug#25663: verify macro in system.h incorrectly
 expects 8 byte long for 64-bit builds on Windows/Visual Studio
Thread-Topic: [bug-diffutils] bug#25663: verify macro in system.h
 incorrectly expects 8 byte long for 64-bit builds on Windows/Visual Studio
Thread-Index: AdKC1e7CXee/hnnRQyS+S3GAfW/HfQAKzqkAABls1JA=
Date: Fri, 10 Feb 2017 06:31:58 +0000
Message-ID: <858F859BB4F2824EBAB5D4ED58214CB7016A4531B0@HIDDEN>
References: <858F859BB4F2824EBAB5D4ED58214CB7016A452CC8@HIDDEN>
 <9abe4ac1-335e-7039-6c6b-10c4968740ca@HIDDEN>
In-Reply-To: <9abe4ac1-335e-7039-6c6b-10c4968740ca@HIDDEN>
Accept-Language: nl-NL, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.21.104.139]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 25663
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

SGkgUGF1b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yAyMDE1ICh3
ZSBhbHJlYWR5IGhhdmUgaXQgd29ya2luZyBmb3IgVmlzdWFsIFN0dWRpbyAyMDEzKS4NCkV2ZXJ5
dGhpbmcgZWxzZSBuZWVkIHRvIG1vdmUgdG8gVmlzdWFsIFN0dWRpbyAyMDE1LCBzbyBkaWZmIGFs
c28gbmVlZCB0byBtb3ZlIChvdGhlcndpc2UgZW5kLXVzZXJzIGFyZSBmb3JjZWQgdG8gaW5zdGFs
bCBkaWZmZXJlbnQgdmVyc2lvbnMgb2YgdGhlIHZpc3VhbCBzdHVkaW8gcnVudGltZSkuDQoNCkFu
ZCBJIGV2ZW4gdGhpbmsgdGhhdCB0aGUgYnVpbGQgaXNzdWVzIGFyZSByZWxhdGVkIHRvIHNvbWV0
aGluZyB0aGF0IHdhcyBqdXN0IGludHJvZHVjZWQgd2l0aCBkaWZmdXRpbHMgMy41Li4uIEJ1dCBJ
IHdpbGwgY2hlY2suDQoNClJlZ2FyZHMsDQpLZWVzDQoNCg==




Information forwarded to bug-diffutils@HIDDEN:
bug#25663; Package diffutils. Full text available.

Message received at 25663 <at> debbugs.gnu.org:


Received: (at 25663) by debbugs.gnu.org; 9 Feb 2017 19:20:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 09 14:20:26 2017
Received: from localhost ([127.0.0.1]:33437 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cbuGY-0002oq-6r
	for submit <at> debbugs.gnu.org; Thu, 09 Feb 2017 14:20:26 -0500
Received: from zimbra.cs.ucla.edu ([131.179.128.68]:37998)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eggert@HIDDEN>) id 1cbuGW-0002oe-G6
 for 25663 <at> debbugs.gnu.org; Thu, 09 Feb 2017 14:20:25 -0500
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id 7B3F0160088;
 Thu,  9 Feb 2017 11:20:17 -0800 (PST)
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
 by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032)
 with ESMTP id hbkROaYQpUi4; Thu,  9 Feb 2017 11:20:16 -0800 (PST)
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id AAC3516008B;
 Thu,  9 Feb 2017 11:20:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
 by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026)
 with ESMTP id yYkmdUBlAMWk; Thu,  9 Feb 2017 11:20:16 -0800 (PST)
Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200])
 by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 6E129160088;
 Thu,  9 Feb 2017 11:20:16 -0800 (PST)
Subject: Re: [bug-diffutils] bug#25663: verify macro in system.h incorrectly
 expects 8 byte long for 64-bit builds on Windows/Visual Studio
To: Kees Dekker <Kees.Dekker@HIDDEN>, 25663 <at> debbugs.gnu.org
References: <858F859BB4F2824EBAB5D4ED58214CB7016A452CC8@HIDDEN>
From: Paul Eggert <eggert@HIDDEN>
Organization: UCLA Computer Science Department
Message-ID: <9abe4ac1-335e-7039-6c6b-10c4968740ca@HIDDEN>
Date: Thu, 9 Feb 2017 11:20:16 -0800
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.7.0
MIME-Version: 1.0
In-Reply-To: <858F859BB4F2824EBAB5D4ED58214CB7016A452CC8@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 25663
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

On 02/09/2017 05:15 AM, Kees Dekker wrote:
>
> Can you please fix this?
>
Just to be clear, porting GNU diffutils to Visual Studio is quite low on 
our priority list. Perhaps someday somebody will contribute 
self-contained patches for that, patches that do not significantly get 
in the way of maintaining diffutils. But it's unlikely that any 
maintainer will have time to spare to actually write the code for such a 
low-priority task. In the meantime, I suggest that you use GNU/Linux or 
some other more-GNUish platform; even Microsoft ships platforms like 
that nowadays.





Information forwarded to bug-diffutils@HIDDEN:
bug#25663; Package diffutils. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 9 Feb 2017 13:16:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 09 08:16:03 2017
Received: from localhost ([127.0.0.1]:60950 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cboZv-0000kB-1Z
	for submit <at> debbugs.gnu.org; Thu, 09 Feb 2017 08:16:03 -0500
Received: from eggs.gnu.org ([208.118.235.92]:45571)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <Kees.Dekker@HIDDEN>) id 1cboZt-0000jQ-LX
 for submit <at> debbugs.gnu.org; Thu, 09 Feb 2017 08:16:02 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <Kees.Dekker@HIDDEN>) id 1cboZm-0007HZ-I4
 for submit <at> debbugs.gnu.org; Thu, 09 Feb 2017 08:15:56 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,HTML_MESSAGE
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:46163)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <Kees.Dekker@HIDDEN>)
 id 1cboZm-0007HU-EY
 for submit <at> debbugs.gnu.org; Thu, 09 Feb 2017 08:15:54 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:36537)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <Kees.Dekker@HIDDEN>) id 1cboZk-0004Qb-1X
 for bug-diffutils@HIDDEN; Thu, 09 Feb 2017 08:15:54 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <Kees.Dekker@HIDDEN>) id 1cboZf-0007G1-2y
 for bug-diffutils@HIDDEN; Thu, 09 Feb 2017 08:15:52 -0500
Received: from nlsmtpp2.infor.com ([194.149.81.57]:12058)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <Kees.Dekker@HIDDEN>)
 id 1cboZe-0007Fa-Pd
 for bug-diffutils@HIDDEN; Thu, 09 Feb 2017 08:15:47 -0500
X-SBRS: None
X-IronPort-AV: E=Sophos;i="5.35,349,1484002800"; 
 d="scan'208,217";a="221215819"
From: Kees Dekker <Kees.Dekker@HIDDEN>
To: "bug-diffutils@HIDDEN" <bug-diffutils@HIDDEN>
Subject: verify macro in system.h incorrectly expects 8 byte long for 64-bit
 builds on Windows/Visual Studio
Thread-Topic: verify macro in system.h incorrectly expects 8 byte long for
 64-bit builds on Windows/Visual Studio
Thread-Index: AdKC1e7CXee/hnnRQyS+S3GAfW/HfQ==
Date: Thu, 9 Feb 2017 13:15:43 +0000
Message-ID: <858F859BB4F2824EBAB5D4ED58214CB7016A452CC8@HIDDEN>
Accept-Language: nl-NL, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.21.104.139]
Content-Type: multipart/alternative;
 boundary="_000_858F859BB4F2824EBAB5D4ED58214CB7016A452CC8NLBAWEXMBX3in_"
MIME-Version: 1.0
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.1 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.1 (----)

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

Hi,

The verify macro in system.h:137 (diffutils3.5) fails on Windows.
This line contains the following code:

verify (sizeof (lin) <=3D sizeof (long int));

Because of a long on Windows remains 32-bit (for Visual Studio), even in 64=
-bit mode, this compile time assert fails. It is only for *NIX that a long =
sizes identical to the bit-ness of the build, similar to pointers.
For an integer type that properly sizes with pointers, you need to use intp=
tr_t. See also https://msdn.microsoft.com/nl-nl/library/s3f49ktz.aspx.

I'm not sure how gcc behaves on Windows, but event then intptr_t is probabl=
y the better type to use.

If Visual Studio is used, then the _MSCVER macro is set, see also https://m=
sdn.microsoft.com/en-us/library/b0084kay.aspx.

Can you please fix this?

Regards,
Kees

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

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
p.msonormal0, li.msonormal0, div.msonormal0
	{mso-style-name:msonormal;
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman",serif;}
span.EmailStyle19
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hi,<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">The verify macro in system.h:137 (diffutils3.5) fail=
s on Windows.<o:p></o:p></p>
<p class=3D"MsoNormal">This line contains the following code:<o:p></o:p></p=
>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">verify (sizeof (lin) &lt;=3D sizeof (long int));<o:p=
></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Because of a long on Windows remains 32-bit (for Vis=
ual Studio), even in 64-bit mode, this compile time assert fails. It is onl=
y for *NIX that a long sizes identical to the bit-ness of the build, simila=
r to pointers.<o:p></o:p></p>
<p class=3D"MsoNormal">For an integer type that properly sizes with pointer=
s, you need to use intptr_t. See also
<a href=3D"https://msdn.microsoft.com/nl-nl/library/s3f49ktz.aspx">https://=
msdn.microsoft.com/nl-nl/library/s3f49ktz.aspx</a>.
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I&#8217;m not sure how gcc behaves on Windows, but e=
vent then intptr_t is probably the better type to use.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">If Visual Studio is used, then the _MSCVER macro is =
set, see also https://msdn.microsoft.com/en-us/library/b0084kay.aspx.<o:p><=
/o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Can you please fix this?<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Regards,<o:p></o:p></p>
<p class=3D"MsoNormal">Kees<o:p></o:p></p>
</div>
</body>
</html>

--_000_858F859BB4F2824EBAB5D4ED58214CB7016A452CC8NLBAWEXMBX3in_--




Acknowledgement sent to Kees Dekker <Kees.Dekker@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-diffutils@HIDDEN. Full text available.
Report forwarded to bug-diffutils@HIDDEN:
bug#25663; Package diffutils. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.