From MAILER-DAEMON Thu Oct 04 00:14:06 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TJcp4-0006Q7-Ut
	for mharc-bug-diffutils@gnu.org; Thu, 04 Oct 2012 00:14:06 -0400
Received: from eggs.gnu.org ([208.118.235.92]:55116)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Tucker.Berckmann@sandisk.com>) id 1TJYVp-0006uG-MG
	for bug-diffutils@gnu.org; Wed, 03 Oct 2012 19:37:59 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Tucker.Berckmann@sandisk.com>) id 1TJYVn-000168-Md
	for bug-diffutils@gnu.org; Wed, 03 Oct 2012 19:37:57 -0400
Received: from exprod8og115.obsmtp.com ([64.18.3.30]:52087)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <Tucker.Berckmann@sandisk.com>) id 1TJYVn-00015w-6H
	for bug-diffutils@gnu.org; Wed, 03 Oct 2012 19:37:55 -0400
Received: from sacsmgep12.sandisk.com ([74.221.232.164]) by
	exprod8ob115.postini.com ([64.18.7.12]) with SMTP
	ID DSNKUGzMUE988RTs1Lx+2wNX0EbHhXZjguOd@postini.com;
	Wed, 03 Oct 2012 16:37:54 PDT
X-AuditID: ac1c210f-b7fdf6d000006851-fa-506ccc3ae4d2
Received: from SACHUBIP02.sdcorp.global.sandisk.com (Unknown_Domain
	[172.28.1.254])
	by sacsmgep12.sandisk.com (Symantec Messaging Gateway) with SMTP id
	73.E5.26705.A3CCC605; Wed,  3 Oct 2012 16:37:30 -0700 (PDT)
Received: from SACMBXIP01.sdcorp.global.sandisk.com ([169.254.1.159]) by
	SACHUBIP02.sdcorp.global.sandisk.com ([10.181.10.104]) with mapi id
	14.02.0309.002; Wed, 3 Oct 2012 16:37:51 -0700
From: Tucker Berckmann <Tucker.Berckmann@sandisk.com>
To: "bug-diffutils@gnu.org" <bug-diffutils@gnu.org>
Thread-Topic: Incorrect output from cmp
Thread-Index: AQHNocAaE1/4lN0FA0uyFuYCfr3v9Q==
Date: Wed, 3 Oct 2012 23:37:51 +0000
Message-ID: <705F7314919C5142B2898E6FBD5828970896683C@SACMBXIP01.sdcorp.global.sandisk.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.2.4.120824
x-originating-ip: [10.181.8.64]
Content-Type: multipart/alternative;
	boundary="_000_705F7314919C5142B2898E6FBD5828970896683CSACMBXIP01sdcor_"
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrDLMWRmVeSWpSXmKPExsWyRobxn67VmZwAg9a33BYts78xOjB6tE0z
	C2CM4rJJSc3JLEst0rdL4MqYOLWdveD9PMaKvcvWsTUw/uhk7GLk5JAQMJFo+X+TBcIWk7hw
	bz0biC0kcJVR4urWiC5GLiB7P6PElqanYAk2AVOJqa3zwWwRAWOJuTeOgw0SFlCS+NzbztrF
	yAEUV5eYdCcMokRP4sOTFnYQm0VARWLVj+Vgu3gFoiUe7HkMZjMC7f1+ag0TiM0sIC5x68l8
	Joh7BCSW7DnPDGGLSrx8/I8VxBYFmrlg90FmkFUSAvIS10/bQbTmS0xd2cYIMV5Q4uTMJywT
	GIVnIZk6C0nZLCRlEHE9iRtTp7BB2NoSyxa+ZoawdSVm/DsEVWMlcXP6FRZkNQsYOVYxihUn
	JhfnpqcWGBrpFSfmpWQWZ+sl5+duYgTHkCL/DsZtU8wPMQpwMCrx8Gq05AQIsSaWFVfmHmKU
	4GBWEuE13goU4k1JrKxKLcqPLyrNSS0+xMjEwSnVwJiT0mG/dzdTUdav0DS1Q3O8l926f5O1
	pvz9IpcfbsyBD333W+tbar54+J/PdL3c3U0xQub1ITyHRc/9XNxzZ92ng8d6vddaPtZrXLDa
	Wf3OJdaUxXsupokILbZMV9f/p6M5NeSRYCCnX2/e8dc3109V4MusOqZ6dfef+en18Sab40p9
	Va5pzlNiKc5INNRiLipOBAAhLnGKfwIAAA==
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older,
	4)
X-Received-From: 64.18.3.30
X-Mailman-Approved-At: Thu, 04 Oct 2012 00:14:05 -0400
Subject: [bug-diffutils] Incorrect output from cmp
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 Oct 2012 23:37:59 -0000

--_000_705F7314919C5142B2898E6FBD5828970896683CSACMBXIP01sdcor_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello,

I am getting some strange output from cmp on two files. The index is off by=
 one for the first and last difference, and both the index and values are w=
rong for the second difference. I tried two versions of cmp (listed below),=
 and I got the same output in both cases. My system info is also displayed =
below.

Regards,

Tucker Berckmann | Firmware Engineer | SanDisk | t. +1.408.801.2940 | tucke=
r.berckmann@sandisk.com | www.SanDisk.com

$ cmp -l file1 file2
 10   2   4
 64  16  13
200   4   2

$ cmp -l file1 file2 | awk '{printf("%x %x %x\n",$1,$2,$3)}'
a 2 4
40 10 d
c8 4 2

$ hexdump file1
0000000 0c 00 00 00 00 00 00 00 01 02 00 07 0a 00 0b 0a
0000010 1f 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0000020 00 00 00 00 00 00 00 00 00 10 00 00 00 08 00 00
0000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0e
0000040 00 10 08 08 04 03 20 04 40 00 40 00 00 00 14 00
0000050 02 01 00 03 05 08 00 00 00 00 ff ff ff ff 01 03
0000060 02 07 ff ff ff ff 01 00 00 00 00 03 02 00 ff ff
0000070 ff ff 01 00 00 00 00 03 02 00 ff ff ff ff 01 00
0000080 00 00 00 03 02 00 ff ff ff ff 01 00 00 00 00 03
0000090 02 00 ff ff ff ff 01 00 00 00 00 03 02 00 ff ff
00000a0 ff ff 01 00 00 00 00 03 02 00 00 00 00 00 00 00
00000b0 00 00 00 00 00 00 01 00 1e 00 00 00 04 00 00 00
00000c0 03 07 00 00 00 00 00 04 00 00 00 00 00 00 00 00
00000d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*
0000200

$ hexdump file2
0000000 0c 00 00 00 00 00 00 00 01 04 00 07 0a 00 0b 0a
0000010 1f 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0000020 00 00 00 00 00 00 00 00 00 10 00 00 00 08 00 00
0000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0b
0000040 00 10 08 08 04 03 20 04 40 00 40 00 00 00 14 00
0000050 02 01 00 03 05 08 00 00 00 00 ff ff ff ff 01 03
0000060 02 07 ff ff ff ff 01 00 00 00 00 03 02 00 ff ff
0000070 ff ff 01 00 00 00 00 03 02 00 ff ff ff ff 01 00
0000080 00 00 00 03 02 00 ff ff ff ff 01 00 00 00 00 03
0000090 02 00 ff ff ff ff 01 00 00 00 00 03 02 00 ff ff
00000a0 ff ff 01 00 00 00 00 03 02 00 00 00 00 00 00 00
00000b0 00 00 00 00 00 00 01 00 1e 00 00 00 04 00 00 00
00000c0 03 07 00 00 00 00 00 02 00 00 00 00 00 00 00 00
00000d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*
0000200

$ cmp --version
cmp (GNU diffutils) 2.8.1
Copyright (C) 2002 Free Software Foundation, Inc.

This program comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of this program
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

Written by Torbjorn Granlund and David MacKenzie.

$ /opt/local/libexec/gnubin/cmp --version
cmp (GNU diffutils) 3.2
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.htm=
l>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Torbj=F6rn Granlund and David MacKenzie.

$ uname -a
Darwin <hostname> 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  7 16:33:36 =
PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386


________________________________

PLEASE NOTE: The information contained in this electronic mail message is i=
ntended only for the use of the designated recipient(s) named above. If the=
 reader of this message is not the intended recipient, you are hereby notif=
ied that you have received this message in error and that any review, disse=
mination, distribution, or copying of this message is strictly prohibited. =
If you have received this communication in error, please notify the sender =
by telephone or e-mail (as shown above) immediately and destroy any and all=
 copies of this message in your possession (whether hard copies or electron=
ically stored copies).


--_000_705F7314919C5142B2898E6FBD5828970896683CSACMBXIP01sdcor_
Content-Type: text/html; charset="iso-8859-1"
Content-ID: <9AFC581B1609054ABE9C2A6D28E589B4@sandisk.com>
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
</head>
<body style=3D"word-wrap:break-word; color:rgb(0,0,0)">
<div>
<div><font class=3D"Apple-style-span">Hello,</font></div>
<div><font class=3D"Apple-style-span"><br>
</font></div>
<div><font class=3D"Apple-style-span">I am getting some strange output from=
 cmp on two files. The index is off by one for the first and last differenc=
e, and both the index and values are wrong for the second difference. I tri=
ed two versions of cmp (listed below),
 and I got the same output in both cases. My system info is also displayed =
below.</font></div>
<div><font class=3D"Apple-style-span"><br>
</font></div>
<div><font class=3D"Apple-style-span">
<div>
<div><font class=3D"Apple-style-span" color=3D"#808080" face=3D"Trebuchet M=
S,sans-serif"><span class=3D"Apple-style-span" style=3D"font-size:13px"><b>=
Regards,</b></span></font></div>
<div style=3D"color:rgb(0,0,0); font-family:Calibri,sans-serif; font-size:1=
4px"><span class=3D"Apple-style-span" style=3D"font-family:Calibri,sans-ser=
if; font-size:15px"><b><span style=3D"font-size:10pt; color:gray; font-fami=
ly:'Trebuchet MS',sans-serif"><br>
</span></b></span></div>
<div style=3D"color:rgb(0,0,0); font-family:Calibri,sans-serif; font-size:1=
4px"><span class=3D"Apple-style-span" style=3D"font-family:Calibri,sans-ser=
if; font-size:15px"><b><span style=3D"font-size:10pt; color:gray; font-fami=
ly:'Trebuchet MS',sans-serif">Tucker Berckmann&nbsp;|
 Firmware Engineer |&nbsp;</span></b></span><span class=3D"Apple-style-span=
" style=3D"font-family:Calibri,sans-serif; font-size:15px"><b><span style=
=3D"font-size:10pt; color:red; font-family:'Trebuchet MS',sans-serif">SanDi=
sk</span></b></span><span class=3D"Apple-style-span" style=3D"font-family:C=
alibri,sans-serif; font-size:15px"><b><span style=3D"font-size:10pt; color:=
gray; font-family:'Trebuchet MS',sans-serif">&nbsp;|</span></b></span><span=
 class=3D"Apple-style-span" style=3D"font-family:Calibri,sans-serif; font-s=
ize:15px"><b><span style=3D"font-size:10pt; color:red; font-family:'Trebuch=
et MS',sans-serif">&nbsp;t.</span></b></span><span class=3D"Apple-style-spa=
n" style=3D"font-family:Calibri,sans-serif; font-size:15px"><b><span style=
=3D"font-size:10pt; color:rgb(5,90,210); font-family:'Trebuchet MS',sans-se=
rif">&nbsp;</span></b></span><span class=3D"Apple-style-span" style=3D"font=
-family:Calibri,sans-serif; font-size:15px"><b><span style=3D"font-size:10p=
t; color:gray; font-family:'Trebuchet MS',sans-serif">&#43;1.408.801.2940
 |&nbsp;</span></b></span><span style=3D"color:gray; font-size:13px"><a hre=
f=3D"" title=3D"blocked::mailto:tucker.berckmann@sandisk.com" style=3D"colo=
r:blue; text-decoration:underline"><font class=3D"Apple-style-span" face=3D=
"Trebuchet MS"><b>tucker.berckmann@sandisk.com</b></font></a></span><span c=
lass=3D"Apple-style-span" style=3D"font-family:Calibri,sans-serif; font-siz=
e:15px"><b><span style=3D"font-size:12pt; color:gray; font-family:'Times Ne=
w Roman',serif">&nbsp;|&nbsp;</span></b></span><span class=3D"Apple-style-s=
pan" style=3D"font-family:Calibri,sans-serif; font-size:15px"><span style=
=3D"font-size:10pt; color:gray; font-family:'Trebuchet MS',sans-serif"><a h=
ref=3D"" title=3D"http://www.sandisk.com/" style=3D"color:blue; text-decora=
tion:underline">www.SanDisk.com</a></span></span></div>
</div>
</font></div>
<div style=3D"font-size:14px; font-family:Calibri,sans-serif"><font class=
=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:12px"><br>
</font></div>
<div><font class=3D"Apple-style-span" face=3D"Courier">
<div><span class=3D"Apple-style-span" style=3D"font-size:12px">$ cmp -l fil=
e1 file2</span></div>
<div><span class=3D"Apple-style-span" style=3D"font-size:12px">&nbsp;10 &nb=
sp; 2 &nbsp; 4</span></div>
<div><span class=3D"Apple-style-span" style=3D"font-size:12px">&nbsp;64 &nb=
sp;16 &nbsp;13</span></div>
<div><span class=3D"Apple-style-span" style=3D"font-size:12px">200 &nbsp; 4=
 &nbsp; 2</span></div>
<div><span class=3D"Apple-style-span" style=3D"font-size:12px"><br>
</span></div>
</font></div>
<div style=3D"font-size:14px"><font class=3D"Apple-style-span" face=3D"Cour=
ier" style=3D"font-size:12px">$ cmp -l file1 file2 | awk '{printf(&quot;%x =
%x %x\n&quot;,$1,$2,$3)}'</font></div>
<div style=3D"font-size:14px"><font class=3D"Apple-style-span" face=3D"Cour=
ier" style=3D"font-size:12px">a 2 4</font></div>
<div style=3D"font-size:14px"><font class=3D"Apple-style-span" face=3D"Cour=
ier" style=3D"font-size:12px">40 10 d</font></div>
<div style=3D"font-size:14px"><font class=3D"Apple-style-span" face=3D"Cour=
ier" style=3D"font-size:12px">c8 4 2</font></div>
<div style=3D"font-size:14px"><font class=3D"Apple-style-span" face=3D"Cour=
ier" style=3D"font-size:12px"><br>
</font></div>
<div style=3D"font-size:14px; font-family:Calibri,sans-serif"><font class=
=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:12px">$ hexdump f=
ile1</font></div>
<div style=3D"font-size:14px; font-family:Calibri,sans-serif"><font class=
=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:12px">0000000 0c =
00 00 00 00 00 00 00 01 02 00 07 0a 00 0b 0a</font></div>
<div style=3D"font-size:14px; font-family:Calibri,sans-serif"><font class=
=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:12px">0000010 1f =
02 00 00 00 00 00 00 00 00 00 00 00 00 00 00</font></div>
<div style=3D"font-size:14px; font-family:Calibri,sans-serif"><font class=
=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:12px">0000020 00 =
00 00 00 00 00 00 00 00 10 00 00 00 08 00 00</font></div>
<div style=3D"font-size:14px; font-family:Calibri,sans-serif"><font class=
=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:12px">0000030 00 =
00 00 00 00 00 00 00 00 00 00 00 00 00 00 0e</font></div>
<div style=3D"font-size:14px; font-family:Calibri,sans-serif"><font class=
=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:12px">0000040 00 =
10 08 08 04 03 20 04 40 00 40 00 00 00 14 00</font></div>
<div style=3D"font-size:14px; font-family:Calibri,sans-serif"><font class=
=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:12px">0000050 02 =
01 00 03 05 08 00 00 00 00 ff ff ff ff 01 03</font></div>
<div style=3D"font-size:14px; font-family:Calibri,sans-serif"><font class=
=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:12px">0000060 02 =
07 ff ff ff ff 01 00 00 00 00 03 02 00 ff ff</font></div>
<div style=3D"font-size:14px; font-family:Calibri,sans-serif"><font class=
=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:12px">0000070 ff =
ff 01 00 00 00 00 03 02 00 ff ff ff ff 01 00</font></div>
<div style=3D"font-size:14px; font-family:Calibri,sans-serif"><font class=
=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:12px">0000080 00 =
00 00 03 02 00 ff ff ff ff 01 00 00 00 00 03</font></div>
<div style=3D"font-size:14px; font-family:Calibri,sans-serif"><font class=
=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:12px">0000090 02 =
00 ff ff ff ff 01 00 00 00 00 03 02 00 ff ff</font></div>
<div style=3D"font-size:14px; font-family:Calibri,sans-serif"><font class=
=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:12px">00000a0 ff =
ff 01 00 00 00 00 03 02 00 00 00 00 00 00 00</font></div>
<div style=3D"font-size:14px; font-family:Calibri,sans-serif"><font class=
=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:12px">00000b0 00 =
00 00 00 00 00 01 00 1e 00 00 00 04 00 00 00</font></div>
<div style=3D"font-size:14px; font-family:Calibri,sans-serif"><font class=
=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:12px">00000c0 03 =
07 00 00 00 00 00 04 00 00 00 00 00 00 00 00</font></div>
<div style=3D"font-size:14px; font-family:Calibri,sans-serif"><font class=
=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:12px">00000d0 00 =
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00</font></div>
<div style=3D"font-size:14px; font-family:Calibri,sans-serif"><font class=
=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:12px">*</font></d=
iv>
<div style=3D"font-size:14px; font-family:Calibri,sans-serif"><font class=
=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:12px">0000200</fo=
nt></div>
<div style=3D"font-size:14px; font-family:Calibri,sans-serif"><font class=
=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:12px"><br>
</font></div>
<div style=3D"font-size:14px; font-family:Calibri,sans-serif"><font class=
=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:12px">$ hexdump f=
ile2</font></div>
<div style=3D"font-size:14px; font-family:Calibri,sans-serif"><font class=
=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:12px">0000000 0c =
00 00 00 00 00 00 00 01 04 00 07 0a 00 0b 0a</font></div>
<div style=3D"font-size:14px; font-family:Calibri,sans-serif"><font class=
=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:12px">0000010 1f =
02 00 00 00 00 00 00 00 00 00 00 00 00 00 00</font></div>
<div style=3D"font-size:14px; font-family:Calibri,sans-serif"><font class=
=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:12px">0000020 00 =
00 00 00 00 00 00 00 00 10 00 00 00 08 00 00</font></div>
<div style=3D"font-size:14px; font-family:Calibri,sans-serif"><font class=
=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:12px">0000030 00 =
00 00 00 00 00 00 00 00 00 00 00 00 00 00 0b</font></div>
<div style=3D"font-size:14px; font-family:Calibri,sans-serif"><font class=
=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:12px">0000040 00 =
10 08 08 04 03 20 04 40 00 40 00 00 00 14 00</font></div>
<div style=3D"font-size:14px; font-family:Calibri,sans-serif"><font class=
=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:12px">0000050 02 =
01 00 03 05 08 00 00 00 00 ff ff ff ff 01 03</font></div>
<div style=3D"font-size:14px; font-family:Calibri,sans-serif"><font class=
=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:12px">0000060 02 =
07 ff ff ff ff 01 00 00 00 00 03 02 00 ff ff</font></div>
<div style=3D"font-size:14px; font-family:Calibri,sans-serif"><font class=
=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:12px">0000070 ff =
ff 01 00 00 00 00 03 02 00 ff ff ff ff 01 00</font></div>
<div style=3D"font-size:14px; font-family:Calibri,sans-serif"><font class=
=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:12px">0000080 00 =
00 00 03 02 00 ff ff ff ff 01 00 00 00 00 03</font></div>
<div style=3D"font-size:14px; font-family:Calibri,sans-serif"><font class=
=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:12px">0000090 02 =
00 ff ff ff ff 01 00 00 00 00 03 02 00 ff ff</font></div>
<div style=3D"font-size:14px; font-family:Calibri,sans-serif"><font class=
=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:12px">00000a0 ff =
ff 01 00 00 00 00 03 02 00 00 00 00 00 00 00</font></div>
<div style=3D"font-size:14px; font-family:Calibri,sans-serif"><font class=
=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:12px">00000b0 00 =
00 00 00 00 00 01 00 1e 00 00 00 04 00 00 00</font></div>
<div style=3D"font-size:14px; font-family:Calibri,sans-serif"><font class=
=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:12px">00000c0 03 =
07 00 00 00 00 00 02 00 00 00 00 00 00 00 00</font></div>
<div style=3D"font-size:14px; font-family:Calibri,sans-serif"><font class=
=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:12px">00000d0 00 =
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00</font></div>
<div style=3D"font-size:14px; font-family:Calibri,sans-serif"><font class=
=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:12px">*</font></d=
iv>
<div><font class=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:1=
2px">0000200</font></div>
</div>
<div><font class=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:1=
2px"><br>
</font></div>
<div>
<div><font class=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:1=
2px">$ cmp --version</font></div>
<div><font class=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:1=
2px">cmp (GNU diffutils) 2.8.1</font></div>
<div><font class=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:1=
2px">Copyright (C) 2002 Free Software Foundation, Inc.</font></div>
<div><font class=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:1=
2px"><br>
</font></div>
<div><font class=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:1=
2px">This program comes with NO WARRANTY, to the extent permitted by law.</=
font></div>
<div><font class=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:1=
2px">You may redistribute copies of this program</font></div>
<div><font class=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:1=
2px">under the terms of the GNU General Public License.</font></div>
<div><font class=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:1=
2px">For more information about these matters, see the file named COPYING.<=
/font></div>
<div><font class=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:1=
2px"><br>
</font></div>
<div><font class=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:1=
2px">Written by Torbjorn Granlund and David MacKenzie.</font></div>
<div><font class=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:1=
2px"><br>
</font></div>
<div>
<div><font class=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:1=
2px">$ /opt/local/libexec/gnubin/cmp --version</font></div>
<div><font class=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:1=
2px">cmp (GNU diffutils) 3.2</font></div>
<div><font class=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:1=
2px">Copyright (C) 2011 Free Software Foundation, Inc.</font></div>
<div><font class=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:1=
2px">License GPLv3&#43;: GNU GPL version 3 or later &lt;http://gnu.org/lice=
nses/gpl.html&gt;.</font></div>
<div><font class=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:1=
2px">This is free software: you are free to change and redistribute it.</fo=
nt></div>
<div><font class=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:1=
2px">There is NO WARRANTY, to the extent permitted by law.</font></div>
<div><font class=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:1=
2px"><br>
</font></div>
<div><font class=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:1=
2px">Written by Torbj=F6rn Granlund and David MacKenzie.</font></div>
</div>
<div><font class=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:1=
2px"><br>
</font></div>
<div>
<div><font class=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:1=
2px">$ uname -a</font></div>
</div>
<div><font class=3D"Apple-style-span" face=3D"Courier" style=3D"font-size:1=
2px">Darwin &lt;hostname&gt; 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun &=
nbsp;7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386</font></di=
v>
<div><br>
</div>
</div>
<br>
<hr>
<font face=3D"Arial" color=3D"Gray" size=3D"2"><br>
PLEASE NOTE: The information contained in this electronic mail message is i=
ntended only for the use of the designated recipient(s) named above. If the=
 reader of this message is not the intended recipient, you are hereby notif=
ied that you have received this
 message in error and that any review, dissemination, distribution, or copy=
ing of this message is strictly prohibited. If you have received this commu=
nication in error, please notify the sender by telephone or e-mail (as show=
n above) immediately and destroy
 any and all copies of this message in your possession (whether hard copies=
 or electronically stored copies).<br>
<br>
</font>
</body>
</html>

--_000_705F7314919C5142B2898E6FBD5828970896683CSACMBXIP01sdcor_--


From MAILER-DAEMON Thu Oct 04 00:49:15 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TJdN5-0006Nm-QB
	for mharc-bug-diffutils@gnu.org; Thu, 04 Oct 2012 00:49:15 -0400
Received: from eggs.gnu.org ([208.118.235.92]:48579)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1TJdN3-0006Mo-BX
	for bug-diffutils@gnu.org; Thu, 04 Oct 2012 00:49:14 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1TJdN2-0007gA-9I
	for bug-diffutils@gnu.org; Thu, 04 Oct 2012 00:49:13 -0400
Received: from mx.meyering.net ([88.168.87.75]:41125)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1TJdN2-0007g6-1u
	for bug-diffutils@gnu.org; Thu, 04 Oct 2012 00:49:12 -0400
Received: from rho.meyering.net (rho.meyering.net [127.0.0.1])
	by rho.meyering.net (Acme Bit-Twister) with ESMTP id E9DD9600B3;
	Thu,  4 Oct 2012 06:49:10 +0200 (CEST)
From: Jim Meyering <jim@meyering.net>
To: Tucker Berckmann <Tucker.Berckmann@sandisk.com>
In-Reply-To: <705F7314919C5142B2898E6FBD5828970896683C@SACMBXIP01.sdcorp.global.sandisk.com>
	(Tucker Berckmann's message of "Wed, 3 Oct 2012 23:37:51 +0000")
References: <705F7314919C5142B2898E6FBD5828970896683C@SACMBXIP01.sdcorp.global.sandisk.com>
Date: Thu, 04 Oct 2012 06:49:10 +0200
Message-ID: <874nmaeta1.fsf@rho.meyering.net>
Lines: 59
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: 88.168.87.75
Cc: "bug-diffutils@gnu.org" <bug-diffutils@gnu.org>
Subject: Re: [bug-diffutils] Incorrect output from cmp
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 Oct 2012 04:49:14 -0000

> I am getting some strange output from cmp on two files. The index is off by one
> for the first and last difference, and both the index and values are wrong for
> the second difference. I tried two versions of cmp (listed below), and I got the
> same output in both cases. My system info is also displayed below.
...

Thanks for the report, but I don't see a problem.
The index is 1-based, not zero-based.
The values are printed in octal, so 16,13 match the 0e,0b
in your hexdump output.

> $ cmp -l file1 file2
>  10   2   4
>  64  16  13
> 200   4   2
>
> $ cmp -l file1 file2 | awk '{printf("%x %x %x\n",$1,$2,$3)}'
> a 2 4
> 40 10 d
> c8 4 2
>
> $ hexdump file1
> 0000000 0c 00 00 00 00 00 00 00 01 02 00 07 0a 00 0b 0a
> 0000010 1f 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 0000020 00 00 00 00 00 00 00 00 00 10 00 00 00 08 00 00
> 0000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0e
> 0000040 00 10 08 08 04 03 20 04 40 00 40 00 00 00 14 00
> 0000050 02 01 00 03 05 08 00 00 00 00 ff ff ff ff 01 03
> 0000060 02 07 ff ff ff ff 01 00 00 00 00 03 02 00 ff ff
> 0000070 ff ff 01 00 00 00 00 03 02 00 ff ff ff ff 01 00
> 0000080 00 00 00 03 02 00 ff ff ff ff 01 00 00 00 00 03
> 0000090 02 00 ff ff ff ff 01 00 00 00 00 03 02 00 ff ff
> 00000a0 ff ff 01 00 00 00 00 03 02 00 00 00 00 00 00 00
> 00000b0 00 00 00 00 00 00 01 00 1e 00 00 00 04 00 00 00
> 00000c0 03 07 00 00 00 00 00 04 00 00 00 00 00 00 00 00
> 00000d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> *
> 0000200
>
> $ hexdump file2
> 0000000 0c 00 00 00 00 00 00 00 01 04 00 07 0a 00 0b 0a
> 0000010 1f 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 0000020 00 00 00 00 00 00 00 00 00 10 00 00 00 08 00 00
> 0000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0b
> 0000040 00 10 08 08 04 03 20 04 40 00 40 00 00 00 14 00
> 0000050 02 01 00 03 05 08 00 00 00 00 ff ff ff ff 01 03
> 0000060 02 07 ff ff ff ff 01 00 00 00 00 03 02 00 ff ff
> 0000070 ff ff 01 00 00 00 00 03 02 00 ff ff ff ff 01 00
> 0000080 00 00 00 03 02 00 ff ff ff ff 01 00 00 00 00 03
> 0000090 02 00 ff ff ff ff 01 00 00 00 00 03 02 00 ff ff
> 00000a0 ff ff 01 00 00 00 00 03 02 00 00 00 00 00 00 00
> 00000b0 00 00 00 00 00 00 01 00 1e 00 00 00 04 00 00 00
> 00000c0 03 07 00 00 00 00 00 02 00 00 00 00 00 00 00 00
> 00000d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> *
> 0000200
...
> $ /opt/local/libexec/gnubin/cmp --version
> cmp (GNU diffutils) 3.2


From MAILER-DAEMON Thu Oct 04 00:59:21 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TJdWr-000868-1j
	for mharc-bug-diffutils@gnu.org; Thu, 04 Oct 2012 00:59:21 -0400
Received: from eggs.gnu.org ([208.118.235.92]:39190)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1TJdWo-00085A-C4
	for bug-diffutils@gnu.org; Thu, 04 Oct 2012 00:59:19 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1TJdWn-0002Ij-D9
	for bug-diffutils@gnu.org; Thu, 04 Oct 2012 00:59:18 -0400
Received: from smtp.cs.ucla.edu ([131.179.128.62]:39202)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1TJdWn-0002ID-7J
	for bug-diffutils@gnu.org; Thu, 04 Oct 2012 00:59:17 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.cs.ucla.edu (Postfix) with ESMTP id 75E1E39E8013;
	Wed,  3 Oct 2012 21:59: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 Kjxu3zg4UsSd; Wed,  3 Oct 2012 21:59:16 -0700 (PDT)
Received: from [192.168.1.3] (pool-108-23-119-2.lsanca.fios.verizon.net
	[108.23.119.2])
	by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 023BC39E800A;
	Wed,  3 Oct 2012 21:59:15 -0700 (PDT)
Message-ID: <506D17A5.6010400@cs.ucla.edu>
Date: Wed, 03 Oct 2012 21:59:17 -0700
From: Paul Eggert <eggert@cs.ucla.edu>
Organization: UCLA Computer Science Department
User-Agent: Mozilla/5.0 (X11; Linux i686;
	rv:15.0) Gecko/20120912 Thunderbird/15.0.1
MIME-Version: 1.0
To: Jim Meyering <jim@meyering.net>
References: <705F7314919C5142B2898E6FBD5828970896683C@SACMBXIP01.sdcorp.global.sandisk.com>
	<874nmaeta1.fsf@rho.meyering.net>
In-Reply-To: <874nmaeta1.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" <bug-diffutils@gnu.org>,
	Tucker Berckmann <Tucker.Berckmann@sandisk.com>
Subject: Re: [bug-diffutils] Incorrect output from cmp
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 Oct 2012 04:59:19 -0000

cmp's output is correct, but this can be documented
better, as the origin-1 business isn't mentioned anywhere.
I pushed the following.

>From 93c75f2fcf16eb7769fc1d335b0569c4dd03ee70 Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Wed, 3 Oct 2012 21:57:21 -0700
Subject: [PATCH] * doc/diffutils.texi (cmp Options): Document -l format
 better.

---
 doc/diffutils.texi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/doc/diffutils.texi b/doc/diffutils.texi
index 2908120..8509cf2 100644
--- a/doc/diffutils.texi
+++ b/doc/diffutils.texi
@@ -3563,6 +3563,9 @@ second.
 @itemx --verbose
 Output the (decimal) byte numbers and (octal) values of all differing bytes,
 instead of the default standard output.
+Each output line contains a differing byte's number relative to the
+start of the input, followed by the differing byte values.
+Byte numbers start at 1.
 Also, output the @acronym{EOF} message if one file is shorter than the other.
 
 @item -n @var{count}
-- 
1.7.11.4



From MAILER-DAEMON Thu Oct 04 01:27:44 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TJdyK-0004g9-RK
	for mharc-bug-diffutils@gnu.org; Thu, 04 Oct 2012 01:27:44 -0400
Received: from eggs.gnu.org ([208.118.235.92]:50860)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bbell@robin.thebellsplace.net>) id 1TJdyI-0004er-76
	for bug-diffutils@gnu.org; Thu, 04 Oct 2012 01:27:43 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bbell@robin.thebellsplace.net>) id 1TJdyG-0002zE-D1
	for bug-diffutils@gnu.org; Thu, 04 Oct 2012 01:27:42 -0400
Received: from srv08.macroped.com ([74.54.75.218]:48428)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bbell@robin.thebellsplace.net>) id 1TJdyG-0002z2-6t
	for bug-diffutils@gnu.org; Thu, 04 Oct 2012 01:27:40 -0400
Received: from c-75-68-118-125.hsd1.nh.comcast.net ([75.68.118.125]:49575
	helo=robin) by srv08.macroped.com with esmtp (Exim 4.80)
	(envelope-from <bbell@robin.thebellsplace.net>) id 1TJdy8-0007I5-UD
	for bug-diffutils@gnu.org; Thu, 04 Oct 2012 01:27:33 -0400
Received: by robin (Postfix, from userid 1000)
	id 2DA72200A58; Thu,  4 Oct 2012 01:27:41 -0400 (EDT)
Date: Thu, 4 Oct 2012 01:27:41 -0400
From: Bob Bell <b_diffutils@thebellsplace.com>
To: bug-diffutils@gnu.org
Message-ID: <20121004052741.GD5273@robin.thebellsplace.net>
References: <20120927185844.GK5273@robin.thebellsplace.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20120927185844.GK5273@robin.thebellsplace.net>
X-Editor: Vim http://www.vim.org/
User-Agent: Mutt/1.5.21 (2010-09-15)
X-AntiAbuse: This header was added to track abuse,
	please include it with any abuse report
X-AntiAbuse: Primary Hostname - srv08.macroped.com
X-AntiAbuse: Original Domain - gnu.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - robin.thebellsplace.net
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 74.54.75.218
Subject: Re: [bug-diffutils] Getting all versions, but skipping overlaps
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 Oct 2012 05:27:43 -0000

No replies?  No "you're crazy", or "I'd like that, too" or "I can add
that for you" or "you can write the code yourself, here's a tip"?

On Thu, Sep 27, 2012 at 02:58:44PM -0400, Bob Bell wrote:
> Recently, I've started using the "-A" option to merge / diff3, so that 
> when there's a merge conflict, I get the "ancestor" version as well as 
> both changes.  Not to overstate things, but I've found that this has 
> completely transformed my experience resolving source code merge 
> conflicts, as the information I have at hand is SO much more helpful.  
> With regards to the diff3.c source code, I believe that the option that 
> I really appreciate is "diff_2nd".
> 
> However, one thing I'd often still like to do is to ignore cases where 
> there are identical changes made.  That is, for a block of code, there's 
> a difference between FILEC and FILE0, as well as between FILEC and 
> FILE1, but the blocks in FILE0 and FILE1 are identical.
> 
> When I use diff3 with "-A", this appears as a bracketed conflict, with 
> the labelled blocks from FILEC and FILE1.  I don't get the "|||||||" 
> marker or the identical block from FILE0, so it's fairly easy to 
> identify this case.  But when resolving a merge, it still needs to be 
> "cleaned up".
> 
> It appears that diff3 supports a "-x" or "-X" option to select 
> "overlap_only", which would ignore these non-overlapping changes.  
> However, the code enforces that I cannot select "-A" with either "-x" or 
> "-X", and "-A" appears the only way to select "diff_2nd", so that it 
> outputs the version of the block from FILE2/FILEC.  For example, I can 
> pass "-m" and "-X", but then I will not get the block of code from 
> FILEC, losing the information that I value so dearly.
> 
> In summary, I believe what I'd really like is to display the merges 
> file, bracketing the conflicting changes, NOT including when FILE0 and 
> FILE1 made identical changes, but when there *IS* a conflicting change, 
> I'd like to see FILE0, FILE1 *and* FILE2/FILEC.
> 
> Is this possible?
> 
> Thanks,
> Bob
> 
> P.S. I apologize for all the terminology I may have used incorrectly...


From MAILER-DAEMON Thu Oct 04 01:37:07 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TJe7O-0007M9-W2
	for mharc-bug-diffutils@gnu.org; Thu, 04 Oct 2012 01:37:06 -0400
Received: from eggs.gnu.org ([208.118.235.92]:40254)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1TJe7N-0007Lx-Jr
	for bug-diffutils@gnu.org; Thu, 04 Oct 2012 01:37:06 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1TJe7M-00063J-O6
	for bug-diffutils@gnu.org; Thu, 04 Oct 2012 01:37:05 -0400
Received: from smtp.cs.ucla.edu ([131.179.128.62]:40592)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1TJe7M-00062G-Hz
	for bug-diffutils@gnu.org; Thu, 04 Oct 2012 01:37:04 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.cs.ucla.edu (Postfix) with ESMTP id 6A24139E8013;
	Wed,  3 Oct 2012 22:37:03 -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 qUTvx-jrcVLp; Wed,  3 Oct 2012 22:37:03 -0700 (PDT)
Received: from [192.168.1.3] (pool-108-23-119-2.lsanca.fios.verizon.net
	[108.23.119.2])
	by smtp.cs.ucla.edu (Postfix) with ESMTPSA id E6F7139E800A;
	Wed,  3 Oct 2012 22:37:02 -0700 (PDT)
Message-ID: <506D2080.4030705@cs.ucla.edu>
Date: Wed, 03 Oct 2012 22:37:04 -0700
From: Paul Eggert <eggert@cs.ucla.edu>
Organization: UCLA Computer Science Department
User-Agent: Mozilla/5.0 (X11; Linux i686;
	rv:15.0) Gecko/20120912 Thunderbird/15.0.1
MIME-Version: 1.0
To: Bob Bell <b_diffutils@thebellsplace.com>
References: <20120927185844.GK5273@robin.thebellsplace.net>
	<20121004052741.GD5273@robin.thebellsplace.net>
In-Reply-To: <20121004052741.GD5273@robin.thebellsplace.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] Getting all versions, but skipping overlaps
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 Oct 2012 05:37:06 -0000

On 10/03/2012 10:27 PM, Bob Bell wrote:> what I'd really like is to display the merges 
>> file, bracketing the conflicting changes, NOT including when FILE0 and 
>> FILE1 made identical changes, but when there *IS* a conflicting change, 
>> I'd like to see FILE0, FILE1 *and* FILE2/FILEC.

Something like that sounds plausible, yes.  Can you give a brief
example of input files, and what the output would look like,
compared to what it looks like with the various options now?
That'd help us understand exactly what you're proposing.

Implementing the proposal would also help, but I've found
the hardest part is often writing the documentation.


From MAILER-DAEMON Thu Oct 04 03:36:22 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TJfyo-0005BO-Sk
	for mharc-bug-diffutils@gnu.org; Thu, 04 Oct 2012 03:36:22 -0400
Received: from eggs.gnu.org ([208.118.235.92]:58419)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Eric@Deplagne.name>) id 1TJfyk-0005BE-AD
	for bug-diffutils@gnu.org; Thu, 04 Oct 2012 03:36:22 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Eric@Deplagne.name>) id 1TJfye-0003m6-7m
	for bug-diffutils@gnu.org; Thu, 04 Oct 2012 03:36:18 -0400
Received: from alcorak1.eric.deplagne.name ([213.246.39.115]:55933
	helo=exim4.alcorak1.eric.deplagne.name)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Eric@Deplagne.name>) id 1TJfyd-0003lp-VH
	for bug-diffutils@gnu.org; Thu, 04 Oct 2012 03:36:12 -0400
Received: from [192.168.0.4] (helo=mail.eric.deplagne.name)
	by exim4.alcorak1.eric.deplagne.name with esmtp (Exim 4.69)
	(envelope-from <Eric@Deplagne.name>) id 1TJfyb-0000Tm-VC
	for bug-diffutils@gnu.org; Thu, 04 Oct 2012 09:36:09 +0200
Received: from deplagne by mail.eric.deplagne.name with local (Exim 4.69)
	(envelope-from <Eric@Deplagne.name>) id 1TJfyb-0000Th-SA
	for bug-diffutils@gnu.org; Thu, 04 Oct 2012 09:36:09 +0200
Date: Thu, 4 Oct 2012 09:36:09 +0200
From: Eric Deplagne <Eric@Deplagne.name>
To: bug-diffutils@gnu.org
Message-ID: <20121004073609.GA7132@mail.eric.deplagne.name>
References: <705F7314919C5142B2898E6FBD5828970896683C@SACMBXIP01.sdcorp.global.sandisk.com>
	<874nmaeta1.fsf@rho.meyering.net>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="d6Gm4EdcadzBjdND"
Content-Disposition: inline
In-Reply-To: <874nmaeta1.fsf@rho.meyering.net>
User-Agent: Mutt/1.5.18 (2008-05-17)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 213.246.39.115
Subject: Re: [bug-diffutils] Incorrect output from cmp
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 Oct 2012 07:36:22 -0000


--d6Gm4EdcadzBjdND
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On jeu, 04 oct 2012 06:49:10 +0200, Jim Meyering wrote:
> > I am getting some strange output from cmp on two files. The index is of=
f by one
> > for the first and last difference, and both the index and values are wr=
ong for
> > the second difference. I tried two versions of cmp (listed below), and =
I got the
> > same output in both cases. My system info is also displayed below.
> ...
>=20
> Thanks for the report, but I don't see a problem.
> The index is 1-based, not zero-based.
> The values are printed in octal, so 16,13 match the 0e,0b
> in your hexdump output.

  Oops... Octal ?!

  Maybe that's why I never understood the output of cmp... ^_^

> > $ cmp -l file1 file2
> >  10   2   4
> >  64  16  13
> > 200   4   2
> >
> > $ cmp -l file1 file2 | awk '{printf("%x %x %x\n",$1,$2,$3)}'
> > a 2 4
> > 40 10 d
> > c8 4 2
> >
> > $ hexdump file1
> > 0000000 0c 00 00 00 00 00 00 00 01 02 00 07 0a 00 0b 0a
> > 0000010 1f 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> > 0000020 00 00 00 00 00 00 00 00 00 10 00 00 00 08 00 00
> > 0000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0e
> > 0000040 00 10 08 08 04 03 20 04 40 00 40 00 00 00 14 00
> > 0000050 02 01 00 03 05 08 00 00 00 00 ff ff ff ff 01 03
> > 0000060 02 07 ff ff ff ff 01 00 00 00 00 03 02 00 ff ff
> > 0000070 ff ff 01 00 00 00 00 03 02 00 ff ff ff ff 01 00
> > 0000080 00 00 00 03 02 00 ff ff ff ff 01 00 00 00 00 03
> > 0000090 02 00 ff ff ff ff 01 00 00 00 00 03 02 00 ff ff
> > 00000a0 ff ff 01 00 00 00 00 03 02 00 00 00 00 00 00 00
> > 00000b0 00 00 00 00 00 00 01 00 1e 00 00 00 04 00 00 00
> > 00000c0 03 07 00 00 00 00 00 04 00 00 00 00 00 00 00 00
> > 00000d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> > *
> > 0000200
> >
> > $ hexdump file2
> > 0000000 0c 00 00 00 00 00 00 00 01 04 00 07 0a 00 0b 0a
> > 0000010 1f 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> > 0000020 00 00 00 00 00 00 00 00 00 10 00 00 00 08 00 00
> > 0000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0b
> > 0000040 00 10 08 08 04 03 20 04 40 00 40 00 00 00 14 00
> > 0000050 02 01 00 03 05 08 00 00 00 00 ff ff ff ff 01 03
> > 0000060 02 07 ff ff ff ff 01 00 00 00 00 03 02 00 ff ff
> > 0000070 ff ff 01 00 00 00 00 03 02 00 ff ff ff ff 01 00
> > 0000080 00 00 00 03 02 00 ff ff ff ff 01 00 00 00 00 03
> > 0000090 02 00 ff ff ff ff 01 00 00 00 00 03 02 00 ff ff
> > 00000a0 ff ff 01 00 00 00 00 03 02 00 00 00 00 00 00 00
> > 00000b0 00 00 00 00 00 00 01 00 1e 00 00 00 04 00 00 00
> > 00000c0 03 07 00 00 00 00 00 02 00 00 00 00 00 00 00 00
> > 00000d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> > *
> > 0000200
> ...
> > $ /opt/local/libexec/gnubin/cmp --version
> > cmp (GNU diffutils) 3.2
>=20

--=20
  Eric Deplagne

--d6Gm4EdcadzBjdND
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

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

iD8DBQFQbTxpej7DisjVpq4RAmOyAJ0dGsv9Vaz9T2gENnpZcfXAX10+3ACfZbqp
GX6MP2KsaJb5Xzr/88dRoyc=
=fnnx
-----END PGP SIGNATURE-----

--d6Gm4EdcadzBjdND--


From MAILER-DAEMON Sat Oct 06 18:04:35 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TKcU7-0005Bs-P1
	for mharc-bug-diffutils@gnu.org; Sat, 06 Oct 2012 18:04:35 -0400
Received: from eggs.gnu.org ([208.118.235.92]:55133)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bbell@robin.thebellsplace.net>) id 1TKcU5-0005As-2i
	for bug-diffutils@gnu.org; Sat, 06 Oct 2012 18:04:34 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bbell@robin.thebellsplace.net>) id 1TKcU4-0002X1-5v
	for bug-diffutils@gnu.org; Sat, 06 Oct 2012 18:04:33 -0400
Received: from srv08.macroped.com ([74.54.75.218]:57897)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bbell@robin.thebellsplace.net>) id 1TKcU3-0002Wx-Vt
	for bug-diffutils@gnu.org; Sat, 06 Oct 2012 18:04:32 -0400
Received: from c-75-68-118-125.hsd1.nh.comcast.net ([75.68.118.125]:55844
	helo=robin) by srv08.macroped.com with esmtp (Exim 4.80)
	(envelope-from <bbell@robin.thebellsplace.net>)
	id 1TKcTy-0004Yl-GP; Sat, 06 Oct 2012 18:04:26 -0400
Received: by robin (Postfix, from userid 1000)
	id BE5F72034CE; Sat,  6 Oct 2012 18:04:31 -0400 (EDT)
Date: Sat, 6 Oct 2012 18:04:31 -0400
From: Bob Bell <b_diffutils@thebellsplace.com>
To: Paul Eggert <eggert@cs.ucla.edu>
Message-ID: <20121006220431.GA3678@robin.thebellsplace.net>
References: <20120927185844.GK5273@robin.thebellsplace.net>
	<20121004052741.GD5273@robin.thebellsplace.net>
	<506D2080.4030705@cs.ucla.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <506D2080.4030705@cs.ucla.edu>
X-Editor: Vim http://www.vim.org/
User-Agent: Mutt/1.5.21 (2010-09-15)
X-AntiAbuse: This header was added to track abuse,
	please include it with any abuse report
X-AntiAbuse: Primary Hostname - srv08.macroped.com
X-AntiAbuse: Original Domain - gnu.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - robin.thebellsplace.net
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 74.54.75.218
Cc: bug-diffutils@gnu.org
Subject: Re: [bug-diffutils] Getting all versions, but skipping overlaps
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, 06 Oct 2012 22:04:34 -0000

On Wed, Oct 03, 2012 at 10:37:04PM -0700, Paul Eggert wrote:
> On 10/03/2012 10:27 PM, Bob Bell wrote:> what I'd really like is to display the merges 
> >> file, bracketing the conflicting changes, NOT including when FILE0 and 
> >> FILE1 made identical changes, but when there *IS* a conflicting change, 
> >> I'd like to see FILE0, FILE1 *and* FILE2/FILEC.
> 
> Something like that sounds plausible, yes.  Can you give a brief
> example of input files, and what the output would look like,
> compared to what it looks like with the various options now?
> That'd help us understand exactly what you're proposing.

Excellent.  I'm trying to think of the best way to illustrate this, with
attaching 6 different files (let me know if you'd like that).  I'll
try this approach:

We have three files: fileA, fileB and fileC.  fileA was the original
file, with 6 lines, from "line 1" through "line 6".  fileB and fileC
began as copies of fileA.  Then, fileB changed "line 2" to "line
two", while fileC changed "line 2" to "line too".  Both fileB and
fileC changed "line eight" to "line ocho".

The output of `diff3 -m -X fileC fileA fileB` is:
line 1
<<<<<<< fileC
line too
=======
line two
>>>>>>> fileB
line 3
line 4
line cinco
line 6

The output of `diff3 -m -A fileC fileA fileB` is:
line 1
<<<<<<< fileC
line too
||||||| fileA
line 2
=======
line two
>>>>>>> fileB
line 3
line 4
<<<<<<< fileA
line 5
=======
line cinco
>>>>>>> fileB
line 6

My DESIRED output in this situation, perhaps from "-m -A -X", or
something new like "-m -X -2", is:
line 1
<<<<<<< fileC
line too
||||||| fileA
line 2
=======
line two
>>>>>>> fileB
line 3
line 4
line cinco
line 6

I'd be happen to answer any more questions about this.  I really think
that it would be beneficial in a number of circumstances I've
encountered.

-- Bob


From MAILER-DAEMON Tue Oct 09 04:40:36 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TLVMi-0003sX-KA
	for mharc-bug-diffutils@gnu.org; Tue, 09 Oct 2012 04:40:36 -0400
Received: from eggs.gnu.org ([208.118.235.92]:54707)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sms@antinode.info>) id 1TLRrr-00041L-4Q
	for BUG-DIFFUTILS@gnu.org; Tue, 09 Oct 2012 00:56:32 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sms@antinode.info>) id 1TLRrp-000546-Dg
	for BUG-DIFFUTILS@gnu.org; Tue, 09 Oct 2012 00:56:31 -0400
Received: from alp.antinode.info ([209.98.249.184]:20313)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <sms@antinode.info>) id 1TLRrp-000527-3Z
	for BUG-DIFFUTILS@gnu.org; Tue, 09 Oct 2012 00:56:29 -0400
Date: Mon, 8 Oct 2012 23:46:28 -0500 (CDT)
Message-Id: <12100823462808_20200E91@antinode.info>
From: "Steven M. Schweda" <sms@antinode.info>
To: BUG-DIFFUTILS@gnu.org
X-VMS-To: BUG-DIFFUTILS@GNU.ORG
X-VMS-Cc: SMS
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.98.249.184
X-Mailman-Approved-At: Tue, 09 Oct 2012 04:40:34 -0400
Subject: [bug-diffutils] Diffutils 3.2 v. VMS
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 Oct 2012 04:56:32 -0000

   I have a VMS adaptation of GNU Diffutils 3.2  It's not thoroughly
tested, but it seems to handle some basic tasks well enough to satisfy
my needs (and those of a few others, I believe).  As usual, it'd be nice
(for me, at least) to get the VMS-specific changes folded into the main
code stream.

   All the code changes should be conditional enough to be harmless on
non-VMS systems.  The changes include the usual VMS-specific builders
and various adaptations to cope with differences between VMS and the
usual GNU environment.  Now that vfork() has been purged from the
main code stream, I needed to re-introduce some of the old code, because
VMS has vfork() but lacks fork().  (Interestingly, while vfork() has
been banished from the actual code, it lingers on in "configure" and
"lib/config.hin".)

   There are still some minor compiler complaints caused by time_t being
unsigned around here:

CC   /include = ([-.lib], [-.lib.posix], [-.vms], [-.vmslib])   /prefix_library_
entries =  (all_entries, except =  (FWRITE, GETOPT, OPTARG, OPTERR, OPTIND, OPTO
PT, STRTOIMAX, STRTOUMAX))     /object = [.ALPHAL]CONTEXT.OBJ /define = (HAVE_CO
NFIG_H=1 , -
"fwrite=vms_fwrite" , _LARGEFILE  ) [-.SRC]CONTEXT.C

          if (LONG_MIN <= TYPE_MINIMUM (time_t)
..............^
%CC-I-QUESTCOMPARE, In this statement, the unsigned expression "((time_t)(!(!((t
ime_t)0<(time_t)-1))?(time_t)0:((time_t)~(time_t)0<(time_t)-1)?~(time_t)0:~((tim
e_t)(!(!((time_t)0<(time_t)-1))?(time_t)-1:((((time_t)1<<(sizeof(time_t)*8-2))-1
)*2+1)))))" is
being compared with a relational operator to a constant whose value is not great
er than zero.  This might not be what you intended.
at line number 56 in file ALP$DKC0:[UTILITY.SOURCE.DIFF.diffutils-3_2a_vms.src]c
ontext.c;1

CC   /include = ([-.lib], [-.lib.posix], [-.vms], [-.vmslib])   /prefix_library_
entries =  (all_entries, except =  (FWRITE, GETOPT, OPTARG, OPTERR, OPTIND, OPTO
PT, STRTOIMAX, STRTOUMAX))     /object = [.IA64L]GETTIME.OBJ /define = (HAVE_CON
FIG_H=1 , "fwrite=vms_fwrite" , _LARGEFILE ) [-.LIB]GETTIME.C

  return a.tv_sec < 0 ? -1 : a.tv_sec || a.tv_nsec;
.........^
%CC-I-QUESTCOMPARE, In this statement, the unsigned expression "a.tv_sec" is bei
ng compared with a relational operator to a constant whose value is not greater
than zero.  This might not be what you intended.
at line number 65 in file ALP$DKC0:[UTILITY.SOURCE.DIFF.diffutils-3_2a_vms.lib]t
imespec.h;1

   And another like that from "[-.SRC]DIFF.C" (the other consumer of
<timespec.h>).

CC   /include = ([-.lib], [-.lib.posix], [-.vms], [-.vmslib])   /prefix_library_
entries =  (all_entries, except =  (FWRITE, GETOPT, OPTARG, OPTERR, OPTIND, OPTO
PT, STRTOIMAX, STRTOUMAX))     /object = [.IA64L]STRFTIME.OBJ /define = (HAVE_CO
NFIG_H=1 , "fwrite=vms_fwrite" , _LARGEFILE ) [-.LIB]STRFTIME.C

            negative_number = t < 0;
..............................^
%CC-I-QUESTCOMPARE, In this statement, the unsigned expression "t" is being comp
ared with a relational operator to a constant whose value is not greater than ze
ro.  This might not be what you intended.
at line number 1135 in file ALP$DKC0:[UTILITY.SOURCE.DIFF.diffutils-3_2a_vms.lib
]strftime.c;1

   And, on VAX, there's also the following (and its relatives):

CC /decc  /include = ([-.lib], [-.lib.posix], [-.vms], [-.vmslib])   /prefix_lib
rary_entries =  (all_entries, except =  (FWRITE, GETOPT, OPTARG, OPTERR, OPTIND,
 OPTOPT, STRTOIMAX, STRTOUMAX))     /object = [.VAX]MALLOCA.OBJ /define = (HAVE_
CONFIG_H=1 ,-
 "fwrite=vms_fwrite"  ) [-.LIB]MALLOCA.C
          sa_alignment_longdouble = sa_alignof (long double),
        ............................^
%CC-I-LONGDOUBLENYI, In this declaration, type long double has the same
 representation as type double on this platform.
                At line number 124 in ALP$DKC0:[UTILITY.SOURCE.DIFF.DIFFUTILS-3_
2A_VMS.LIB]MALLOCA.H;1.

%VCG-I-SUMMARY, Completed with 0 error(s), 0 warning(s), and
                1 informational messages.
                At line number 141 in ALP$DKC0:[UTILITY.SOURCE.DIFF.DIFFUTILS-3_
2A_VMS.LIB]MALLOCA.C;1.

I haven't looked closely enough at the code involving these to see if
there are some clean/harmless ways to avoid them.

   Changes ("diff -u") to the mainstream code may be found at:

http://antinode.info/ftp/diffutils/diffutils-3_2a_vms/3_2.du

   A complete source kit with all the VMS-specific files:

http://antinode.info/ftp/diffutils/diffutils-3_2a_vms/diffutils-3_2a_src.zip

   Release notes:

http://antinode.info/ftp/diffutils/diffutils-3_2a_vms/vms_notes.txt

   I glance at the list archive from time to time, but I'm not
subscribed to the list, so a direct e-mail message/copy would be best
for reliable communication.  Thanks for looking, and please let me know
if you have any questions, complaints, suggestions, ...

------------------------------------------------------------------------

   Steven M. Schweda               sms@antinode-info
   382 South Warwick Street        (+1) 651-699-9818
   Saint Paul  MN  55105-2547


From MAILER-DAEMON Tue Oct 09 11:14:28 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TLbVs-00089p-2N
	for mharc-bug-diffutils@gnu.org; Tue, 09 Oct 2012 11:14:28 -0400
Received: from eggs.gnu.org ([208.118.235.92]:41789)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1TLbVj-0007kT-EC
	for BUG-DIFFUTILS@gnu.org; Tue, 09 Oct 2012 11:14:25 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1TLbVZ-0003vU-Nz
	for BUG-DIFFUTILS@gnu.org; Tue, 09 Oct 2012 11:14:19 -0400
Received: from smtp.cs.ucla.edu ([131.179.128.62]:47357)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1TLbVZ-0003sL-FT
	for BUG-DIFFUTILS@gnu.org; Tue, 09 Oct 2012 11:14:09 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.cs.ucla.edu (Postfix) with ESMTP id CD18839E8106;
	Tue,  9 Oct 2012 08:14:01 -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 s1YwgnaUmzYc; Tue,  9 Oct 2012 08:14:01 -0700 (PDT)
Received: from [192.168.1.3] (pool-108-23-119-2.lsanca.fios.verizon.net
	[108.23.119.2])
	by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 3C27739E8105;
	Tue,  9 Oct 2012 08:14:01 -0700 (PDT)
Message-ID: <50743F34.3080605@cs.ucla.edu>
Date: Tue, 09 Oct 2012 08:13:56 -0700
From: Paul Eggert <eggert@cs.ucla.edu>
Organization: UCLA Computer Science Department
User-Agent: Mozilla/5.0 (X11; Linux i686;
	rv:15.0) Gecko/20120912 Thunderbird/15.0.1
MIME-Version: 1.0
To: "Steven M. Schweda" <sms@antinode.info>
References: <12100823462808_20200E91@antinode.info>
In-Reply-To: <12100823462808_20200E91@antinode.info>
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] Diffutils 3.2 v. VMS
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 Oct 2012 15:14:26 -0000

Thanks for the heads-up.  Some comments:

On 10/08/2012 09:46 PM, Steven M. Schweda wrote:

>    There are still some minor compiler complaints caused by time_t being
> unsigned around here:

That's OK.  The code's correct, so the compiler diagnostics are mistaken,
so we can ignore them.  Perhaps you can use compiler flags to shut
them off.

> %CC-I-LONGDOUBLENYI, In this declaration, type long double has the same
>  representation as type double on this platform.

Again, that's OK.  The code's fine, and works correctly when long double
is the same as double, so the warnings are not helpful and can be ignored.
Some POSIXish systems are similar.  They have unsigned time_t and
sometimes their compilers warn.  We ignore the warnings there too.

So this change:

-		      if (value[i] == -1)
+		      if (value[i] == (uintmax_t)-1)

should not be needed: value[i] is of type uintmax_t, so the
comparison should be done correctly without the cast.

As for the other changes, I'd rather not have "#ifdef __VMS"
in the mainline code.  The mainline code should be as close to
GNU- or POSIX-compatible as possible.  VMS-specific stuff should
be in a separate area, so that maintainers of the regular code
don't need to worry about it.  For example, instead of this:

+#ifdef __VMS
+# define OPEN_ARG , "ctx = stm"
+#else /* def __VMS */
+# define OPEN_ARG
+#endif /* def __VMS [else] */
+
 #if defined LC_MESSAGES && ENABLE_NLS
 # define hard_locale_LC_MESSAGES hard_locale (LC_MESSAGES)
 #else
@@ -296,7 +302,7 @@
 	    xfreopen (NULL, "rb", stdin);
 	}
       else
-	file_desc[f1] = open (file[f1], O_RDONLY | O_BINARY, 0);
+	file_desc[f1] = open (file[f1], O_RDONLY | O_BINARY, 0 OPEN_ARG);

I'd rather that we leave this code alone, and have the wrapper
for 'open' (in the lib subdirectory) deal with OPEN_ARG.  And
instead of this:

+#ifdef __VMS
+  /* No "/" required (or desired) on VMS. */
+  sprintf (tmpl, "%.*s%.*sXXXXXX", (int) dlen, dir, (int) plen, pfx);
+#else /* def __VMS */
   sprintf (tmpl, "%.*s/%.*sXXXXXX", (int) dlen, dir, (int) plen, pfx);
+#endif /* def __VMS [else] */

I'd rather have something like this:

#ifndef DIRECTORY_SEPARATOR_STRING
# define DIRECTORY_SEPARATOR_STRING "/"
#endif

   sprintf (tmpl, "%.*s" DIRECTORY_SEPARATOR_STRING "%.*sXXXXXX", (int) dlen, dir, (int) plen, pfx);

where some other file (dirname.h, perhaps) defines DIRECTORY_SEPARATOR_STRING
for VMS.


From MAILER-DAEMON Tue Oct 09 17:40:38 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TLhXa-0001qQ-3o
	for mharc-bug-diffutils@gnu.org; Tue, 09 Oct 2012 17:40:38 -0400
Received: from eggs.gnu.org ([208.118.235.92]:60473)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sms@antinode.info>) id 1TLhXX-0001nH-IP
	for BUG-DIFFUTILS@gnu.org; Tue, 09 Oct 2012 17:40:36 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sms@antinode.info>) id 1TLhXW-0001X7-4L
	for BUG-DIFFUTILS@gnu.org; Tue, 09 Oct 2012 17:40:35 -0400
Received: from alp.antinode.info ([209.98.249.184]:24147)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <sms@antinode.info>) id 1TLhXV-0001Qy-Qy
	for BUG-DIFFUTILS@gnu.org; Tue, 09 Oct 2012 17:40:34 -0400
Date: Tue, 9 Oct 2012 14:54:10 -0500 (CDT)
Message-Id: <12100914541059_20200E91@antinode.info>
From: "Steven M. Schweda" <sms@antinode.info>
To: BUG-DIFFUTILS@gnu.org
X-VMS-To: BUG-DIFFUTILS@GNU.ORG
X-VMS-Cc: SMS
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.98.249.184
Subject: Re: [bug-diffutils] Diffutils 3.2 v. VMS
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 Oct 2012 21:40:37 -0000

From: Paul Eggert <eggert@cs.ucla-edu>

> >    There are still some minor compiler complaints caused by time_t being
> > unsigned around here:
> 
> That's OK.  The code's correct, so the compiler diagnostics are mistaken,
> so we can ignore them.  Perhaps you can use compiler flags to shut
> them off.

   It's possible, but "-I-" means "informational", so the biggest
problem is appearance at build time.  (My complaint about these compiler
complaints can be taken the same way.)

> > %CC-I-LONGDOUBLENYI, In this declaration, type long double has the same
> >  representation as type double on this platform.
> 
> Again, that's OK.  The code's fine, and works correctly when long double
> is the same as double, so the warnings are not helpful and can be ignored.
> Some POSIXish systems are similar.  They have unsigned time_t and
> sometimes their compilers warn.  We ignore the warnings there too.

   Fine with me.

> So this change:
> 
> -		      if (value[i] == -1)
> +		      if (value[i] == (uintmax_t)-1)
> 
> should not be needed: value[i] is of type uintmax_t, so the
> comparison should be done correctly without the cast.

   While it may not be "needed", my preference is to make the type cast
explicit when treating an obviously signed value as an unsigned value,
and doing so has the added benefit of clearing the compiler complaint.
But, again, the complaint is only "informational", and it's not my code. 
(I think that we've already established that our coding styles differ.)

> As for the other changes, I'd rather not have "#ifdef __VMS"
> in the mainline code.  The mainline code should be as close to
> GNU- or POSIX-compatible as possible.  VMS-specific stuff should
> be in a separate area, so that maintainers of the regular code
> don't need to worry about it.  [...]

   In general, that's ok by me.  (Although I'd've figured that a
properly indented "#ifdef __VMS" - "#endif /* def __VMS */" block would
usually be pretty easy to ignore.)

>   For example, instead of this:
> 
> +#ifdef __VMS
> +# define OPEN_ARG , "ctx = stm"
> +#else /* def __VMS */
> +# define OPEN_ARG
> +#endif /* def __VMS [else] */
> +
>  #if defined LC_MESSAGES && ENABLE_NLS
>  # define hard_locale_LC_MESSAGES hard_locale (LC_MESSAGES)
>  #else
> @@ -296,7 +302,7 @@
>  	    xfreopen (NULL, "rb", stdin);
>  	}
>        else
> -	file_desc[f1] = open (file[f1], O_RDONLY | O_BINARY, 0);
> +	file_desc[f1] = open (file[f1], O_RDONLY | O_BINARY, 0 OPEN_ARG);
> 
> I'd rather that we leave this code alone, and have the wrapper
> for 'open' (in the lib subdirectory) deal with OPEN_ARG.

   Normally I'd agree, but in this case I was trying to fix a specific
problem, and I don't know how many other instances of open() would be
affected/damaged by a global change.  Defining an OPEN (or CMP_OPEN, or
something) macro (somewhere) would allow a line like:
	file_desc[f1] = OPEN (file[f1], O_RDONLY | O_BINARY, 0);
And the VMS definition of that macro could insert the extra argument(s). 
I don't care much, so long as I can get the stuff I need where I need
it, and not get it where I don't know what it'll wreck.

>   And
> instead of this:
> 
> +#ifdef __VMS
> +  /* No "/" required (or desired) on VMS. */
> +  sprintf (tmpl, "%.*s%.*sXXXXXX", (int) dlen, dir, (int) plen, pfx);
> +#else /* def __VMS */
>    sprintf (tmpl, "%.*s/%.*sXXXXXX", (int) dlen, dir, (int) plen, pfx);
> +#endif /* def __VMS [else] */
> 
> I'd rather have something like this:
> 
> #ifndef DIRECTORY_SEPARATOR_STRING
> # define DIRECTORY_SEPARATOR_STRING "/"
> #endif
> 
>    sprintf (tmpl, "%.*s" DIRECTORY_SEPARATOR_STRING "%.*sXXXXXX", (int) dlen, dir, (int) plen, pfx);
> 
> where some other file (dirname.h, perhaps) defines DIRECTORY_SEPARATOR_STRING
> for VMS.

   This change is specific to the use of P_tmpdir (defined in <stdio.h>
around here), so I'd probably use a macro name more like
TMPDIR_something rather than DIRECTORY_something, and I'd probably just
stick its definition near the end of config.h (vms/config.h), but I
don't care much.  (I don't already have a wrapper for <stdio.h> (or a
replacement for <dirname.h>, which VMS lacks), but it (or the other)
would be easy to add.)

   I probably could have hidden this one (src/diff.c) somewhere in the
VMS-specific initialization:
        ignore_file_name_case = vms_case_blind();
but I thought that it would be clearer to have it where all the other
option-related processing was done.  (At least I buried the details in
vmslib/vms.c:vms_case_blind().)  One problem with better hiding
something like this is that it'll be hidden, and sometimes it's nice to
know what's going on without having to search all over to find out about
it.

   The VMS specifics for vfork()-related I/O in src/diff3.c and
src/sdiff.c were so thoroughly interleaved that I didn't try to hide
them.  (I was so amazed that I could get the stuff to work at all, that
I was in no hurry to start rearranging it all, either.  Resurrecting
HAVE_WORKING_VFORK and its friends could allow hiding (or disguising)
some of the VMS specificity, but not much.)

   As usual, I'm not wedded to any particular details, and I'll
(gratefully) take what I can get.

------------------------------------------------------------------------

   Steven M. Schweda               sms@antinode-info
   382 South Warwick Street        (+1) 651-699-9818
   Saint Paul  MN  55105-2547


From MAILER-DAEMON Tue Oct 09 23:07:52 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TLmeG-0003iw-TR
	for mharc-bug-diffutils@gnu.org; Tue, 09 Oct 2012 23:07:52 -0400
Received: from eggs.gnu.org ([208.118.235.92]:46559)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1TLmeE-0003iq-W8
	for BUG-DIFFUTILS@gnu.org; Tue, 09 Oct 2012 23:07:51 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1TLmeE-0001ix-02
	for BUG-DIFFUTILS@gnu.org; Tue, 09 Oct 2012 23:07:50 -0400
Received: from smtp.cs.ucla.edu ([131.179.128.62]:55935)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1TLmeD-0001ib-QD
	for BUG-DIFFUTILS@gnu.org; Tue, 09 Oct 2012 23:07:49 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.cs.ucla.edu (Postfix) with ESMTP id 68EFBA60005;
	Tue,  9 Oct 2012 20:00: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 JXrUmOGezx12; Tue,  9 Oct 2012 20:00:07 -0700 (PDT)
Received: from [192.168.1.3] (pool-108-23-119-2.lsanca.fios.verizon.net
	[108.23.119.2])
	by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 00C11A60004;
	Tue,  9 Oct 2012 20:00:06 -0700 (PDT)
Message-ID: <5074E4B6.5000507@cs.ucla.edu>
Date: Tue, 09 Oct 2012 20:00:06 -0700
From: Paul Eggert <eggert@cs.ucla.edu>
Organization: UCLA Computer Science Department
User-Agent: Mozilla/5.0 (X11; Linux i686;
	rv:15.0) Gecko/20120912 Thunderbird/15.0.1
MIME-Version: 1.0
To: "Steven M. Schweda" <sms@antinode.info>
References: <12100914541059_20200E91@antinode.info>
In-Reply-To: <12100914541059_20200E91@antinode.info>
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] Diffutils 3.2 v. VMS
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, 10 Oct 2012 03:07:51 -0000

On 10/09/2012 12:54 PM, Steven M. Schweda wrote:
> I was trying to fix a specific
> problem, and I don't know how many other instances of open() would be
> affected/damaged by a global change.

That depends on what the problem was.  I don't know VMS.
But if the problem affects one instance of open with
those flags, why wouldn't it affect them all?

>    This change is specific to the use of P_tmpdir (defined in <stdio.h>
> around here),

Why not just fix P_tmpdir directly, then?  That'd be simpler,
surely.  And it could be done in the stdio.h wrapper.

> sometimes it's nice to know what's going on
.
We want to insulate the mainline developers from having
to know what's going on in unusual ports.  Their life
is plenty complicated already.

> Resurrecting
> HAVE_WORKING_VFORK and its friends could allow hiding (or disguising)
> some of the VMS specificity, but not much.)

Why not?  What's the difference between VMS vfork and
(say) GNU/Linux vfork?  I'd rather resurrect that code,
if VMS could be abstracted away, than to have code that's
VMS-only vfork.


From MAILER-DAEMON Wed Oct 10 16:19:00 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TM2k8-00089O-E2
	for mharc-bug-diffutils@gnu.org; Wed, 10 Oct 2012 16:19:00 -0400
Received: from eggs.gnu.org ([208.118.235.92]:57352)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sms@antinode.info>) id 1TM2k5-00087Z-IH
	for bug-diffutils@gnu.org; Wed, 10 Oct 2012 16:18:58 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sms@antinode.info>) id 1TM2k4-0001vd-75
	for bug-diffutils@gnu.org; Wed, 10 Oct 2012 16:18:57 -0400
Received: from alp.antinode.info ([209.98.249.184]:10913)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <sms@antinode.info>) id 1TM2k3-0001tN-SF
	for bug-diffutils@gnu.org; Wed, 10 Oct 2012 16:18:56 -0400
Date: Wed, 10 Oct 2012 14:41:33 -0500 (CDT)
Message-Id: <12101014413360_20200E91@antinode.info>
From: "Steven M. Schweda" <sms@antinode.info>
To: bug-diffutils@gnu.org
X-VMS-To: SMTP%"bug-diffutils@gnu.org"
X-VMS-Cc: SMS
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.98.249.184
Subject: Re: [bug-diffutils] Diffutils 3.2 v. VMS
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, 10 Oct 2012 20:18:58 -0000

From: Paul Eggert <eggert@cs.ucla-edu>

> > I was trying to fix a specific
> > problem, and I don't know how many other instances of open() would be
> > affected/damaged by a global change.
> 
> That depends on what the problem was.  I don't know VMS.
> But if the problem affects one instance of open with
> those flags, why wouldn't it affect them all?

   It depends on which sort of file is being used, and how it's used. 
VMS has various record formats, not simply a stream of bytes.  In this
case, I had a specific complaint from a victim (with a specific type of
file) about "cmp", which I could fix by forcing stream access
("ctx=stm") in one place.  I didn't investigate to see how/if open() was
used elsewhere.  Perhaps a global change would be harmless, but my
testing is minimal (because I can't use the normal UNIX-oriented tests),
and I chose not to risk breakage elsewhere.

> >    This change is specific to the use of P_tmpdir (defined in <stdio.h>
> > around here),
> 
> Why not just fix P_tmpdir directly, then?  That'd be simpler,
> surely.  And it could be done in the stdio.h wrapper.

   The C RTL could probably deal with a UNIX-style file specification in
this case, but this temporary file spec is passed out in an external
editor command, which will be processed by DCL (and probably a VMS
editor), not a UNIX shell, and not the C RTL, so it must be a VMS-style
file spec.  Perhaps a UNIX-like file spec could be translated to a VMS
file spec first, but that's much more work that simply starting with a
VMS-style file spec.

> > Resurrecting
> > HAVE_WORKING_VFORK and its friends could allow hiding (or disguising)
> > some of the VMS specificity, but not much.)
> 
> Why not?  What's the difference between VMS vfork and
> (say) GNU/Linux vfork?  I'd rather resurrect that code,
> if VMS could be abstracted away, than to have code that's
> VMS-only vfork.

   Apparently, the big difference is in how the I/O file streams are
handled.  VMS is not UNIX, and it doesn't handle I/O file stream
inheritance the same way, hence decc$set_child_standard_streams(),
which helps glue things together.  As "HELP CRTL
decc$set_child_standard_streams" says:

         The decc$set_child_standard_streams function allows mapping of
         specified file descriptors to the child's stdin/stdout/stderr
         streams, thereby compensating, to a certain degree, the lack of
         a real fork function on OpenVMS systems.

The marvelous thing about a dancing bear is not that it dances so well,
but that it dances at all.

   VMS continues to require the VMS-specific code for this stuff.  The
only question is whether you'd be happier with "#ifdef __VMS" or
something more like "#ifdef HAVE_WORKING_VFORK" (which hides only the
"VMS" (in a few places), not the actual annoying code).

------------------------------------------------------------------------

   Steven M. Schweda               sms@antinode-info
   382 South Warwick Street        (+1) 651-699-9818
   Saint Paul  MN  55105-2547


From MAILER-DAEMON Fri Oct 19 12:31:50 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TPFUD-0004uT-Vh
	for mharc-bug-diffutils@gnu.org; Fri, 19 Oct 2012 12:31:49 -0400
Received: from eggs.gnu.org ([208.118.235.92]:51390)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bbell@robin.thebellsplace.net>) id 1TPFUB-0004qE-CU
	for bug-diffutils@gnu.org; Fri, 19 Oct 2012 12:31:48 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bbell@robin.thebellsplace.net>) id 1TPFUA-0003oX-EF
	for bug-diffutils@gnu.org; Fri, 19 Oct 2012 12:31:47 -0400
Received: from srv08.macroped.com ([74.54.75.218]:35527)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bbell@robin.thebellsplace.net>) id 1TPFUA-0003oJ-81
	for bug-diffutils@gnu.org; Fri, 19 Oct 2012 12:31:46 -0400
Received: from c-75-68-118-125.hsd1.nh.comcast.net ([75.68.118.125]:49885
	helo=robin) by srv08.macroped.com with esmtp (Exim 4.80)
	(envelope-from <bbell@robin.thebellsplace.net>)
	id 1TPFU6-0004rP-4k; Fri, 19 Oct 2012 12:31:42 -0400
Received: by robin (Postfix, from userid 1000)
	id 9B2E12039D1; Fri, 19 Oct 2012 12:31:47 -0400 (EDT)
Date: Fri, 19 Oct 2012 12:31:47 -0400
From: Bob Bell <b_diffutils@thebellsplace.com>
To: Paul Eggert <eggert@cs.ucla.edu>
Message-ID: <20121019163147.GJ15585@robin.thebellsplace.net>
References: <20120927185844.GK5273@robin.thebellsplace.net>
	<20121004052741.GD5273@robin.thebellsplace.net>
	<506D2080.4030705@cs.ucla.edu>
	<20121006220431.GA3678@robin.thebellsplace.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
In-Reply-To: <20121006220431.GA3678@robin.thebellsplace.net>
X-Editor: Vim http://www.vim.org/
User-Agent: Mutt/1.5.21 (2010-09-15)
X-AntiAbuse: This header was added to track abuse,
	please include it with any abuse report
X-AntiAbuse: Primary Hostname - srv08.macroped.com
X-AntiAbuse: Original Domain - gnu.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - robin.thebellsplace.net
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 74.54.75.218
Cc: bug-diffutils@gnu.org
Subject: Re: [bug-diffutils] Getting all versions, but skipping overlaps
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, 19 Oct 2012 16:31:48 -0000

Paul, apologies for top-quoting, but do you have any thoughts regarding
the email I sent below?

On Sat, Oct 06, 2012 at 06:04:31PM -0400, Bob Bell wrote:
> On Wed, Oct 03, 2012 at 10:37:04PM -0700, Paul Eggert wrote:
> > On 10/03/2012 10:27 PM, Bob Bell wrote:> what I'd really like is to display the merges 
> > >> file, bracketing the conflicting changes, NOT including when FILE0 and 
> > >> FILE1 made identical changes, but when there *IS* a conflicting change, 
> > >> I'd like to see FILE0, FILE1 *and* FILE2/FILEC.
> > 
> > Something like that sounds plausible, yes.  Can you give a brief
> > example of input files, and what the output would look like,
> > compared to what it looks like with the various options now?
> > That'd help us understand exactly what you're proposing.
> 
> Excellent.  I'm trying to think of the best way to illustrate this, with
> attaching 6 different files (let me know if you'd like that).  I'll
> try this approach:
> 
> We have three files: fileA, fileB and fileC.  fileA was the original
> file, with 6 lines, from "line 1" through "line 6".  fileB and fileC
> began as copies of fileA.  Then, fileB changed "line 2" to "line
> two", while fileC changed "line 2" to "line too".  Both fileB and
> fileC changed "line eight" to "line ocho".
> 
> The output of `diff3 -m -X fileC fileA fileB` is:
> line 1
> <<<<<<< fileC
> line too
> =======
> line two
> >>>>>>> fileB
> line 3
> line 4
> line cinco
> line 6
> 
> The output of `diff3 -m -A fileC fileA fileB` is:
> line 1
> <<<<<<< fileC
> line too
> ||||||| fileA
> line 2
> =======
> line two
> >>>>>>> fileB
> line 3
> line 4
> <<<<<<< fileA
> line 5
> =======
> line cinco
> >>>>>>> fileB
> line 6
> 
> My DESIRED output in this situation, perhaps from "-m -A -X", or
> something new like "-m -X -2", is:
> line 1
> <<<<<<< fileC
> line too
> ||||||| fileA
> line 2
> =======
> line two
> >>>>>>> fileB
> line 3
> line 4
> line cinco
> line 6
> 
> I'd be happen to answer any more questions about this.  I really think
> that it would be beneficial in a number of circumstances I've
> encountered.
> 
> -- Bob
> 


From MAILER-DAEMON Tue Oct 23 01:13:41 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TQWo8-0007k8-VH
	for mharc-bug-diffutils@gnu.org; Tue, 23 Oct 2012 01:13:40 -0400
Received: from eggs.gnu.org ([208.118.235.92]:36403)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <dclarke@blastwave.org>) id 1TQVJ1-0006Wi-OY
	for bug-diffutils@gnu.org; Mon, 22 Oct 2012 23:37:30 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <dclarke@blastwave.org>) id 1TQVIz-0003af-7W
	for bug-diffutils@gnu.org; Mon, 22 Oct 2012 23:37:27 -0400
Received: from comm.purplecow.org ([210.87.62.131]:36058)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <dclarke@blastwave.org>) id 1TQVIy-0003aG-Ad
	for bug-diffutils@gnu.org; Mon, 22 Oct 2012 23:37:25 -0400
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-disposition: inline
Content-type: text/plain; charset=us-ascii
Received: from comm.purplecow.org ([127.0.0.1])
	by comm.purplecow.org (Sun Java(tm) System Messaging Server 6.3-6.03
	(built Mar 14 2008;
	32bit)) with ESMTP id <0MCB0021QU277600@comm.purplecow.org> for
	bug-diffutils@gnu.org; Tue, 23 Oct 2012 14:37:19 +1100 (EST)
Received: from comm.purplecow.org ([127.0.0.1] helo=comm.purplecow.org)
	with IPv4:25 by ASSP.nospam; Tue, 23 Oct 2012 14:37:19 +1100
Received: from [66.103.52.207] by comm.purplecow.org (mshttpd); Mon,
	22 Oct 2012 23:37:19 -0400
From: Dennis Clarke <dclarke@blastwave.org>
To: bug-diffutils@gnu.org
Message-id: <fb7f9a57474.5085d8af@blastwave.org>
Date: Mon, 22 Oct 2012 23:37:19 -0400
X-Mailer: Sun Java(tm) System Messenger Express 6.3-6.03 (built Mar 14 2008;
	32bit)
Content-language: en
X-Accept-Language: en
Priority: normal
X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta)
X-Received-From: 210.87.62.131
X-Mailman-Approved-At: Tue, 23 Oct 2012 01:13:39 -0400
Subject: [bug-diffutils] 1 of 9 tests failed
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 Oct 2012 03:37:30 -0000

$ 

$ pwd
/usr/local/build/diffutils-3.2_SunOS5.10_sparcv9
$ 

$ env | sort 
AS=/usr/ccs/bin/as
CC=/opt/solarisstudio12.3/bin/cc
CFLAGS=-xstrconst -xildoff -m64 -xmemalign=8s -xnolibmil -Xa -xcode=pic32 -xregs=no%appl -xlibmieee -mc -g -xs -ftrap=%none -xbuiltin=%none -xdebugformat=dwarf -xunroll=1 -xtarget=ultraT2 -xcache=8/16/4:4096/64/16 -D_TS_ERRNO -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE
COLUMNS=124
CONFIG_SHELL=/bin/bash
CPPFLAGS=-I/usr/local/include -I/usr/local/include/readline -I/usr/sfw/ssl/include
CXX=/opt/solarisstudio12.3/bin/CC
CXXFLAGS=-xildoff -m64 -xmemalign=8s -xcode=pic32 -xregs=no%appl -xlibmieee -mc -g -xs -xunroll=1 -xtarget=ultraT2 -xcache=8/16/4:4096/64/16 -R/usr/local/lib -L/usr/local/lib -D_TS_ERRNO -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE
EDITOR=/usr/xpg4/bin/vi
HOME=/export/home/dclarke
LANG=C
LC_ALL=C
LC_COLLATE=C
LC_CTYPE=C
LC_MESSAGES=C
LC_MONETARY=C
LC_NUMERIC=C
LC_TIME=C
LD=/usr/ccs/bin/ld
LD_OPTIONS=-L/usr/local/lib -L/usr/sfw/lib/sparcv9
LD_RUN_PATH=/usr/local/lib/$ISALIST:/usr/sfw/lib/$ISALIST:/usr/local/lib:/usr/sfw/lib
LINES=44
LOGNAME=dclarke
M4=/usr/local/bin/gm4
MAIL=/usr/mail/dclarke
MANPATH=/usr/share/man:/usr/X11/share/man
PAGER=/usr/bin/less
PATH=/usr/local/bin:/usr/xpg6/bin:/usr/xpg4/bin:/usr/ccs/bin:/opt/solarisstudio12.3/bin:/usr/bin:/sbin:/bin:/usr/sbin:/usr/dt/bin:/usr/openwin/bin:/opt/schily/bin
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
PWD=/usr/local/build/diffutils-3.2_SunOS5.10_sparcv9
SED=/usr/local/bin/gsed
SHELL=/bin/ksh
SRC=/usr/local/src
SSH_CLIENT=66.103.52.207 33595 22
SSH_CONNECTION=66.103.52.207 33595 66.225.151.250 22
SSH_TTY=/dev/pts/1
STY=4301.pts-1.node002
TERM=xterm
TZ=GMT0
USER=dclarke
VISUAL=/usr/xpg4/bin/vi
WINDOW=3
_=/usr/xpg4/bin/env
$ 
$ uname -a 
SunOS node002 5.10 Generic_147440-23 sun4v sparc SUNW,T5240
$ 
$ psrinfo -pv 
The physical processor has 64 virtual processors (0-63)
  UltraSPARC-T2+ (chipid 0, clock 1582 MHz)
The physical processor has 64 virtual processors (64-127)
  UltraSPARC-T2+ (chipid 1, clock 1582 MHz)
$ 
$ cc -V 
cc: Sun C 5.12 SunOS_sparc 2011/11/16
$ 


$ gmake check 
Making check in lib
gmake[1]: Entering directory `/usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/lib'
gmake  check-recursive
gmake[2]: Entering directory `/usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/lib'
gmake[3]: Entering directory `/usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/lib'
gmake[3]: Leaving directory `/usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/lib'
gmake[2]: Leaving directory `/usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/lib'
gmake[1]: Leaving directory `/usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/lib'
Making check in src
gmake[1]: Entering directory `/usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/src'
gmake  check-am
gmake[2]: Entering directory `/usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/src'
gmake[2]: Nothing to be done for `check-am'.
gmake[2]: Leaving directory `/usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/src'
gmake[1]: Leaving directory `/usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/src'
Making check in tests
gmake[1]: Entering directory `/usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/tests'
gmake  check-TESTS
gmake[2]: Entering directory `/usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/tests'
gmake[3]: Entering directory `/usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/tests'
PASS: basic
PASS: binary
PASS: colliding-file-names
PASS: excess-slash
FAIL: help-version
PASS: function-line-vs-leading-space
PASS: label-vs-func
PASS: no-newline-at-eof
PASS: stdin
=============================================
   GNU diffutils 3.2: tests/test-suite.log   
=============================================

1 of 9 tests failed.  

.. contents:: :depth: 2


FAIL: help-version (exit: 1)
============================

++ initial_cwd_=/usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/tests
++ fail=0
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/tests gt-help-version.XXXX
+++ case $# in
+++ destdir_=/usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/tests
+++ template_=gt-help-version.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ case $template_ in
++++ unset TMPDIR
++++ mktemp -d -t -p /usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/tests gt-help-version.XXXX
+++ d=/usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/tests/gt-help-version.ayig
+++ case $d in
+++ test -d /usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/tests/gt-help-version.ayig
++++ ls -dgo /usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/tests/gt-help-version.ayig
++++ tr S -
+++ perms='drwx------   2       2 Oct 23 03:34 /usr/local/build/diffutils-3.2_-unO-5.10_sparcv9/tests/gt-help-version.ayig'
+++ case $perms in
+++ test 0 = 0
+++ echo /usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/tests/gt-help-version.ayig
+++ return
++ test_dir_=/usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/tests/gt-help-version.ayig
++ cd /usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/tests/gt-help-version.ayig
++ gl_init_sh_nl_='
'
++ IFS='        
'
++ for sig_ in 1 2 3 13 15
+++ expr 1 + 128
++ eval 'trap '\''Exit 129'\'' 1'
+++ trap 'Exit 129' 1
++ for sig_ in 1 2 3 13 15
+++ expr 2 + 128
++ eval 'trap '\''Exit 130'\'' 2'
+++ trap 'Exit 130' 2
++ for sig_ in 1 2 3 13 15
+++ expr 3 + 128
++ eval 'trap '\''Exit 131'\'' 3'
+++ trap 'Exit 131' 3
++ for sig_ in 1 2 3 13 15
+++ expr 13 + 128
++ eval 'trap '\''Exit 141'\'' 13'
+++ trap 'Exit 141' 13
++ for sig_ in 1 2 3 13 15
+++ expr 15 + 128
++ eval 'trap '\''Exit 143'\'' 15'
+++ trap 'Exit 143' 15
++ trap remove_tmp_ 0
+ path_prepend_ ../src
+ test 1 '!=' 0
+ path_dir_=../src
+ case $path_dir_ in
++ cd /usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/tests/../src
++ echo /usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/src
+ abs_path_dir_=/usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/src
+ case $abs_path_dir_ in
+ PATH=/usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/src:/usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/src:/usr/local/bin:/usr/xpg6/bin:/usr/xpg4/bin:/usr/ccs/bin:/opt/solarisstudio12.3/bin:/usr/bin:/sbin:/bin:/usr/sbin:/usr/dt/bin:/usr/openwin/bin:/opt/schily/bin
+ create_exe_shims_ /usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/src
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ expected_failure_status_chroot=125
+ expected_failure_status_env=125
+ expected_failure_status_nice=125
+ expected_failure_status_nohup=125
+ expected_failure_status_stdbuf=125
+ expected_failure_status_su=125
+ expected_failure_status_timeout=125
+ expected_failure_status_printenv=2
+ expected_failure_status_tty=3
+ expected_failure_status_sort=2
+ expected_failure_status_expr=3
+ expected_failure_status_lbracket=2
+ expected_failure_status_dir=2
+ expected_failure_status_ls=2
+ expected_failure_status_vdir=2
+ expected_failure_status_cmp=2
+ expected_failure_status_zcmp=2
+ expected_failure_status_sdiff=2
+ expected_failure_status_diff3=2
+ expected_failure_status_diff=2
+ expected_failure_status_zdiff=2
+ expected_failure_status_zgrep=2
+ expected_failure_status_zegrep=2
+ expected_failure_status_zfgrep=2
+ expected_failure_status_grep=2
+ expected_failure_status_egrep=2
+ expected_failure_status_fgrep=2
+ test 'cmp
diff
diff3
sdiff'
+ test 3.2
+ for i in '$built_programs'
++ env cmp --version
++ sed -n '1s/.* //p;q'
+ v=3.2
+ break
+ test x3.2 = x3.2
+ for lang in C fr da
+ for i in '$built_programs'
+ test cmp = test
+ test cmp = false
+ test cmp = install
+ env cmp --help
+ env cmp --version
+ grep bug-diffutils@gnu.org h-cmp
+ rm -f h-cmp
+ test -w /dev/full
+ for i in '$built_programs'
+ test diff = test
+ test diff = false
+ test diff = install
+ env diff --help
+ env diff --version
+ grep bug-diffutils@gnu.org h-diff
+ rm -f h-diff
+ test -w /dev/full
+ for i in '$built_programs'
+ test diff3 = test
+ test diff3 = false
+ test diff3 = install
+ env diff3 --help
+ env diff3 --version
+ grep bug-diffutils@gnu.org h-diff3
+ rm -f h-diff3
+ test -w /dev/full
+ for i in '$built_programs'
+ test sdiff = test
+ test sdiff = false
+ test sdiff = install
+ env sdiff --help
+ env sdiff --version
+ grep bug-diffutils@gnu.org h-sdiff
+ rm -f h-sdiff
+ test -w /dev/full
+ for lang in C fr da
+ for i in '$built_programs'
+ test cmp = test
+ test cmp = false
+ test cmp = install
+ env cmp --help
+ env cmp --version
+ grep bug-diffutils@gnu.org h-cmp
+ rm -f h-cmp
+ test -w /dev/full
+ for i in '$built_programs'
+ test diff = test
+ test diff = false
+ test diff = install
+ env diff --help
+ env diff --version
+ grep bug-diffutils@gnu.org h-diff
+ rm -f h-diff
+ test -w /dev/full
+ for i in '$built_programs'
+ test diff3 = test
+ test diff3 = false
+ test diff3 = install
+ env diff3 --help
+ env diff3 --version
+ grep bug-diffutils@gnu.org h-diff3
+ rm -f h-diff3
+ test -w /dev/full
+ for i in '$built_programs'
+ test sdiff = test
+ test sdiff = false
+ test sdiff = install
+ env sdiff --help
+ env sdiff --version
+ grep bug-diffutils@gnu.org h-sdiff
+ rm -f h-sdiff
+ test -w /dev/full
+ for lang in C fr da
+ for i in '$built_programs'
+ test cmp = test
+ test cmp = false
+ test cmp = install
+ env cmp --help
+ env cmp --version
+ grep bug-diffutils@gnu.org h-cmp
+ rm -f h-cmp
+ test -w /dev/full
+ for i in '$built_programs'
+ test diff = test
+ test diff = false
+ test diff = install
+ env diff --help
+ env diff --version
+ grep bug-diffutils@gnu.org h-diff
+ rm -f h-diff
+ test -w /dev/full
+ for i in '$built_programs'
+ test diff3 = test
+ test diff3 = false
+ test diff3 = install
+ env diff3 --help
+ env diff3 --version
+ grep bug-diffutils@gnu.org h-diff3
+ rm -f h-diff3
+ test -w /dev/full
+ for i in '$built_programs'
+ test sdiff = test
+ test sdiff = false
+ test sdiff = install
+ env sdiff --help
+ env sdiff --version
+ grep bug-diffutils@gnu.org h-sdiff
+ rm -f h-sdiff
+ test -w /dev/full
+ bigZ_in=bigZ-in.Z
+ zin=zin.gz
+ zin2=zin2.gz
+ tmp=tmp-3125
+ tmp_in=in-3125
+ tmp_in2=in2-3125
+ tmp_dir=dir-3125
+ tmp_out=out-3125
+ mkdir tmp-3125
+ cd tmp-3125
+ for i in '$built_programs'
+ case $i in
+ rm -rf in-3125 in2-3125 dir-3125 out-3125 bigZ-in.Z zin.gz zin2.gz
+ echo z
+ gzip
+ cp zin.gz zin2.gz
+ cp zin.gz bigZ-in.Z
+ echo 2147483647 0
+ cp in-3125 in2-3125
+ mkdir dir-3125
+ test cmp = '['
+ prog=cmp
+ type cmp_setup
+ cmp_setup
+ args='in-3125 in2-3125'
+ env cmp in-3125 in2-3125
+ :
+ rm -rf in-3125 in2-3125 out-3125 dir-3125
+ for i in '$built_programs'
+ case $i in
+ rm -rf in-3125 in2-3125 dir-3125 out-3125 bigZ-in.Z zin.gz zin2.gz
+ echo z
+ gzip
+ cp zin.gz zin2.gz
+ cp zin.gz bigZ-in.Z
+ echo 2147483647 0
+ cp in-3125 in2-3125
+ mkdir dir-3125
+ test diff = '['
+ prog=diff
+ type diff_setup
+ diff_setup
+ args='in-3125 in2-3125'
+ env diff in-3125 in2-3125
+ :
+ rm -rf in-3125 in2-3125 out-3125 dir-3125
+ for i in '$built_programs'
+ case $i in
+ rm -rf in-3125 in2-3125 dir-3125 out-3125 bigZ-in.Z zin.gz zin2.gz
+ echo z
+ gzip
+ cp zin.gz zin2.gz
+ cp zin.gz bigZ-in.Z
+ echo 2147483647 0
+ cp in-3125 in2-3125
+ mkdir dir-3125
+ test diff3 = '['
+ prog=diff3
+ type diff3_setup
+ diff3_setup
+ args='in-3125 in2-3125 in2-3125'
+ env diff3 in-3125 in2-3125 in2-3125
diff3: subsidiary program `gdiff' not found
+ echo FAIL: diff3
FAIL: diff3
+ fail=1
+ rm -rf in-3125 in2-3125 out-3125 dir-3125
+ for i in '$built_programs'
+ case $i in
+ rm -rf in-3125 in2-3125 dir-3125 out-3125 bigZ-in.Z zin.gz zin2.gz
+ echo z
+ gzip
+ cp zin.gz zin2.gz
+ cp zin.gz bigZ-in.Z
+ echo 2147483647 0
+ cp in-3125 in2-3125
+ mkdir dir-3125
+ test sdiff = '['
+ prog=sdiff
+ type sdiff_setup
+ sdiff_setup
+ args='in-3125 in2-3125'
+ env sdiff in-3125 in2-3125
sdiff: gdiff: No such file or directory
+ echo FAIL: sdiff
FAIL: sdiff
+ fail=1
+ rm -rf in-3125 in2-3125 out-3125 dir-3125
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ cd /usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/tests
+ chmod -R u+rwx /usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/tests/gt-help-version.ayig
+ rm -rf /usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/tests/gt-help-version.ayig
+ exit 1
======================================
1 of 9 tests failed
See tests/test-suite.log
Please report to bug-diffutils@gnu.org
======================================
gmake[3]: *** [test-suite.log] Error 1
gmake[3]: Leaving directory `/usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/tests'
gmake[2]: *** [check-TESTS] Error 2
gmake[2]: Leaving directory `/usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/tests'
gmake[1]: *** [check-am] Error 2
gmake[1]: Leaving directory `/usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/tests'
gmake: *** [check-recursive] Error 1
$ 


$ wc -l tests/test-suite.log
     327 tests/test-suite.log
$ cat tests/test-suite.log
=============================================
   GNU diffutils 3.2: tests/test-suite.log   
=============================================

1 of 9 tests failed.  

.. contents:: :depth: 2


FAIL: help-version (exit: 1)
============================

++ initial_cwd_=/usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/tests
++ fail=0
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/tests gt-help-version.XXXX
+++ case $# in
+++ destdir_=/usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/tests
+++ template_=gt-help-version.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ case $template_ in
++++ unset TMPDIR
++++ mktemp -d -t -p /usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/tests gt-help-version.XXXX
+++ d=/usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/tests/gt-help-version.ayig
+++ case $d in
+++ test -d /usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/tests/gt-help-version.ayig
++++ ls -dgo /usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/tests/gt-help-version.ayig
++++ tr S -
+++ perms='drwx------   2       2 Oct 23 03:34 /usr/local/build/diffutils-3.2_-unO-5.10_sparcv9/tests/gt-help-version.ayig'
+++ case $perms in
+++ test 0 = 0
+++ echo /usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/tests/gt-help-version.ayig
+++ return
++ test_dir_=/usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/tests/gt-help-version.ayig
++ cd /usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/tests/gt-help-version.ayig
++ gl_init_sh_nl_='
'
++ IFS='        
'
++ for sig_ in 1 2 3 13 15
+++ expr 1 + 128
++ eval 'trap '\''Exit 129'\'' 1'
+++ trap 'Exit 129' 1
++ for sig_ in 1 2 3 13 15
+++ expr 2 + 128
++ eval 'trap '\''Exit 130'\'' 2'
+++ trap 'Exit 130' 2
++ for sig_ in 1 2 3 13 15
+++ expr 3 + 128
++ eval 'trap '\''Exit 131'\'' 3'
+++ trap 'Exit 131' 3
++ for sig_ in 1 2 3 13 15
+++ expr 13 + 128
++ eval 'trap '\''Exit 141'\'' 13'
+++ trap 'Exit 141' 13
++ for sig_ in 1 2 3 13 15
+++ expr 15 + 128
++ eval 'trap '\''Exit 143'\'' 15'
+++ trap 'Exit 143' 15
++ trap remove_tmp_ 0
+ path_prepend_ ../src
+ test 1 '!=' 0
+ path_dir_=../src
+ case $path_dir_ in
++ cd /usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/tests/../src
++ echo /usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/src
+ abs_path_dir_=/usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/src
+ case $abs_path_dir_ in
+ PATH=/usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/src:/usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/src:/usr/local/bin:/usr/xpg6/bin:/usr/xpg4/bin:/usr/ccs/bin:/opt/solarisstudio12.3/bin:/usr/bin:/sbin:/bin:/usr/sbin:/usr/dt/bin:/usr/openwin/bin:/opt/schily/bin
+ create_exe_shims_ /usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/src
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ expected_failure_status_chroot=125
+ expected_failure_status_env=125
+ expected_failure_status_nice=125
+ expected_failure_status_nohup=125
+ expected_failure_status_stdbuf=125
+ expected_failure_status_su=125
+ expected_failure_status_timeout=125
+ expected_failure_status_printenv=2
+ expected_failure_status_tty=3
+ expected_failure_status_sort=2
+ expected_failure_status_expr=3
+ expected_failure_status_lbracket=2
+ expected_failure_status_dir=2
+ expected_failure_status_ls=2
+ expected_failure_status_vdir=2
+ expected_failure_status_cmp=2
+ expected_failure_status_zcmp=2
+ expected_failure_status_sdiff=2
+ expected_failure_status_diff3=2
+ expected_failure_status_diff=2
+ expected_failure_status_zdiff=2
+ expected_failure_status_zgrep=2
+ expected_failure_status_zegrep=2
+ expected_failure_status_zfgrep=2
+ expected_failure_status_grep=2
+ expected_failure_status_egrep=2
+ expected_failure_status_fgrep=2
+ test 'cmp
diff
diff3
sdiff'
+ test 3.2
+ for i in '$built_programs'
++ env cmp --version
++ sed -n '1s/.* //p;q'
+ v=3.2
+ break
+ test x3.2 = x3.2
+ for lang in C fr da
+ for i in '$built_programs'
+ test cmp = test
+ test cmp = false
+ test cmp = install
+ env cmp --help
+ env cmp --version
+ grep bug-diffutils@gnu.org h-cmp
+ rm -f h-cmp
+ test -w /dev/full
+ for i in '$built_programs'
+ test diff = test
+ test diff = false
+ test diff = install
+ env diff --help
+ env diff --version
+ grep bug-diffutils@gnu.org h-diff
+ rm -f h-diff
+ test -w /dev/full
+ for i in '$built_programs'
+ test diff3 = test
+ test diff3 = false
+ test diff3 = install
+ env diff3 --help
+ env diff3 --version
+ grep bug-diffutils@gnu.org h-diff3
+ rm -f h-diff3
+ test -w /dev/full
+ for i in '$built_programs'
+ test sdiff = test
+ test sdiff = false
+ test sdiff = install
+ env sdiff --help
+ env sdiff --version
+ grep bug-diffutils@gnu.org h-sdiff
+ rm -f h-sdiff
+ test -w /dev/full
+ for lang in C fr da
+ for i in '$built_programs'
+ test cmp = test
+ test cmp = false
+ test cmp = install
+ env cmp --help
+ env cmp --version
+ grep bug-diffutils@gnu.org h-cmp
+ rm -f h-cmp
+ test -w /dev/full
+ for i in '$built_programs'
+ test diff = test
+ test diff = false
+ test diff = install
+ env diff --help
+ env diff --version
+ grep bug-diffutils@gnu.org h-diff
+ rm -f h-diff
+ test -w /dev/full
+ for i in '$built_programs'
+ test diff3 = test
+ test diff3 = false
+ test diff3 = install
+ env diff3 --help
+ env diff3 --version
+ grep bug-diffutils@gnu.org h-diff3
+ rm -f h-diff3
+ test -w /dev/full
+ for i in '$built_programs'
+ test sdiff = test
+ test sdiff = false
+ test sdiff = install
+ env sdiff --help
+ env sdiff --version
+ grep bug-diffutils@gnu.org h-sdiff
+ rm -f h-sdiff
+ test -w /dev/full
+ for lang in C fr da
+ for i in '$built_programs'
+ test cmp = test
+ test cmp = false
+ test cmp = install
+ env cmp --help
+ env cmp --version
+ grep bug-diffutils@gnu.org h-cmp
+ rm -f h-cmp
+ test -w /dev/full
+ for i in '$built_programs'
+ test diff = test
+ test diff = false
+ test diff = install
+ env diff --help
+ env diff --version
+ grep bug-diffutils@gnu.org h-diff
+ rm -f h-diff
+ test -w /dev/full
+ for i in '$built_programs'
+ test diff3 = test
+ test diff3 = false
+ test diff3 = install
+ env diff3 --help
+ env diff3 --version
+ grep bug-diffutils@gnu.org h-diff3
+ rm -f h-diff3
+ test -w /dev/full
+ for i in '$built_programs'
+ test sdiff = test
+ test sdiff = false
+ test sdiff = install
+ env sdiff --help
+ env sdiff --version
+ grep bug-diffutils@gnu.org h-sdiff
+ rm -f h-sdiff
+ test -w /dev/full
+ bigZ_in=bigZ-in.Z
+ zin=zin.gz
+ zin2=zin2.gz
+ tmp=tmp-3125
+ tmp_in=in-3125
+ tmp_in2=in2-3125
+ tmp_dir=dir-3125
+ tmp_out=out-3125
+ mkdir tmp-3125
+ cd tmp-3125
+ for i in '$built_programs'
+ case $i in
+ rm -rf in-3125 in2-3125 dir-3125 out-3125 bigZ-in.Z zin.gz zin2.gz
+ echo z
+ gzip
+ cp zin.gz zin2.gz
+ cp zin.gz bigZ-in.Z
+ echo 2147483647 0
+ cp in-3125 in2-3125
+ mkdir dir-3125
+ test cmp = '['
+ prog=cmp
+ type cmp_setup
+ cmp_setup
+ args='in-3125 in2-3125'
+ env cmp in-3125 in2-3125
+ :
+ rm -rf in-3125 in2-3125 out-3125 dir-3125
+ for i in '$built_programs'
+ case $i in
+ rm -rf in-3125 in2-3125 dir-3125 out-3125 bigZ-in.Z zin.gz zin2.gz
+ echo z
+ gzip
+ cp zin.gz zin2.gz
+ cp zin.gz bigZ-in.Z
+ echo 2147483647 0
+ cp in-3125 in2-3125
+ mkdir dir-3125
+ test diff = '['
+ prog=diff
+ type diff_setup
+ diff_setup
+ args='in-3125 in2-3125'
+ env diff in-3125 in2-3125
+ :
+ rm -rf in-3125 in2-3125 out-3125 dir-3125
+ for i in '$built_programs'
+ case $i in
+ rm -rf in-3125 in2-3125 dir-3125 out-3125 bigZ-in.Z zin.gz zin2.gz
+ echo z
+ gzip
+ cp zin.gz zin2.gz
+ cp zin.gz bigZ-in.Z
+ echo 2147483647 0
+ cp in-3125 in2-3125
+ mkdir dir-3125
+ test diff3 = '['
+ prog=diff3
+ type diff3_setup
+ diff3_setup
+ args='in-3125 in2-3125 in2-3125'
+ env diff3 in-3125 in2-3125 in2-3125
diff3: subsidiary program `gdiff' not found
+ echo FAIL: diff3
FAIL: diff3
+ fail=1
+ rm -rf in-3125 in2-3125 out-3125 dir-3125
+ for i in '$built_programs'
+ case $i in
+ rm -rf in-3125 in2-3125 dir-3125 out-3125 bigZ-in.Z zin.gz zin2.gz
+ echo z
+ gzip
+ cp zin.gz zin2.gz
+ cp zin.gz bigZ-in.Z
+ echo 2147483647 0
+ cp in-3125 in2-3125
+ mkdir dir-3125
+ test sdiff = '['
+ prog=sdiff
+ type sdiff_setup
+ sdiff_setup
+ args='in-3125 in2-3125'
+ env sdiff in-3125 in2-3125
sdiff: gdiff: No such file or directory
+ echo FAIL: sdiff
FAIL: sdiff
+ fail=1
+ rm -rf in-3125 in2-3125 out-3125 dir-3125
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ cd /usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/tests
+ chmod -R u+rwx /usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/tests/gt-help-version.ayig
+ rm -rf /usr/local/build/diffutils-3.2_SunOS5.10_sparcv9/tests/gt-help-version.ayig
+ exit 1
$ 









From MAILER-DAEMON Tue Oct 23 08:35:46 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TQdhy-0001Jm-Jy
	for mharc-bug-diffutils@gnu.org; Tue, 23 Oct 2012 08:35:46 -0400
Received: from eggs.gnu.org ([208.118.235.92]:55870)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1TQdhs-0001IC-H6
	for bug-diffutils@gnu.org; Tue, 23 Oct 2012 08:35:44 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1TQdhm-0002iw-QK
	for bug-diffutils@gnu.org; Tue, 23 Oct 2012 08:35:40 -0400
Received: from mx.meyering.net ([88.168.87.75]:47923)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1TQdhm-0002if-JW
	for bug-diffutils@gnu.org; Tue, 23 Oct 2012 08:35:34 -0400
Received: from rho.meyering.net (rho.meyering.net [127.0.0.1])
	by rho.meyering.net (Acme Bit-Twister) with ESMTP id B5EFE6009D
	for <bug-diffutils@gnu.org>; Tue, 23 Oct 2012 14:35:33 +0200 (CEST)
From: Jim Meyering <jim@meyering.net>
To: bug-diffutils@gnu.org
Date: Tue, 23 Oct 2012 14:35:33 +0200
Message-ID: <87k3uhtlgq.fsf@rho.meyering.net>
Lines: 36
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: 88.168.87.75
Subject: [bug-diffutils] enable --enable-gcc-warnings by default in a
	from-clone build
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 Oct 2012 12:35:44 -0000

Eric did this in libvirt, and I liked it, so also in coreutils.
Finally, I'm updating all other C projects I tend to do the same thing:

>From 01d92dba155d9ad87eaf0378876e0c67285c2075 Mon Sep 17 00:00:00 2001
From: Eric Blake <eblake@redhat.com>
Date: Tue, 23 Oct 2012 11:06:48 +0200
Subject: [PATCH] build: default to --enable-gcc-warnings in a git tree

Anyone building from cloned sources can be assumed to have a new
enough environment, such that enabling gcc warnings by default will
be useful.  Tarballs still default to no warnings, and the default
can still be overridden with --disable-gcc-warnings.
* configure.ac (gl_gcc_warnings): Set default based on environment.
---
 configure.ac | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index d6e52c4..18ff554 100644
--- a/configure.ac
+++ b/configure.ac
@@ -47,7 +47,11 @@ AC_ARG_ENABLE([gcc-warnings],
      *)      AC_MSG_ERROR([bad value $enableval for gcc-warnings option]) ;;
    esac
    gl_gcc_warnings=$enableval],
-  [gl_gcc_warnings=no]
+  [if test -d "$srcdir"/.git; then
+     gl_gcc_warnings=yes
+   else
+     gl_gcc_warnings=no
+   fi]
 )

 if test "$gl_gcc_warnings" = yes; then
--
1.8.0


From MAILER-DAEMON Sun Oct 28 16:34:04 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TSZYa-0000WL-6X
	for mharc-bug-diffutils@gnu.org; Sun, 28 Oct 2012 16:34:04 -0400
Received: from eggs.gnu.org ([208.118.235.92]:53150)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <brandon@invergo.net>) id 1TSP0l-0001mp-TF
	for bug-diffutils@gnu.org; Sun, 28 Oct 2012 05:18:29 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <brandon@invergo.net>) id 1TSP0k-0003L0-JS
	for bug-diffutils@gnu.org; Sun, 28 Oct 2012 05:18:27 -0400
Received: from hapkido.dreamhost.com ([66.33.216.122]:54789)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <brandon@invergo.net>) id 1TSP0k-0003Kl-9d
	for bug-diffutils@gnu.org; Sun, 28 Oct 2012 05:18:26 -0400
Received: from homiemail-a29.g.dreamhost.com (caiajhbdcbbj.dreamhost.com
	[208.97.132.119])
	by hapkido.dreamhost.com (Postfix) with ESMTP id 7650F33F
	for <bug-diffutils@gnu.org>; Sun, 28 Oct 2012 02:18:24 -0700 (PDT)
Received: from homiemail-a29.g.dreamhost.com (localhost [127.0.0.1])
	by homiemail-a29.g.dreamhost.com (Postfix) with ESMTP id 338F967401F
	for <bug-diffutils@gnu.org>; Sun, 28 Oct 2012 02:18:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=invergo.net; h=from:to
	:subject:date:message-id:mime-version:content-type; s=
	invergo.net; bh=Q9jMveCMWmID7lteu00EUuPTR0Q=; b=BQkdAQI9uAjXljQC
	pgDs5xAia5qEAguJ08pOFVsqohGIjfjbWcN7ySDrqH//3Yl42Awhr24pk2xWz/Di
	pWTEtLsnXNLIfWNGE0fYy1X3OWQaWWzPRMnMkDJcixS5XsDgw73vSQQnxg1Ti/jp
	WYQGIC+ZtqRrbLWXaKd91D/jfEc=
Received: from localhost (unknown [95.61.26.193])
	(using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
	(No client certificate requested)
	(Authenticated sender: brandon@invergo.net)
	by homiemail-a29.g.dreamhost.com (Postfix) with ESMTPSA id 3DA6767403E
	for <bug-diffutils@gnu.org>; Sun, 28 Oct 2012 02:18:22 -0700 (PDT)
From: Brandon Invergo <brandon@invergo.net>
To: bug-diffutils@gnu.org
User-Agent: Notmuch/0.14 (http://notmuchmail.org) Emacs/24.2.1
	(x86_64-unknown-linux-gnu)
Date: Sun, 28 Oct 2012 10:18:18 +0100
Message-ID: <87y5ir2bvp.fsf@invergo.net>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 66.33.216.122
X-Mailman-Approved-At: Sun, 28 Oct 2012 16:34:03 -0400
Subject: [bug-diffutils] Build fails with recent glibc due to outdated gnulib
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, 28 Oct 2012 09:18:29 -0000

Building diffutils fails with recent versions of glibc (2.16+). The
error occurs in files pulled in from gnulib:

In file included from exclude.c:31:0:                                                
./stdio.h:1012:1: error: 'gets' undeclared here (not in a function)                  
  CC       hard-locale.o                                                             
In file included from stdio-safer.h:20:0,                                            
                 from freopen-safer.c:22:                                            
./stdio.h:1012:1: error: 'gets' undeclared here (not in a function)                  
  CC       hash.o                                                                    
make[4]: *** [freopen-safer.o] Error 1                                               
make[4]: *** Waiting for unfinished jobs....                                         
make[4]: *** [exclude.o] Error 1                                                     
In file included from hash.h:27:0,                                                   
                 from hash.c:27:                                                     
./stdio.h:1012:1: error: 'gets' undeclared here (not in a function)    

The error exists in this file: lib/stdio.in.h

The problem has already been fixed upstream in gnulib, so it should be
as simple as updating the code included in diffutils.

Here was the upstream patch:
https://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00186.html

Please let me know if you need any more info!
Upstream patch:
https://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00186.html

Cheers,
Brandon Invergo


From MAILER-DAEMON Tue Oct 30 11:44:32 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TTDzU-0005vF-45
	for mharc-bug-diffutils@gnu.org; Tue, 30 Oct 2012 11:44:32 -0400
Received: from eggs.gnu.org ([208.118.235.92]:39238)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1TTDzM-0005l9-DF
	for bug-diffutils@gnu.org; Tue, 30 Oct 2012 11:44:30 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1TTDz9-00045v-S5
	for bug-diffutils@gnu.org; Tue, 30 Oct 2012 11:44:24 -0400
Received: from mx.meyering.net ([88.168.87.75]:43161)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>)
	id 1TTDz8-00045J-Bt; Tue, 30 Oct 2012 11:44:11 -0400
Received: from rho.meyering.net (rho [127.0.0.1])
	by rho.meyering.net (Acme Bit-Twister) with ESMTP id BFA00600EE;
	Tue, 30 Oct 2012 16:44:08 +0100 (CET)
From: Jim Meyering <jim@meyering.net>
To: bug-diffutils@gnu.org
Mail-Followup-To: bug-diffutils@gnu.org
Date: Tue, 30 Oct 2012 16:44:08 +0100
Message-ID: <87mwz4dkxj.fsf@rho.meyering.net>
Lines: 1669
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: 88.168.87.75
Cc: coordinator@translationproject.org, platform-testers@gnu.org
Subject: [bug-diffutils] new snapshot available: diffutils-3.2.37-f0b0
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, 30 Oct 2012 15:44:31 -0000

Wow.  I've just realized it's been more than a year
since the last diffutils release.  So here's a snapshot
of the latest sources:

diffutils snapshot:
  http://meyering.net/diff/diffutils-ss.tar.xz      1.2 MB
  http://meyering.net/diff/diffutils-ss.tar.xz.sig
  http://meyering.net/diff/diffutils-3.2.37-f0b0.tar.xz


=====================================
NEWS:

** New features

  --new-file (-N) and --unidirectional-new-file now allow comparisons to "-".
  A standard input that's closed acts like a nonexistent file.

  A file name containing spaces, double quotes, backslashes or control
  characters is now encoded in a diff header as a double-quoted C string
  literal.  The escape sequences \\, \", \a, \b, \f, \n, \r, \t, \v and
  \ooo (a three-digit octal number between 0 and 255) are used.

** Packaging

  diffutils is now designed to build with Cygwin or MinGW rather than DJGPP.
  The ms subdirectory has been removed.


=====================================
Changes in diffutils since v3.2:

Andreas Gruenbacher (1):
      diff: encode file names with special characters

Bruno Haible (1):
      New option --no-dereference.

Claudio Bley (1):
      portability: use SET_BINARY rather than xfreopen (NULL, ...

Eric Blake (2):
      usage: improve wording of --ignore-matching-lines
      build: default to --enable-gcc-warnings in a git tree

Jim Meyering (15):
      post-release administrivia
      build: update gnulib submodule to latest
      tests: use "compare exp out", not "compare out exp"
      build: stop distributing gzip'd releases;  xz is enough
      build: update to latest gnulib and adapt
      maint: update all copyright year number ranges
      maint: avoid new syntax-check failure
      build: accommodate newer bootstrap from gnulib
      maint: update bootstrap from gnulib
      diff: fix a typo that was always disabling the same_special_file macro
      maint: avoid new syntax-check failure due to @xref use
      build: update gnulib, bootstrap and init.sh to latest
      diff: avoid possible longjmp-triggered misbehavior
      maint: use xasprintf in place of xmalloc+sprintf
      build: update gnulib submodule to latest

Paul Eggert (14):
      build: update gnulib submodule to latest
      maint: quote 'like this' or "like this", not `like this'
      diff: -N, --unidirectional-new-file now compare to "-" too
      sdiff: remove dependency on sigprocmask
      doc: explain -I RE better in --help output
      build: update gnulib submodule to latest
      Use binary mode when testing for binary files.
      maint: m4/gnulib-cache.m4 is not under version control
      maint: update bootstrap from gnulib
      main: port subcommands to mingw
      maint: update bootstrap from gnulib
      maint: remove ms subdirectory
      diff: silence GCC warning instead of slowing down
      * doc/diffutils.texi (cmp Options): Document -l format better.

Stefano Lattarini (3):
      tests: make test runner a script, not a shell function
      tests: use more portable fd redirection in TESTS_ENVIRONMENT
      build: omit obsolete AM_PROG_CC_STDC macro


Changes in gnulib since v3.2:

* gnulib d1fa59e...04e49dd (1582):
  > maint.mk: rename a new configurable variable
  > autoupdate
  > maint.mk: let packages tweak sc_po_check pattern
  > autoupdate
  > euidaccess: speed up 'configure' on GNU hosts
  > * lib/regexec.c (re_search_internal): Fix grammar in comment.
  > fchmodat, fchownat, fstatat: port to non-inlining compilers
  > fchmodat.c, fchownat.c: fix compile-impeding typos
  > fcntl-h: support GNU flags like O_IGNORE_CTTY
  > faccessat, etc.: support AT_FDCWD-only use
  > faccessat: speed up 'configure' on mainstream hosts
  > faccessat: port to Solaris 10
  > canonicalize: fix C89 compilation
  > autoupdate
  > group-member: omit unnecessary dependencies
  > gethrxtime: port to C++
  > ptsname: fix macro-name typo
  > inttostr: Relax license.
  > ptsname_r: support ptys returned by FreeBSD posix_openpt
  > pselect: reject invalid file descriptors
  > select: reject invalid file descriptors
  > select: enhance test
  > ptsname: reject invalid file descriptors
  > hash-pjw-bare: new module
  > manywarnings: cater to more gcc infelicities
  > select, poll tests: Make setsockopt invocation effective.
  > sockets, sys_stat: restore AC_C_INLINE
  > localeconv tests: Avoid test failure on OpenIndiana.
  > havelib: Follow libtool developments.
  > ChangeLog: mention who reported the problem.
  > fstatat.c: fix a compile-impeding typo
  > extern-inline: provide a -Wundef safe config.h
  > hash-pjw: relax license to LGPLv2+
  > autoupdate
  > maint.mk: fix strict vs. lazy variable issues with RELEASE
  > maint.mk: formatting changes
  > maint.mk: provide "make upload" to ease uploading
  > maint.mk: factor the validation of RELEASE_TYPE
  > maint.mk: silent rules
  > localename: port gl_locale_name_thread_unsafe to FreeBSD
  > binary-io, eealloc, mbfile, mbiter, mbutil, xsize: better 'inline'
  > pipe-filter-gi, pipe-filter-ii: better use of 'inline'
  > fdutimensat: omit unnecessary AC_C_INLINE
  > fchmodat, fchownat, fstatat: use extern-inline
  > acl, mbchar, priv-set: use extern-inline
  > sockets, sys_stat: remove AC_C_INLINE in MSVC-only cases
  > tls-tests: omit unnecessary 'inline'
  > utimens-tests: avoid unnecessary 'inline'
  > misc: don't limit commentary to inline functions
  > non-recursive-gnulib-prefix-hack: new module
  > ChangeLog: fix indentation
  > maint.mk: generalize _gl_tight_scope for non-recursive make
  > maint.mk: exempt trailing blanks found in "binary" files
  > maint.mk: sc_prohibit_path_max_allocation: don't FP for UNIX_PATH_MAX
  > maint.mk: teach sc_prohibit_magic_number_exit to accept 77
  > maint.mk: relax sc_prohibit_strcmp, to avoid a false positive
  > localcharset: work around Mac OS X bug with UTF-8 and MB_CUR_MAX
  > doc: document sticky-EOF issue
  > poll: fix poll(0, NULL, msec)
  > poll: fix for systems that can't recv() on a non-socket
  > poll/select: document portability problems not fixed by Gnulib.
  > update from texinfo
  > Fix typo in previous patch: 1 -> 4.
  > fcntl-h: check for AIX 7.1 bug with O_NOFOLLOW and O_CREAT
  > net_if: give more details about the bug being fixed
  > net_if: new module
  > readutmp: fix non-portable UT_PID use
  > update from texinfo
  > fts: reduce two or more trailing slashes to just one, usually
  > fts: when there is no risk of overlap, use memcpy, not memmove
  > autoupdate
  > autoupdate
  > manywarnings: update the list of "all" warnings
  > * lib/stdbool.in.h (_Bool) [__cplusplus]: bool, not _Bool.
  > stdbool: be more compatible with mixed C/C++ compiles
  > revert last change: it was not needed
  > tests: test-vc-list-files-git.sh: skip if git is not available
  > gnulib-tool: Remove no-op option --no-changelog.
  > autoupdate
  > doc: remove fdl-1.2.texi
  > execinfo: port to FreeBSD
  > xstrtol.h: avoid "_Noreturn is not at beginning of declaration" warning
  > doc: do not use @acronym
  > stdnoreturn: port to newer GCCs
  > pipe-filter: fix comment typo
  > execinfo: new module
  > extern-inline: support old GCC 'inline'
  > maint.mk: avoid redundant file name in message
  > timer-time: fix link order when static linking on glibc
  > timespec: omit unnecessary AC_C_INLINE
  > stat-time: omit unnecessary AC_C_INLINE
  > ignore-value: omit unnecessary AC_C_INLINE
  > sys_select: avoid 'static inline'
  > mktime: avoid 'static inline'
  > autoupdate
  > gnulib-tool: Improve coding style.
  > gnulib-tool: Fix indentation.
  > gnulib-tool: Remove old file names from .cvsignore, .gitignore.
  > test-parse-datetime: avoid glibc leap-second glitch
  > autoupdate
  > gnulib-tool: Fix indentation of generated gnulib-comp.m4 file.
  > ldexp: relax license
  > update from texinfo
  > gnulib-tool: Fix persistence of --witness-c-macro option.
  > count-leading-zeros: use a lookup table on non-gcc compilers
  > count-leading-zeros: new module
  > maintainer-makefile: Fix syntax error with dash.
  > extern-inline: also ignore -Wmissing-declarations
  > autoupdate
  > maint.mk: sc_prohibit_magic_number_exit: avoid new false positives
  > gnumakefile: better interaction with Automake-NG
  > base64: Use extern C scope in header file, for C++.
  > stat-time, timespec, u64: support naive out-of-dir builds
  > Fix typo: 'linline' -> 'inline' (thanks to Eric Blake).
  > Keep the extern-inline macros closer together.
  > Fix indenting.
  > utimens: use extern-inline
  > u64: use extern-inline
  > timespec: use extern-inline
  > stat-time: use extern-inline
  > extern-inline: new module
  > maint.mk: a "release-commit" wrapper to do-release-commit-and-tag
  > autoupdate
  > autoupdate
  > maint.mk: use silent-rules support from Automake
  > maint.mk: provide a web-manual-update target
  > README-release: shorten the circuit to post a news
  > gnu-web-doc-update: fix --help
  > passfd: fix comment on recvfd
  > maint.mk: avoid a sub-shell
  > maint.mk: absolute VPATH issue
  > update from texinfo
  > gitlog-to-changelog: fix previous change
  > gitlog-to-changelog: don't expect .git to be in $srcdir
  > maint.mk: absolute VPATH build fix
  > clean-temp: Fix memory leak.
  > maint: fix grammar in a ChangeLog entry
  > maint.mk: new rule: refresh-gnulib-patches
  > gnulib-tool: Fix handling of inctests variable.
  > getpass: Assume AC_CHECK_DECLS_ONCE invocation, like in getpass.m4.
  > verify: document conflict with -Wnested-externs
  > maint.mk: forbid exit(-1)
  > fsusage: port back to Solaris
  > gnu-web-doc-update: fix error messages
  > gnu-web-doc-update: check the requirements.
  > maint.mk: minor simplification.
  > gitlog-to-changelog: VPATH build issues.
  > fpending: Assume AC_CHECK_DECLS_ONCE invocation, like in fpending.m4.
  > pthread_sigmask: fix bug on FreeBSD 9
  > README-release: make it more legible
  > autoupdate
  > maint: require that each sc_... command start with "@"
  > maint.mk: add leading "@" to quiet new "make syntax-check" rule
  > autoupdate
  > maint.mk: new syntax check for HAVE_DECL checks
  > argp: make HAVE_DECL usage consistent
  > stat-time: relax license to LGPLv2+
  > strndup: fix m4 usage error
  > maint: enable the sc_avoid_if_before_free syntax-check rule
  > gettext: do not assume '#define ... defined ...' behavior
  > getloadavg: clean out old Emacs and Autoconf cruft
  > bootstrap: let warn be like tests/init.sh's warn_
  > getopt: Simplify after Emacs changed.
  > maint.mk: add sc_vulnerable_makefile_CVE-2012-3386
  > maint.mk: _sc_search_regexp, sc_vulnerable_makefile_CVE-2009-4029: fix
  > getloadavg, getopt: fix commentary re configure.in
  > timespec: mark functions with const attributes
  > canonicalize[-lgpl]: handle "guessing" values when cross-building
  > canonicalize: make the right guess when cross-compiling to GNU
  > update from texinfo
  > timespec-sub: avoid duplicate include
  > bootstrap: use a more consistent error reporting scheme
  > sys_time: allow too-wide tv_sec
  > pthread: check for both pthread_create and pthread_join
  > parse-datetime: doc tuneup
  > do-release-commit-and-tag: fix the previous commit
  > do-release-commit-and-tag: fix typo
  > pthread: check for pthread_create, not pthread_join
  > parse-datetime: fix failure to diagnose invalid input
  > bootstrap: do not require now-removed build-aux/missing
  > alloca: add support for HP NonStop TNS/E native
  > fsusage: remove code not needed on non GNU/Linux systems.
  > fsusage: include files needed for glibc 2.6 fallback
  > fsusage: avoid needless check on GNU/Linux
  > log: Fix an autoconf >= 2.64 warning.
  > autoupdate
  > autoupdate
  > log10f: Fix possible configuration problem.
  > Fix typo in ChangeLog entry.
  > remove: No longer override on all platforms. Fixes bug from 2012-03-20.
  > config: drop scripts that automake says are not independent
  > root-uid: new module
  > regex: use locale-independent comparison for codeset name
  > getopt-posix: No longer guarantee that option processing is resettable.
  > argp, regex: Ensure strcasecmp gets declared.
  > autoupdate
  > ptsname_r: Fix typo in last commit.
  > ptsname_r: Make it consistent with ptsname on AIX.
  > ptsname_r: Make it consistent with ptsname on OSF/1.
  > ttyname_r: Fix result on OSF/1, Solaris.
  > ptsname_r: Add support for Solaris.
  > ptsname_r: Fix test failure on native Windows.
  > ptsname_r: Fix test failures on IRIX, Solaris.
  > ptsname test: Extend test.
  > time: fix obsolete comment
  > getopt-gnu: Handle suboptimal getopt_long's abbreviation handling.
  > time_r: fix typo that always overrode localtime_r decl
  > Write "Mac OS X" instead of "MacOS X".
  > grantpt: Relax requirement regarding invalid file descriptors.
  > fbufmode test: Don't test unportable behaviour.
  > gnulib-tool: Refactor inctests variable.
  > gnulib-tool: --create-[mega]testdir, --[mega]test implies --with-tests.
  > parse-duration test: Avoid spurious output.
  > testing: fix typo in here doc
  > maint: disable the strncpy prohibition
  > Fix misspellings in comments.
  > nonblocking: Avoid compilation error on mingw64.
  > Do use readlink if available
  > posixtm-tests: port to buggy compiler
  > mktime: fix integer overflow in 'configure'-time test
  > tmpfile, clean-temp: Fix invocation of GetVersionEx.
  > fdopen: Allow implementations that don't reject invalid fd arguments.
  > parse-duration: Make self-test build on its own.
  > autoupdate
  > init.sh: do not rely on autoupated PWD
  > stat, fstat: Avoid warnings on mingw64.
  > stdioext: Add support for musl libc.
  > *printf-posix: Put more info into config.log.
  > getopt-gnu: Fix exit code overflow in autoconf test.
  > maint.mk: fix typo in code to derive GPG key at release time
  > regex: avoid warning when pointers are not long
  > dummy: Relicense into the public domain.
  > autoupdate
  > announce-gen: VPATH issues
  > gnu-web-doc-update: VPATH builds
  > autoupdate
  > maint.mk: revert most of the previous change re "all these"
  > autoupdate missed x bit
  > do not ask for gpg pw with --dry-run
  > implement --replace for ftp-upload protocol v1.2
  > parse-duration: Relicense under LGPLv2+.
  > maint.mk: prohibit common grammar error: "all these"
  > do-release-commit-and-tag: support VPATH builds
  > readme-release: also require announce-gen and maintainer-makefile
  > maint.mk: fix VPATH issues.
  > readme-release: require the promoted modules.
  > update from texinfo
  > error, strerror-override: Support mingw64 from Fedora 17.
  > error, strerror-override: Support mingw64 from Fedora 17.
  > error, strerror-override: Support new errno values from POSIX:2008.
  > autoupdate
  > savewd: add missing dependency on sys_wait module
  > system-quote-tests: port to CentOS 5
  > maint: fix typos in comments and ChangeLog
  > autoupdate
  > manywarnings: remove duplicate -Wmultichar entry
  > do not sync mktime.c from libc, last one left, not worth it
  > autoupdate
  > regex: don't assume uint64_t or uint32_t
  > * lib/mktime.c: Revert autoupdate, which fetched the wrong version.
  > maint.mk: add strncpy-prohibiting syntax-check rule
  > autoupdate
  > maint.mk: compute $(gpg_key_ID) more portably
  > mktime: sync from glibc
  > announce-gen: du -h is more portable than du --human
  > announce-gen: improve getopt-emitted diagnostics
  > maint.mk: gpg_key_ID: use sed more portably
  > gitlog-to-changelog: support the log message format used in Bison.
  > Revert "Revert "select: Fix build error on IRIX 6.5.""
  > Revert "select: Fix build error on IRIX 6.5."
  > Revert "strdup: undeprecate, IRIX 6.5 needs it"
  > poll/select: prevent busy-waiting
  > strdup: undeprecate, IRIX 6.5 needs it
  > select: Fix build error on IRIX 6.5.
  > autoupdate
  > Fix ChangeLog entry in last commit (silent change).
  > gc: fix libgcrypt detection on older machines.
  > autoupdate
  > crypto: fix bug in large buffer handling
  > crypto: fix bug in large buffer handling
  > crypto: fix bug in large buffer handling
  > autoupdate
  > update from texinfo
  > fsusage: fix block size returned on older Linux 2.6
  > autoupdate
  > bootstrap: suppress stderr chatter
  > bootstrap: .gitignore files created by autopoint, libtool
  > autoupdate
  > ignore-value.h: remove unused _GL_ATTRIBUTE_DEPRECATED definition
  > binary-io: Define set_binary_mode function.
  > bootstrap: take advantage of POSIX shell features
  > system-quote: Add more comments.
  > sh-quote, system-quote: Add comments about wildcards.
  > fsusage: check for GNU/Linux statvfs problem dynamically
  > system-quote, execute, spawn-pipe: Escape '?' on Windows.
  > _Noreturn: port config.h to gcc -Wundef
  > system-quote: Refactor.
  > execute, spawn-pipe: Escape '*' characters in arguments on Windows.
  > Tests for module 'system-quote'.
  > New module 'system-quote'.
  > sh-quote: Make C++ safe and allow multiple inclusion.
  > sh-quote tests: Make tests stricter.
  > warnings.m4: provide a means to specify the program to compile.
  > doc: recommendations on gettext version
  > init.sh: explain why $EXEEXT support uses aliases rather than functions
  > init.sh: don't let bash aliases interfere with tests
  > stdint: be more consistent with glibc, SunOS libc
  > isatty: relax license to LGPLv2+
  > stat-size: comment fix
  > Tests for module 'sh-quote'.
  > sh-quote: Improve shell_quote_argv's signature.
  > stdint: document issues with int_fast8_t etc.
  > nanosleep: Fix typo in comment.
  > nanosleep: Avoid guessing wrong when cross-compiling to Linux.
  > link-follow: Avoid guessing wrong when cross-compiling to glibc/Linux.
  > tzset: Avoid guessing wrong when cross-compiling to glibc systems.
  > d-ino: Avoid guessing "no" when cross-compiling to glibc/Linux systems.
  > fseeko-tests, ftello-tests: Avoid "guessing no" when cross-compiling.
  > signbit: Avoid "guessing no" when cross-compiling to glibc systems.
  > strerror: Avoid "guessing no" when cross-compiling to glibc systems.
  > canonicalize[-lgpl]: Avoid "guessing no" when cross-compiling to glibc.
  > gettimeofday: Avoid bad guess when cross-compiling to glibc systems.
  > Tweak last commit.
  > unistd_h: make it easier to avoid sys_types_h
  > lstat: Avoid "guessing no" when cross-compiling to glibc systems.
  > *alloc-gnu, eealloc: Avoid "guessing no" when cross-compiling to glibc.
  > getgroups: Avoid "guessing no" when cross-compiling to glibc systems.
  > chown: Avoid "guessing no" when cross-compiling to glibc systems.
  > Simplify last commit.
  > Avoid "guessing no" guesses when cross-compiling to glibc systems.
  > Say "guessing yes" or "guessing no" when cross-compiling.
  > relocatable-prog: Enable ELF ORIGIN trick also on GNU/kFreeBSD.
  > gnulib-tool: Remove transitional code.
  > getcwd: Fix misindentation.
  > exclude: process exclude and include directives in order
  > exclude: handle wildcards with FNM_NOESCAPE and with trailing \
  > _Noreturn: future-proof non-GNU and non-MSVC compilers
  > exclude: handle wildcards with FNM_EXTMATCH
  > gnulib-tool: Fix list of authors.
  > bootstrap: support Automake-NG in $buildreq
  > bootstrap: only force latest Makefile.in.in for gettext module
  > doc: Mention reason for replacement on glibc/Linux systems.
  > pwrite: Don't replace on all platforms.
  > rint* tests: Avoid gcc warnings.
  > users.txt: Update.
  > Large File Support for native Windows platforms.
  > bootstrap: accommodate older libtool
  > autoupdate
  > announce-gen: avoid failure due to lack of Digest::SHA1
  > bootstrap: don't let a user's CDPATH setting affect this script
  > maint: indent ChangeLog entries with TAB, not 8 spaces
  > maint.mk: expand syntax-check rule to catch @xref and @pxref abuse
  > bootstrap: really use gnulib's po/Makefile.in.in
  > configmake: correct minor inconsistency in Makefile rule
  > bootstrap: use gnulib's po/Makefile.in.in, not the one from gettext
  > Fix recursion of install-* into po directories.
  > maint: avoid spurious "make sc_maint" failure
  > lseek: Make configure test independent of environment.
  > autoupdate
  > stat: Bypass buggy override in mingw64.
  > pathmax: Fix compilation error on MSVC 9.
  > README: document pointer comparison assumption
  > Tests for module 'getrusage'.
  > New module 'getrusage'.
  > Tests for module 'sys_resource'.
  > New module 'sys_resource'.
  > ioctl: Fix compilation error on mingw.
  > autoupdate
  > update from texinfo
  > regex: correct #pragma guard expression
  > regex: remove unnecessary type punning
  > Tests for module 'ilogbl'.
  > New module 'ilogbl'.
  > Tests for module 'ilogbf'.
  > New module 'ilogbf'.
  > Tests for module 'ilogb'.
  > New module 'ilogb'.
  > math: Provide FP_ILOGB0 and FP_ILOGBNAN.
  > Tests for module 'logbl-ieee'.
  > New module 'logbl-ieee'.
  > Tests for module 'logb-ieee'.
  > New module 'logb-ieee'.
  > Tests for module 'logbf-ieee'.
  > New module 'logbf-ieee'.
  > Tests for module 'logbl'.
  > New module 'logbl'.
  > Tests for module 'logbf'.
  > New module 'logbf'.
  > logb tests: More tests.
  > logb: Provide replacement and workarounds.
  > log10* tests: Speed up.
  > logf-ieee: Fix test whether logf works.
  > log10l: Work around log10l-ieee test failure on IRIX 6.5.
  > log10f-ieee: Work around test failure on NetBSD 5.1.
  > log10f-ieee: Work around test failure on Solaris 9.
  > log10-ieee: Work around test failure on NetBSD 5.1 and Solaris 11.
  > Tests for module 'log10l-ieee'.
  > New module 'log10l-ieee'.
  > Tests for module 'log10-ieee'.
  > New module 'log10-ieee'.
  > Tests for module 'log10f-ieee'.
  > New module 'log10f-ieee'.
  > log10l: Work around AIX 5.1, IRIX 6.5, OSF/1 5.1 bug.
  > log10f: Work around OSF/1 5.1 bug.
  > log10: Work around OSF/1 5.1 bug.
  > log10l tests: More tests.
  > log10f tests: More tests.
  > log10 tests: More tests.
  > Fix typo in ChangeLog entry.
  > fflush: Fix syntax error.
  > regex: pacify GCC when compiling GRUB
  > update from texinfo
  > warnings.m4: fix errors.
  > stdio: don't assume gets any more
  > maint.mk: fix syntax checks without exclusions
  > strerror_r: avoid compiler warning
  > fflush: avoid compiler warning
  > warnings.m4: check the compiler, not the preprocessor
  > autoupdate
  > Tests for module 'localeconv'.
  > New module 'localeconv'.
  > locale: Provide a complete 'struct lconv'.
  > locale: Provide a complete 'struct lconv' on Solaris 10, 11.
  > locale: Provide a working 'struct lconv'.
  > Enable common subexpression optimization in GCC.
  > Enable common subexpression optimization in GCC.
  > gnulib-tool: Avoid unintended error output from 'cmp'.
  > gnulib-tool: fix imprecise comments w.r.t. an automake bug
  > autoupdate
  > announce-gen: use Digest::SHA when possible
  > tests: avoid gcc warnings about argv vs. const initializers
  > README-release: simplify slightly
  > git-merge-changelog: add specific example on how to use with hg.
  > git-merge-changelog: Report bugs to bug-gnulib@gnu.org.
  > git-version-gen: don't let "prefix" envvar cause trouble
  > regex: diagnose too-large repeat counts in EREs
  > doc: some glibc x32 integer width issues
  > autoupdate
  > fmal: Avoid test failure on OpenBSD 5.1/SPARC64.
  > hypotl: Bypass broken implementation in OpenBSD 5.1/SPARC.
  > remainderl: Bypass broken implementation in OpenBSD 5.1/SPARC.
  > Oops, fix regression on AIX through recent commit.
  > Oops, fix cross-compilation guess in recent commits.
  > sqrtl: Bypass broken implementation in OpenBSD 5.1/SPARC.
  > doc: update timer_* platform portability notes
  > cbrtl: Bypass broken implementation in OpenBSD 5.1/SPARC.
  > remainderl: Avoid compilation error on AIX >= 5.2.
  > Avoid compilation errors with MSVC option -fp:strict.
  > uninorm: Don't crash in out-of-memory conditions.
  > quote: fix syntax-check
  > Collapse list of copyright years to ranges.  See <https://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00051.html>.
  > log2f-ieee: Work around test failure on NetBSD 5.1 and Solaris 10.
  > log2-ieee: Work around test failure on NetBSD 5.1 and Solaris 10.
  > Tests for module 'log2l-ieee'.
  > New module 'log2l-ieee'.
  > Tests for module 'log2-ieee'.
  > New module 'log2-ieee'.
  > Tests for module 'log2f-ieee'.
  > New module 'log2f-ieee'.
  > Tests for module 'log2l'.
  > New module 'log2l'.
  > Tests for module 'log2f'.
  > New module 'log2f'.
  > Tests for module 'log2'.
  > New module 'log2'.
  > exp2* tests: More tests.
  > update from texinfo
  > autoupdate
  > log1p* tests: Reduce running time of tests.
  > log1pl-ieee: Work around test failure on AIX 7.1.
  > log1pl-ieee: Work around test failure on IRIX 6.5.
  > log1pf-ieee: Work around test failure on OpenBSD 4.9 and AIX 7.1.
  > log1pf-ieee: Work around test failure on AIX 5.1 and HP-UX 11.
  > log1p-ieee: Work around test failure on AIX 7.1 and HP-UX 11.
  > Tests for module 'log1pl-ieee'.
  > New module 'log1pl-ieee'.
  > Tests for module 'log1p-ieee'.
  > New module 'log1p-ieee'.
  > Tests for module 'log1pf-ieee'.
  > New module 'log1pf-ieee'.
  > Tests for module 'log1pl'.
  > New module 'log1pl'.
  > Tests for module 'log1pf'.
  > New module 'log1pf'.
  > log1p tests: More tests.
  > log1p: Provide replacement for Minix and MSVC.
  > expm1: Tiny doc fix.
  > math tests: Small simplification.
  > log tests: Add a comment.
  > Fix some comments.
  > regex: allow inclusion of <regex.h> before <limits.h>
  > fts: depend on fdopendir
  > Remove unused variables.
  > isnanf-nolibm: Fix last commit.
  > isnanf-nolibm: Make it work on IRIX 6.5 with cc.
  > logf-ieee: Work around test failure on NetBSD 5.1.
  > logf-ieee: Work around test failure on Solaris 9.
  > log-ieee: Work around test failure on NetBSD 5.1 and Solaris 11.
  > Tests for module 'logl-ieee'.
  > New module 'logl-ieee'.
  > Tests for module 'log-ieee'.
  > New module 'log-ieee'.
  > Tests for module 'logf-ieee'.
  > New module 'logf-ieee'.
  > log: Fix bug introduced on 2012-03-09.
  > timer-time: link explicitly with pthreads on glibc
  > log* tests: More tests.
  > logl: Work around OSF/1 5.1 bug.
  > logf: Work around OSF/1 5.1 bug.
  > log: Work around OSF/1 5.1 bug.
  > readtokens.c: adjust wording in a comment
  > modechange: add notations +40, 00440, etc.
  > exp2l-ieee: Work around test failure on OpenBSD 4.9 and IRIX 6.5.
  > Tests for module 'exp2l-ieee'.
  > New module 'exp2l-ieee'.
  > Tests for module 'exp2-ieee'.
  > New module 'exp2-ieee'.
  > Tests for module 'exp2f-ieee'.
  > New module 'exp2f-ieee'.
  > Tests for module 'exp2l'.
  > New module 'exp2l'.
  > Tests for module 'exp2f'.
  > New module 'exp2f'.
  > Tests for module 'exp2'.
  > New module 'exp2'.
  > savedir: fix comment typo
  > test-readtokens.c: use const; remove unwarranted cast
  > autoupdate
  > fmal: Avoid compilation error on AIX.
  > fma, fmaf, fmal: Override undeclared system functions on IRIX 6.5.
  > remainderf: Override buggy system function on IRIX 6.5.
  > test-readtokens.c: avoid const-related compilation warnings
  > frexp-nolibm, frexpl-nolibm tests: Fix bug introduced on 2012-03-03.
  > expm1l: Avoid compilation error on AIX.
  > expm1l: Don't override undeclared system function on IRIX 6.5.
  > remainderl: Don't override undeclared system function on IRIX 6.5.
  > rintf: Don't override undeclared system function on IRIX 6.5.
  > roundl: Avoid compilation error on AIX.
  > roundl: Don't override undeclared system function on IRIX 6.5.
  > roundf: Don't override undeclared system function on IRIX 6.5.
  > round: Don't override undeclared system function on IRIX 6.5.
  > copysignf: Don't override undeclared system function on IRIX 6.5.
  > readtokens: add tests
  > quotearg: the module must now include quote.h
  > readtokens: avoid core dumps with unusual calling patterns
  > quote: Adhere to common module description layout.
  > quote: fuse into quotearg
  > Tests for module 'expm1l-ieee'.
  > New module 'expm1l-ieee'.
  > Tests for module 'expm1f-ieee'.
  > New module 'expm1f-ieee'.
  > Tests for module 'expm1-ieee'.
  > New module 'expm1-ieee'.
  > Work around expm1f bug on IRIX 6.5.
  > Tests for module 'expm1l'.
  > New module 'expm1l'.
  > Tests for module 'expm1f'.
  > New module 'expm1f'.
  > Tests for module 'expm1'.
  > New module 'expm1'.
  > math: Ensure declarations of math functions.
  > math: Update module names in warnings.
  > expl: Simplify computation.
  > exp* tests: More tests.
  > expl: Fix precision of computed result.
  > cbrt* tests: More tests.
  > hypot* tests: More tests.
  > fpucw: Doc about FreeBSD.
  > sqrt* tests: Rename local variable.
  > sqrt* tests: More tests.
  > sqrt* tests: More tests.
  > remainder* tests: More tests.
  > remainder, remainderf, remainderl: Fix computation for large quotients.
  > fmodl: Fix last commit.
  > fmod* tests: More tests.
  > fmod, fmodl: Fix computation for large quotients x / y.
  > fmod* tests: More tests.
  > rint* tests: More tests.
  > modf* tests: More tests.
  > fabs* tests: More tests.
  > ldexp* tests: More tests.
  > frexp* tests: More tests.
  > Support for pseudo-random numbers in tests.
  > frexp* tests: Refactor.
  > maint: don't specify XZ_OPT=-9ev in dist-related rule
  > autoupdate
  > maint.mk: allow announcement for non-gnulib project
  > maint.mk: avoid spurious failure of _sc_search_regexp-using tests
  > maint.mk: add per-line exclusions to prohibitions
  > Tests for module 'expl-ieee'.
  > New module 'expl-ieee'.
  > Tests for module 'exp-ieee'.
  > New module 'exp-ieee'.
  > Tests for module 'expf-ieee'.
  > New module 'expf-ieee'.
  > cbrtl-ieee: Work around test failure on IRIX 6.5.
  > Tests for module 'cbrtl-ieee'.
  > New module 'cbrtl-ieee'.
  > Tests for module 'cbrt-ieee'.
  > New module 'cbrt-ieee'.
  > Tests for module 'cbrtf-ieee'.
  > New module 'cbrtf-ieee'.
  > cbrtf: Work around bug in IRIX 6.5 system function.
  > Tests for module 'cbrtl'.
  > New module 'cbrtl'.
  > Tests for module 'cbrtf'.
  > New module 'cbrtf'.
  > cbrt: Provide replacement on MSVC and Minix.
  > hypotl-ieee: Work around test failure on OSF/1 and native Windows.
  > hypotf-ieee: Work around test failure on OSF/1 and native Windows.
  > hypot-ieee: Work around test failure on OSF/1 and native Windows.
  > Tests for module 'hypotl-ieee'.
  > New module 'hypotl-ieee'.
  > Tests for module 'hypot-ieee'.
  > New module 'hypot-ieee'.
  > Tests for module 'hypotf-ieee'.
  > New module 'hypotf-ieee'.
  > Remove unused variables.
  > termios: fix pid_t always, not just for tcgetsid
  > update from texinfo
  > Tests for module 'hypotl'.
  > New module 'hypotl'.
  > hypotf: Fix typo in comment.
  > tcgetsid: fix cygwin header bug
  > docs: update cygwin progress
  > Tests for module 'hypotf'.
  > New module 'hypotf'.
  > hypot: Prepare for hypotf module.
  > hypot tests: More tests.
  > math code: Add comments.
  > math: Ensure HUGE_VAL, HUGE_VALF, HUGE_VALL are defined.
  > doc: Move ISO C11 feature notes into POSIX chapters.
  > stdnoreturn: port to MSVC better
  > doc: Mention new glibc headers and functions.
  > Avoid compilation errors with MSVC option -fp:strict.
  > Tests for module 'sqrtl-ieee'.
  > New module 'sqrtl-ieee'.
  > Tests for module 'sqrt-ieee'.
  > New module 'sqrt-ieee'.
  > Tests for module 'sqrtf-ieee'.
  > New module 'sqrtf-ieee'.
  > remainderl-ieee: Work around test failure on OSF/1.
  > remainderf-ieee: Work around test failure on OSF/1.
  > remainder-ieee: Work around test failure on OSF/1.
  > Tests for module 'remainderl-ieee'.
  > New module 'remainderl-ieee'.
  > Tests for module 'remainder-ieee'.
  > New module 'remainder-ieee'.
  > Tests for module 'remainderf-ieee'.
  > New module 'remainderf-ieee'.
  > modff, modfl: Fix configure syntax error.
  > fmodl-ieee: Work around test failures on OSF/1, MSVC 9.
  > fmodf-ieee: Work around test failure on OSF/1.
  > fmodf-ieee: Work around test failure on MSVC 9.
  > fmod-ieee: Work around test failures on OSF/1, mingw.
  > fmodl-ieee: Fix test failures.
  > Tests for module 'fmodl-ieee'.
  > New module 'fmodl-ieee'.
  > Tests for module 'fmod-ieee'.
  > New module 'fmod-ieee'.
  > Tests for module 'fmodf-ieee'.
  > New module 'fmodf-ieee'.
  > Tests for module 'rintl-ieee'.
  > New module 'rintl-ieee'.
  > Tests for module 'rint-ieee'.
  > New module 'rint-ieee'.
  > Tests for module 'rintf-ieee'.
  > New module 'rintf-ieee'.
  > regex: re_search etc. should return -2 when memory exhausted
  > modfl-ieee: Work around test failures on IRIX, OSF/1, mingw.
  > modfl-ieee: Fix dependencies.
  > modfl-ieee: Fix test failures.
  > modff-ieee: Work around test failures on *BSD, IRIX, OSF/1, etc.
  > modf-ieee: Work around test failures on *BSD, IRIX, OSF/1, Cygwin.
  > Tests for module 'modfl-ieee'.
  > New module 'modfl-ieee'.
  > Tests for module 'modf-ieee'.
  > New module 'modf-ieee'.
  > Tests for module 'modff-ieee'.
  > New module 'modff-ieee'.
  > Tests for module 'fabsl-ieee'.
  > New module 'fabsl-ieee'.
  > Tests for module 'fabs-ieee'.
  > New module 'fabs-ieee'.
  > Tests for module 'fabsf-ieee'.
  > New module 'fabsf-ieee'.
  > fma*-ieee tests: Remove unneeded dependency.
  > Tests for module 'fmal-ieee'.
  > New module 'fmal-ieee'.
  > Tests for module 'fma-ieee'.
  > New module 'fma-ieee'.
  > Tests for module 'fmaf-ieee'.
  > New module 'fmaf-ieee'.
  > Tests for module 'ldexpl-ieee'.
  > New module 'ldexpl-ieee'.
  > Tests for module 'ldexp-ieee'.
  > New module 'ldexp-ieee'.
  > Tests for module 'ldexpf-ieee'.
  > New module 'ldexpf-ieee'.
  > Refactor frexp*-ieee tests.
  > More tests for modules frexpf-ieee, frexp-ieee, frexpl-ieee.
  > Tests for module 'frexpl-ieee'.
  > New module 'frexpl-ieee'.
  > Tests for module 'frexp-ieee'.
  > New module 'frexp-ieee'.
  > Tests for module 'frexpf-ieee'.
  > New module 'frexpf-ieee'.
  > roundl-ieee tests: More tests.
  > round-ieee tests: More tests.
  > roundf-ieee tests: More tests.
  > truncl-ieee tests: More tests.
  > trunc-ieee tests: More tests.
  > truncf-ieee tests: More tests.
  > ceill-ieee tests: More tests.
  > ceil-ieee tests: More tests.
  > ceilf-ieee tests: More tests.
  > floorl-ieee tests: More tests.
  > floor-ieee tests: More tests.
  > floorf-ieee tests: More tests.
  > fpieee: More comments.
  > Tests for module 'log10l'.
  > New module 'log10l'.
  > fmodl, remainder*: Avoid wrong results due to rounding errors.
  > Fix typo in recent ChangeLog entry.
  > Tests for module 'remainderl'.
  > New module 'remainderl'.
  > Tests for module 'remainderf'.
  > New module 'remainderf'.
  > remainder: Support for MSVC.
  > Tests for module 'fmodl'.
  > New module 'fmodl'.
  > Tests for module 'modfl'.
  > New module 'modfl'.
  > Tests for module 'fabsl'.
  > Tests for module 'fabsl'.
  > New module 'fabsl'.
  > fabs tests: More tests.
  > fabsf tests: More tests.
  > atanl: Provide function definition on MSVC.
  > acosl: Provide function definition on MSVC.
  > asinl: Provide function definition on MSVC.
  > tanl: Provide function definition on MSVC.
  > cosl: Provide function definition on MSVC.
  > sinl: Provide function definition on MSVC.
  > logl: Provide function definition on MSVC.
  > expl: Provide function definition on MSVC.
  > sqrtl: Provide function definition on MSVC.
  > ceill: Provide function definition on MSVC.
  > floorl: Provide function definition on MSVC.
  > ceilf: Provide function definition on MSVC.
  > floorf: Provide function definition on MSVC.
  > stdalign: @samp -> @code in doc for consistency
  > stdnoreturn: new module
  > regex: fix false multibyte matches in some regular expressions
  > maint.mk: tell sc_prohibit_strcmp to ding "0 == strcmp (...)", too
  > streq: Rename macro.
  > regex: fix typo in definition of MIN
  > acl: Don't use ACL_CNT and similar ops, since they are unreliable.
  > acl: Don't use GETACLCNT and similar ops, since they are unreliable.
  > acl: Fix endless loop on Solaris with vxfs.
  > acl: Fix copy-acl test failure on Solaris 11 2011-11.
  > acl: Update doc references.
  > Fix test failure in many locales on Solaris 11.
  > gnulib-tool: Improve usage message.
  > autoupdate
  > README-release: make it easier to execute commands
  > GNUmakefile: simplify detection of unconfigured trees
  > autoupdate
  > autoupdate
  > autoupdate
  > gnulib-tool: Doc fix.
  > bootstrap: don't exit 0 upon gnulib-tool failure
  > README-release: various improvements
  > autoupdate
  > maint: replace FSF snail-mail addresses with URLs
  > README-release: capitalize a word and split a line
  > fatal-signal: use C prototypes (with explicit void).
  > regex: spelling fix
  > regex: rely on stdint.h for SIZE_MAX
  > regex: merge glibc changes
  > maint.mk: also prohibit lower-case @var@
  > autoupdate
  > maint: spelling fixes
  > canonicalize: avoid uninitialized memory use
  > isatty: Fix test failure of ptsname_r on native Windows.
  > spawn-pipe tests: Fix a NULL program name in a diagnostic.
  > nonblocking-socket tests: Fix a NULL program name in a diagnostic.
  > nonblocking-pipe tests: Fix a NULL program name in a diagnostic.
  > canonicalize-lgpl: fix // handling
  > canonicalize: fix // handling
  > ioctl: Fix test failure on native Windows.
  > fsync: Avoid test failure on native Windows.
  > * lib/sys_select.in.h [OpenBSD]: When /usr/include/pthread.h is
  > sys_select: Avoid syntax error on OpenBSD 5.0.
  > get-rusage-as, get-rusage-data tests: Avoid test failure with gcc-4.7.
  > stdioext: Fix last commit.
  > stdioext: Add tentative support for Plan9.
  > file-has-acl: suppress a warning from gcc -Wsuggest-attribute=const
  > Spelling fixes.
  > typo
  > autoupdate
  > popen: Make more robust on Windows.
  > Fix date of recent ChangeLog entries.
  > pclose: Fix typo.
  > doc about getlogin_r, setstate.
  > poll tests: Make test more robust.
  > sys_stat: Fix support for mingw64 and MSVC.
  > wcwidth: Work around bug in UTF-8 locale on OpenBSD 5.0.
  > quotearg: Fix test failure on MacOS X 10.5.
  > maint.mk: sc_prohibit_canonicalize_without_use: avoid false positive
  > autoupdate
  > test-framework-sh: Fix test failure with AIX 7.1 diff.
  > strtoimax: eliminate need for stdint.h, inttypes.h checks
  > sys_time: Override 'struct timeval' on some native Windows platforms.
  > accept4, fcntl, socket modules: Avoid warnings on x86_64 mingw64.
  > fcntl: Avoid compilation error on native Windows.
  > select, poll, isatty: Avoid warnings on x86_64 mingw64.
  > doc: clarify README-release
  > maint.mk: use more readable (yet functionally equivalent) quoting
  > stdalign: relax _Alignof and tighten _Alignas test
  > stdalign: Document the last change.
  > Fix bug# typo in previous patch.
  > stdalign: check that alignof and offsetof are consistent
  > update-copyright: accept new option: UPDATE_COPYRIGHT_USE_INTERVALS=2
  > build-aux/ylwrap: restore x bit
  > pipe2: refine doc about thread-safety
  > posix_spawn_file_actions_addopen: Fix 2012-01-08 commit.
  > pipe2, assign4: document lack of thread-safety in replacement
  > malloca: Avoid warnings on x86_64 mingw64.
  > obstack: remove __STDC__ conditionals
  > havelib: Modern quoting.
  > stdint: Improve support for Android.
  > doc: omit trailing empty lines from INSTALL etc.
  > tests: avoid spurious warnings about gl_sockets_startup
  > locale-fr.m4: Fix for Android.
  > bootstrap: fail when bootstrap_post_import_hook fails
  > update from texinfo
  > maint: enable sc_trailing_blank
  > maint: enable sc_prohibit_openat_without_use
  > maint: enable sc_prohibit_cloexec_without_use
  > maint: enable sc_prohibit_intprops_without_use
  > maint: enable sc_prohibit_hash_pjw_without_use
  > maint: enable double-word-prohibiting rule
  > maint: remove empty lines at EOF, but excluding modules/*
  > maint: add framework to run syntax-check rules against gnulib sources
  > stdint: Add support for Android.
  > autoupdate
  > bootstrap: add bootstrap_post_import_hook
  > gitlog-to-changelog: don't use "no_"-prefixed variable name
  > gitlog-to-changelog: use "||", not "or" in expressions
  > gitlog-to-changelog: new option --no-cluster
  > maint: spell file systems with two words, not one
  > fix a typo
  > bootstrap: add a FIXME comment to ensure we eventually remove the hack
  > bootstrap: cater to autoconf 2.59
  > bootstrap: properly check for libtool
  > Improve support for MSVC 9.
  > gnupload: we hold the master copy of this script now
  > Fix module 'random'.
  > Tests for module 'random'.
  > New module 'random'.
  > autoupdate
  > random_r: Use common idioms.
  > random_r: Override incompatible API on AIX, OSF/1.
  > random_r: Support for MSVC 9.
  > inet_ntop: guard extra work by IF_LINT
  > strptime: fix regression on mingw
  > copy-file: add error-code-returning variant.
  > copy-file: Use 'quote' module consistently.
  > copy-file: Refactor.
  > acl: Export qcopy_acl.
  > acl: Rename a local variable.
  > acl: Align return values of copy_acl and qcopy_acl.
  > strptime: silence gcc warnings
  > inet_ntop: silence gcc warning
  > getloadavg test: skip the test on GNU/Linux without /proc mounted
  > regex: Avoid link error on MSVC 9.
  > doc: Mention --with-tests option.
  > users.txt: order package names lexicographically.
  > maint.mk: fix description in comment
  > ignore-value: remove deprecated ignore_ptr function
  > test-init.sh: avoid a subshell
  > setlocale tests: Avoid test failure on Solaris 11 2011-11.
  > posix_spawn_file_actions_addopen: Work around Solaris 11 2011-11 bug.
  > posix_spawn_file_actions_adddup2: Work around Solaris 11 2011-11 bug.
  > posix_spawn_file_actions_addclose: Work around Solaris 11 2011-11 bug.
  > doc: Update for Solaris 11 2011-11.
  > mktime: Avoid compilation error on Solaris 11.
  > doc: Small fix.
  > autoupdate
  > Add lgpl-3.0 module.
  > select.c: indent with spaces, not TABs
  > autoupdate
  > Add ChangeLog entries for last 3 commits.
  > quotearg: do not use grave accent for left quote
  > quotearg: fall back to Unicode single quotes in UTF-8 and GB-18030 locales
  > quotearg: fix Wikipedia link
  > Fix for mingw with MSVC9.
  > Talk about "native Windows API", not "Woe32".
  > argp: Avoid crash if translator uses % characters in a translation.
  > doc: add ChangeLog entry for previous change
  > doc: C11 and C++11 are now official
  > uc-is-grapheme-break tests: Tweak.
  > test-init.sh: correct the test for diff -u
  > doc: fix minor quoting issues, mostly with `
  > In commentary, do not use ` to quote.
  > Use ', not `, for quoting output.
  > strtoimax: Don't force a replacement on systems where intmax_t is int.
  > doc: Mention NetBSD bugs.
  > strtoumax tests: Enhance tests.
  > strtoimax: Work around AIX 5.1 bug.
  > inttypes: Modernize.
  > init.sh: don't waste a subshell just to redirect stderr
  > test-init.sh: avoid failure on HP-UX 11.00
  > Tests for module 'strtoull'.
  > Tests for module 'strtoll'.
  > Tests for module 'strtoul'.
  > Tests for module 'strtol'.
  > update from texinfo
  > autoupdate
  > test-init.sh: accommodate Solaris 5.10's different diff -u output
  > test-posixtm: don't assume signed integer wraparound
  > Spell out "Windows 9x" and "Windows XP".
  > test-vc-list-files-cvs.sh: remove obsolete comment
  > autoupdate
  > update from texinfo
  > Talk about "native Windows API", not "Win32".
  > isatty: Support for MSVC 9.
  > maint.mk: remove temporary transition aid from over 1.5 years ago
  > init.sh: do not try to accommodate compare arguments starting with "-"
  > Enhance tests for module 'isatty'.
  > New module 'isatty'.
  > canonicalize: Tweak 2011-12-29 commit.
  > gitlog-to-changelog: describe input syntax in --help output
  > gitlog-to-changelog: fix typo in --help: show backslash before email @
  > gitlog-to-changelog: don't malfunction when name contains %-directive
  > gitlog-to-changelog: Copyright-paperwork-exempt: yes == (tiny change)
  > test-framework-sh: init.sh: fix "make dist" failure
  > autoupdate
  > maint: update all copyright year number ranges
  > version-etc: update copyright year reported by --version
  > canonicalize: only stat() when required
  > doc: cover st_ino issues once; add OpenVMS etc.
  > same-inode: port to OpenVMS
  > canonicalize: fix references to stat() and lstat()
  > autoupdate
  > gitlog-to-changelog: remove a little duplication
  > canonicalize: add support for not resolving symlinks
  > autoupdate
  > update from texinfo
  > gitlog-to-changelog: do not clump multi-paragraph entries
  > update from texinfo
  > announce-gen: fix `cmd' typo in diagnostic
  > update from texinfo
  > autoupdate
  > test-framework-sh: distribute init.sh
  > autoupdate
  > maint: remove explicit Files: tests/init.sh; depend on test-framework-sh
  > test-framework-sh: add minimal tests of init.sh's compare function
  > test-framework-sh: new module
  > init.sh: do not emit simulated diff output to stderr
  > .gitignore: ignore gnulib.dvi and regex.info
  > init.sh: correct previous change
  > correct previous ChangeLog entry: s/set -x/set -e/
  > init.sh: avoid unwarranted test failure when using "set -x"
  > bootstrap: fix it to honor $ACLOCAL_FLAGS once again
  > bootstrap: remove some now-unneeded code
  > ftoastr: fix typo
  > README-release: fix punctuation
  > bootstrap: correct the recent buildreq change
  > build: let bootstrap resort to wget for downloading .po files
  > * m4/stdint.m4 (gl_STDINT_H): Finish up previous change.
  > stdint: don't assume C++11 when compiling with g++
  > alloca: protect comment from gnulib-tool
  > ChangeLog: fix encoding typo
  > localcharset: Use an absolute path in TESTS_ENVIRONMENT.
  > strftime-tests: also test nanoseconds
  > inttypes, stdint: add C++11 support
  > Fix ChangeLog typo in previous commit.
  > nonblocking tests: Fix test failure on Linux/MIPS.
  > argmatch: don't hard-code `' when listing valid option arguments
  > autoupdate
  > autoupdate
  > bootstrap: detect tools required by gnulib-tool
  > sethostname: Port to Windows platforms.
  > tests: Avoid spurious error message on platforms without mktemp program.
  > sethostname: Fix documentation.
  > gnulib-tool: Verify that the License field is present and non-empty.
  > sethostname tests: Fix link error on mingw.
  > sethostname tests: Fix compilation error on mingw.
  > sethostname tests: Avoid a gcc warning.
  > Tweak last commit.
  > Add a test suite for the sethostname module.
  > Tweak last commit.
  > Integrate the sethostname module into unistd
  > Tweak last commit.
  > Add a new sethostname module
  > Tweak last commit.
  > Split the HOST_NAME_MAX detection into a separate m4 macro
  > Fix module descriptions syntax.
  > stdalign: port to Clang 3.0
  > mktempd: silence dd usage
  > manywarnings: Don't mention gcc version in docstring.
  > hash: mark a few floating point constants with "f" suffix
  > float tests: Correct and re-enable assertion about LDBL_MIN_EXP.
  > Avoid subtracting two pointers that don't point into the same block.
  > maint.mk: add syntax check for use of compare from init.sh
  > manywarnings: drop -Wunsuffixed-float-constants
  > hash: mark compute_bucket_size with the pure attribute
  > quotearg, propername: correct pragma guard expression
  > propername: do not mark proper_name with the const attribute
  > propername: mark one more function as const
  > mark functions with const and pure attributes
  > Remove unused macros from !_LIBC code in glibc-borrowed files.
  > getcwd: Fix link error on MSVC 9.
  > Don't set REPLACE_FOO to 1 if HAVE_FOO is 0.
  > getcwd: Fix bug from 2011-08-17.
  > binary-io tests: Avoid test failure on mingw when libtool is used.
  > Fix conflict between two instantiations of module 'unistd'.
  > pagealign_alloc: Doc and comments.
  > test-update-copyright.sh: avoid false-positive failure
  > valgrind-tests.m4: Avoid breakage if valgrind on bash fails.
  > test-stdalign.c: comment out long double tests
  > init.sh: make "compare /dev/null FILE" output more readable
  > init.sh: work around OSF/1 5.1's mishandling of /dev/null
  > gnulib-common: Silence warnings against config.h code.
  > autoupdate
  > getcwd: Work around getcwd bug on AIX 5..7.
  > getcwd: Fix bug from 2009-09-10.
  > manywarnings: More warnings.
  > fma tests: Avoid shadowing local variables.
  > copysignf tests: Fix.
  > fma: Remove unused code.
  > sethostname: Fix doc about AIX.
  > sethostname: Mention more portability problems.
  > Depend on module fcntl-h when AT_FDCWD is used.
  > euidaccess: Update a comment.
  > openat: Fix file list.
  > fstatat: Simplify.
  > Ensure 'inline' can be used in tests/test-utimens-common.h.
  > hash: Don't refer to deprecated interfaces.
  > readline: Check for readline/history.h.
  > test-getcwd: disambiguate exit status
  > fstatat: fix configuration bug on mingw, OpenBSD 4, Solaris 8
  > hash: deprecate poorly-named hash_insert0: use hash_insert_if_absent
  > openat: avoid compilation failure due to lack of <errno.h> inclusion
  > * modules/getcwd (Depends-on): Add fdopendir.
  > modules/crypto/gc-*: simplify dependencies and fix stdalign.h bug
  > tests: factor out st_ctime-comparison code (a dozen uses)
  > test-getcwd: don't leave behind a confdir3/ directory upon interrupt
  > gitlog-to-changelog: support multi-author commits.
  > Fix some modules' file list.
  > maint.mk: fix tight-scope.mk generation in VPATH builds.
  > Silence successful tests that use 'compare' on AIX, HP-UX, Solaris.
  > Makefile: Tweak indentation.
  > Syntax check for copyright statements.
  > Fix for last commit.
  > git-version-gen: Add --prefix.
  > git-version: Improve command line handling.
  > revamp the other test-exclude?.sh scripts to use init.sh, too
  > test-exclude2.sh, test-exclude5.sh: fail if test-exclude fails
  > test-exclude: fix a typo
  > autoupdate
  > obstack: Fix compilation error on MSVC 9.
  > test-exclude: skip tests rather than failing on deficient systems
  > ptsname_r test: Avoid gcc warning on glibc systems.
  > ptsname_r: Avoid compilation error on OSF/1 5.1.
  > fstatat: Make cross-compilation guess succeed everywhere except on AIX.
  > ptsname_r tests: Fix bugs.
  > fstatat: work with cross-compilation
  > Improve MODULES.html output.
  > ptsname_r-tests: new test module
  > update from texinfo
  > ptsname_r: new module
  > announce-gen: be more concise when there's only one URL+tarball
  > openpty: provide a stub on mingw
  > raise: fix mingw handling of SIGPIPE
  > More conditional dependencies.
  > faccessat: Move AC_LIBOBJ invocation to module description.
  > faccessat: Simplify autoconf macro.
  > renameat: Fix dependencies.
  > mkfifoat: Fix module description.
  > fstatat: Remove unused dependency.
  > GNUmakefile: behave when Makefile is missing.
  > openat: Conditionalize dependencies.
  > maint.mk: extract GPG key ID without using a temporary file
  > grantpt: fix typo
  > maint.mk: silence new syntax check
  > Doc about floating-point and math API.
  > stdalign tests: Skip the test when compiled by Sun C.
  > ansi-c++-opt: Complete the 2011-06-05 change.
  > * doc/posix-headers/stdalign.texi (stdalign.h): Mention Sun review ID.
  > copysignl: Fix result for zero argument on HP-UX 11 with HP C.
  > update from texinfo
  > ldexp, ldexpf, ldexpl: Enhance tests.
  > math tests: Cosmetics.
  > fma*: Simplify test.
  > Tests for module 'fmal'.
  > New module 'fmal'.
  > Tests for module 'fmaf'.
  > New module 'fmaf'.
  > Tests for module 'fma'.
  > New module 'fma'.
  > Extend gl_MATHFUNC.
  > New modules 'at-internal', 'openat-h', split off from module 'openat'.
  > maint.mk: also prohibit inclusion of dirent.h without use
  > ldexpl tests: Avoid test failure on MSVC 9.
  > New modules 'at-internal', 'openat-h', split off from module 'openat'.
  > openat: Include <stdbool.h>.
  > fchownat, renameat, unlinkat: Fix dependencies.
  > openat: remove direct dependency on dirent
  > renameat: Optimize code size.
  > openat tests: Fix file list.
  > openat, fchmodat, fchownat, linkat, renameat: Fix dependencies.
  > at-func*.c: fix comments
  > New module 'mkdirat', split off from module 'openat'.
  > closedir: Avoid warning on mingw.
  > New module 'fstatat', split off from module 'openat'.
  > New module 'unlinkat', split off from module 'openat'.
  > New module 'fchmodat', split off from module 'openat'.
  > putenv: indent #definition of "environ" to placate cppi
  > gitlog-to-changelog: provide a ChangeLog-repair mechanism
  > gitlog-to-changelog: avoid an infloop
  > * MODULES.html.sh: Fix sed-script shell quoting and locale issues.
  > fchownat: Improve description.
  > * tests/test-stdalign.c (TEST_ALIGNMENT): Shrink back to 8.
  > Fix my old ChangeLog entry to properly cite Bruno's email.
  > alignof: Avoid collision with stdalign module.
  > New module 'fchownat', split off from module 'openat'.
  > stdalign: port better to MSVC and to Sun C 5.11
  > doc about some IRIX 5.3 problems.
  > gitlog-to-changelog: fix git-log invocation
  > gitlog-to-changelog: new option --append-dot
  > ffsl, ffsll: Avoid compilation error due to 'restrict'.
  > GNUmakefile: reenable "make syntax-check" for most projects
  > gitlog-to-changelog: treat a message with only blank lines as empty
  > test-parse-datetime.c: avoid new DST-related false positive test failure
  > autoupdate
  > fstat: Tweak documentation.
  > Update documentation regarding 'largefile' module.
  > maint.mk: don't maintain a second build-aux variable.
  > Adjust to Bruno's comments.
  > sys_socket: use stdalign, not alignof
  > crypto libraries: use stdalign
  > argp: use stdalign
  > stdalign-tests: new module
  > stdalign: new module
  > raise test: Avoid a test failure on Linux/MIPS.
  > nonblocking tests: Fix test failure on Linux/MIPS.
  > utimensat: Work around problem on Linux/hppa.
  > maint.mk: fix a bug in sc_prohibit_stddef_without_use
  > maint.mk: exempt ENODATA from a syntax-check rule
  > fts: close parent dir FD before returning from post-traversal fts_read
  > autoupdate
  > readme-release: improve safety of release prep instructions.
  > errno, strerror-override: Support for MSVC 10.
  > perror: Recognize when test program crashes.
  > perror: Fix indentation.
  > isfinite, isinf, isnan, signbit: Don't define as a macro in C++.
  > relocatable-prog-wrapper: Don't leave object files behind.
  > openpty, posix_openpt: Remove code duplication.
  > unlockpt: Detect invalid argument.
  > openpty: Avoid compilation error on AIX 6.1.
  > autoupdate
  > posix_openpt: Support for OpenBSD.
  > posix_openpt test: Coding style.
  > grantpt: Support --avoid=pt_chown.
  > posix_openpt: Fix autoconf macro.
  > openpty: Update comments.
  > openpty: relax license
  > pt_chown: use configmake to simplify build
  > ptsname and others: relax license
  > update from texinfo
  > posix_openpt: remove spurious #endif
  > maint.mk: Respect $(build_aux) in web-manual rule.
  > posix_openpt: Fix compilation error.
  > Support for old NeXTstep 3.3 frexp().
  > Support for old NeXTstep 3.3 sed.
  > Support for old NeXTstep 3.3 gcc.
  > posix_openpt: new module
  > xstrtoll: Fix compilation failure.
  > vasnprintf: Optimize bit search operation.
  > vasnprintf: Fix comments.
  > Tests for module 'integer_length_ll'.
  > New module 'integer_length_ll'.
  > Tests for module 'integer_length_l'.
  > New module 'integer_length_l'.
  > Tests for module 'integer_length'.
  > New module 'integer_length'.
  > popen: Fix dependency conditions.
  > perror: Fix autoconf test.
  > ffsl: Optimize on 64-bit platforms.
  > autoupdate
  > ffsl: Optimize on 32-bit platforms.
  > ffsl, ffsll: Optimize for GCC.
  > ffs, bcopy, memset: Support symbol renaming via config.h.
  > atanl: Simplify for platforms where 'long double' == 'double'.
  > acosl: Simplify for platforms where 'long double' == 'double'.
  > asinl: Simplify for platforms where 'long double' == 'double'.
  > tanl: Simplify for platforms where 'long double' == 'double'.
  > cosl: Simplify for platforms where 'long double' == 'double'.
  > sinl: Simplify for platforms where 'long double' == 'double'.
  > logl: Simplify for platforms where 'long double' == 'double'.
  > expl: Simplify for platforms where 'long double' == 'double'.
  > sqrtl: Simplify for platforms where 'long double' == 'double'.
  > ldexpl: Simplify for platforms where 'long double' == 'double'.
  > ffsll: set correct witness
  > printf-frexpl: Simplify for platforms where 'long double' == 'double'.
  > frexpl: Simplify for platforms where 'long double' == 'double'.
  > test-renameat: don't leave behind a temporary file
  > rint: Determine RINT_LIBM correctly on AIX 7.
  > mathfunc.m4: Refactor.
  > rintl: Simplify for platforms where 'long double' == 'double'.
  > roundl: Simplify for platforms where 'long double' == 'double'.
  > truncl: Simplify for platforms where 'long double' == 'double'.
  > ceill: Simplify for platforms where 'long double' == 'double'.
  > floorl: Simplify for platforms where 'long double' == 'double'.
  > rint: Fix ordering constraints.
  > copysignl: Simplify for platforms where 'long double' == 'double'.
  > Tests for module 'rintl'.
  > New module 'rintl'.
  > Tests for module 'rintf'.
  > New module 'rintf'.
  > rint: Support for MSVC.
  > rint tests: More tests.
  > autoupdate
  > Tests for module 'copysignl'.
  > New module 'copysignl'.
  > Tests for module 'copysignf'.
  > New module 'copysignf'.
  > Ensure that HAVE_* variables are set to 1 before they are set to 0.
  > poll: Make macro safer.
  > copysign: Provide replacement.
  > isinf: Ensure macro on AIX 5.1.
  > *printf-posix tests: Fix for platforms where 'long double' == 'double'.
  > *printf: Fix for platforms where 'long double' == 'double'.
  > isnanl[-nolibm]: Fix for platforms where 'long double' == 'double'.
  > isinf: Fix for platforms where 'long double' == 'double'.
  > isfinite: Fix for platforms where 'long double' == 'double'.
  > isfinite, isinf, isnan tests: Avoid syntax error on MSVC 9.
  > Tests for module 'tanhf'.
  > New module 'tanhf'.
  > tanh: Use a .m4 file.
  > Tests for module 'coshf'.
  > New module 'coshf'.
  > cosh: Use a .m4 file.
  > Tests for module 'sinhf'.
  > New module 'sinhf'.
  > sinh: Use a .m4 file.
  > Tests for module 'atan2f'.
  > New module 'atan2f'.
  > atan2: Use a .m4 file.
  > Tests for module 'atanf'.
  > New module 'atanf'.
  > atan: Use a .m4 file.
  > Tests for module 'acosf'.
  > New module 'acosf'.
  > acos: Use a .m4 file.
  > Tests for module 'asinf'.
  > New module 'asinf'.
  > asin: Use a .m4 file.
  > Tests for module 'tanf'.
  > New module 'tanf'.
  > tan: Use a .m4 file.
  > Tests for module 'cosf'.
  > New module 'cosf'.
  > cos: Use a .m4 file.
  > Tests for module 'sinf'.
  > New module 'sinf'.
  > sin: Use a .m4 file.
  > Tests for module 'powf'.
  > New module 'powf'.
  > pow: Use a .m4 file.
  > Tests for module 'log10f'.
  > New module 'log10f'.
  > log10: Use a .m4 file.
  > Tests for module 'logf'.
  > New module 'logf'.
  > log: Use a .m4 file.
  > Tests for module 'expf'.
  > New module 'expf'.
  > exp: Use a .m4 file.
  > Tests for module 'sqrtf'.
  > New module 'sqrtf'.
  > Tests: Avoid link failures w.r.t. libintl.
  > pow tests: Defeat compiler optimizations.
  > gnulib-tool: Improve last commit.
  > gnulib-tool: don't follow dependencies to avoided modules
  > gnulib-tool: fix typo that broke Emacs on powerpc-apple-darwin9.8.0.
  > Fix documentation about math functions on MacOS X.
  > modff: Drop assumption about library that defines modff.
  > raise tests: Avoid a GCC warning.
  > Tests for module 'ldexpf'.
  > New module 'ldexpf'.
  > Tweak last commit.
  > frexpf: Work around problems on IRIX and mingw.
  > fabsf: Drop assumption about library that defines fabsf.
  > frexpf: Drop assumption about library that defines frexpf.
  > Tests for module 'frexpf'.
  > New module 'frexpf'.
  > math: Sort function declarations of math.in.h.
  > Tests for module 'modff'.
  > New module 'modff'.
  > modf tests: Make test sharper.
  > modf: Use a .m4 file.
  > Tweak new module 'fmodf'.
  > Tweak new module 'fmodf'.
  > Tests for module 'fmodf'.
  > New module 'fmodf'.
  > fmod: Use a .m4 file.
  > New module 'fabsf'.
  > Tests for module 'fabsf'.
  > New module 'fabsf'.
  > fabs: Use a .m4 file.
  > file-has-acl: revert both recent changes, 80af92af and 95f7c57f
  > file-has-acl: revert unintended change in behavior of ls -L
  > poll: Avoid link errors on MSVC.
  > sys_select tests: Fix link error on MSVC 9.
  > sys_select: Fix compilation error on mingw.
  > wmemset: Support for MSVC.
  > wmemmove: Support for MSVC.
  > wmemcpy: Support for MSVC.
  > wmemcmp: Support for MSVC.
  > wmemchr: Support for MSVC.
  > glthread/*, strsignal: Support for MSVC.
  > nonblocking tests: Fix test failure on OpenBSD/SPARC64.
  > acl: Fix specification.
  > relocatable-lib[-lgpl]: Avoid expensive /proc access on Linux, Cygwin.
  > autoupdate
  > maint.mk: adjust a release-related rule not to require use of gzip
  > test-linkat: don't leave behind a temporary file
  > float, math: add omitted file
  > isinf: Fix for OpenBSD/x86.
  > isfinite: Fix syntax error in configure test.
  > isfinite: Fix typo.
  > nonblocking tests: Fix test failure on Linux/IA-64.
  > mkfifoat tests: Fix a test failure on mingw.
  > float, math: Fix 'int' to 'long double' conversion on Linux/SPARC64.
  > nonblocking tests: Fix test failure on Linux/SPARC (32-bit and 64-bit).
  > gnulib-tool: Improve suggestion where to put gl_EARLY invocation.
  > Centralize C99 requirement.
  > float: Fix LDBL_MAX value on Linux/PowerPC.
  > Tweak last ChangeLog entry.
  > doc: Improve doc about gl_EARLY.
  > fgetc, fputc, fread, fwrite tests: Fix link error.
  > fputc, fwrite tests: Avoid test failure on MSVC.
  > raise: Fix double declaration with modules 'sigprocmask' and 'sigpipe'.
  > autoupdate
  > base64-tests: avoid memory leak
  > base32: new module
  > gnulib: use more-standard license notice wording
  > dup2: minor simplification
  > strings: Fix compilation error on MSVC.
  > fflush et al.: Document limitation on MSVC.
  > msvc-inval: Allow three invalid parameter handling modes.
  > msvc-inval: Make handler multithread-safe.
  > msvc-inval: Install handler globally.
  > strerror_r-posix: Fix for MSVC 9.
  > ftruncate: Support for MSVC 9.
  > New module 'fstat'.
  > linkat: Fix compilation on MSVC 9.
  > fclose: Support for MSVC 9.
  > dup2: minor simplifications
  > test-futimens: avoid a warning from gcc -Wshadow
  > fdopen: Support for MSVC 9.
  > fgetc, fputc, fread, fwrite tests: Avoid compilation error on MSVC.
  > dup: Simplify autoconf test.
  > Tests for function fwrite().
  > Tests for function fread().
  > Activate fputc tests.
  > Enhance fgetc, fputc tests.
  > write: Support for MSVC 9.
  > read: Fix last commit.
  > dup2: Fix last commit.
  > sigprocmask: Make code safer.
  > dup2: clarify by coalescing Windows-specific material
  > sigprocmask: move #include directive
  > read: Support for MSVC 9.
  > close: Support for MSVC 9.
  > msvc-nothrow: Avoid a compiler warning.
  > New module 'dup'.
  > getdtablesize: Support for MSVC 9.
  > signal-h: Rename from signal.
  > sigprocmask: Avoid crashes through signal() on MSVC 9.
  > Tests for module 'raise'.
  > raise: Support for MSVC.
  > pipe2: Fix compilation on pre-C99 compilers.
  > dup2: Fix typo in last commit.
  > New module 'msvc-nothrow'. Makes _get_osfhandle safe on MSVC 9.
  > dup2: Make code more maintainable.
  > msvc-inval: Fix compilation error.
  > update from texinfo
  > mkdir: Tweak for MSVC 9.
  > Tests for module 'chdir'.
  > New module 'chdir'.
  > rmdir: Support for mingw, MSVC 9.
  > getcwd: Tweak for MSVC 9.
  > strerror_r-posix: Avoid a link error on MSVC.
  > select: Avoid link errors on MSVC.
  > select: Avoid compilation error on MSVC.
  > Consolidate all uses of PATH_MAX in *.m4 files.
  > ftruncate: Un-deprecate, concentrate on Win32 support.
  > Add dependencies to new dirent related modules.
  > opendir: Avoid compilation error on mingw.
  > ftruncate tests: Avoid a test failure on mingw.
  > select tests: Avoid test failures on OSF/1 5.1 and mingw.
  > New module 'fdopen'.
  > unlockpt tests: Avoid test failure on NetBSD 5.1.
  > getlogin, getlogin_r tests: Avoid test failure on Linux/SPARC.
  > time tests: Don't require pid_t.
  > time tests: Don't require pid_t.
  > fsync tests: Avoid a test failure on mingw.
  > euidaccess: Update comments.
  > Ensure EBADF returns for socket functions on mingw.
  > select tests: EBADF tests.
  > Tests for module 'posix_spawn_file_actions_addopen.
  > Tests for module 'posix_spawn_file_actions_adddup2'.
  > Tests for module 'posix_spawn_file_actions_addclose'.
  > Tests for module 'unlockpt'.
  > Tests for module 'grantpt'.
  > freopen tests: EBADF tests.
  > fclose tests: EBADF tests.
  > fflush tests: EBADF tests.
  > ftello tests: EBADF tests.
  > fseeko tests: EBADF tests.
  > Tests for function fputc().
  > Tests for function fgetc().
  > Tests for function fdopen().
  > Tests for module 'vdprintf'.
  > Tests for module 'dprintf'.
  > Tests for module 'ioctl'.
  > fcntl tests: EBADF tests.
  > utimensat tests: EBADF tests.
  > renameat tests: EBADF tests.
  > mkfifoat tests: EBADF tests.
  > readlinkat tests: EBADF tests.
  > symlinkat tests: EBADF tests.
  > linkat tests: EBADF tests.
  > Tests for module 'faccessat'.
  > fdopendir tests: EBADF tests.
  > openat tests: EBADF tests.
  > utimens, futimens, fdutimensat tests: EBADF tests.
  > Tests for function fstat().
  > test-ttyname_r tests: EBADF tests.
  > Tests for module 'isatty'.
  > Tests for module 'write'.
  > Tests for module 'read'.
  > pwrite tests: EBADF tests.
  > pread tests: EBADF tests.
  > lseek tests: EBADF tests.
  > Tests for module 'ftruncate'.
  > fsync tests: EBADF tests.
  > fdatasync tests: EBADF tests.
  > Tests for module 'fchown'.
  > Tests for module 'fchmod'.
  > fchdir tests: EBADF tests.
  > dup2 tests: EBADF tests.
  > Tests for module 'dup'.
  > Tests for module 'close'.
  > Tests for module 'shutdown'.
  > Tests for module 'setsockopt'.
  > Tests for module 'sendto'.
  > Tests for module 'send'.
  > Tests for module 'recvfrom'.
  > Tests for module 'recv'.
  > Tests for module 'listen'.
  > Tests for module 'getsockopt'.
  > Tests for module 'getsockname'.
  > Tests for module 'getpeername'.
  > Tests for module 'connect'.
  > Tests for module 'bind'.
  > accept4 tests: Fix for native Windows.
  > accept tests: Fix for native Windows.
  > msvc-inval: Require a semicolon after DONE_MSVC_INVAL.
  > sched: Ensure pid_t is defined.
  > msvc-inval: Ensure the entire expansion is a single statement.
  > tests: use printf, not echo in init.sh's warn_ function
  > futimens: enhance test
  > date: accept 'hence' as opposite of 'ago'
  > getcwd: don't fail in a deep directory on a system without openat
  > maint.mk: avoid warnings from perl about missing files
  > * lib/stat.c: Move comment.
  > stat: use pathmax.h only if needed
  > utimens: remove dependency on dup2
  > inet_ntop, inet_pton: Look for it also in libresolv.
  > accept, accept4 tests: Avoid link error on Solaris.
  > accept4: Avoid link error on Solaris.
  > socket functions: Avoid link errors on Solaris.
  > ptsname tests: Let the test fail rather than hang (e.g. on AIX 5.1).
  > posix_spawn_file_actions_add*: Fix module dependencies.
  > rename, renameat tests: Avoid test failures on FreeBSD 6.4.
  > Tests for module 'accept4'.
  > accept tests: Fix last commit.
  > Tests for module 'accept'.
  > dup2: Support for MSVC.
  > New module 'msvc-inval'.
  > Tests for module 'pclose'.
  > New module 'pclose'.
  > popen: Support for MSVC.
  > isnanl, isnand, isnanf: Work around MSVC bug.
  > sys_socket tests: Fix recent mistake.
  > putenv: Support for MSVC.
  > math: Avoid macro redefinition warnings on MSVC.
  > doc: Mention functions which are declared as macros.
  > Add dependencies to new dirent related modules.
  > inet_pton: Fix mistake in last commit.
  > inet_pton: Support for MSVC on Windows Vista or newer.
  > inet_ntop: Support for MSVC on Windows Vista or newer.
  > test-fsync: yet another enhancement
  > Enhance fsync, fdatasync tests.
  > Fix last ChangeLog entry.
  > Support for MSVC compiler: Ensure mode_t gets defined.
  > sys_stat: Support for MSVC.
  > Support for MSVC compiler: Ensure off_t gets defined.
  > fdatasync: port to Solaris
  > fdatasync: port to MacOS X 10.7
  > fdatasync: minor improvements
  > unistd: update refs to newer POSIX
  > fdatasync: new module
  > test-fsync: enhance tests
  > Support for MSVC compiler: Ensure ssize_t gets defined.
  > Avoid using #, the m4 comment starter character, near brackets.
  > Properly quote AC_CHECK_DECLS' 4th argument.
  > Properly quote AC_CHECK_DECL's 4th argument.
  > opendir: avoid compile warning
  > maint.mk: sc_tight_scope: propagate failure from sub-make
  > tempname: Support for MSVC.
  > sys_time: Support for MSVC.
  > stat: Support for MSVC.
  > pathmax: Support for native Windows.
  > New modules 'opendir', 'readdir', 'rewinddir', 'closedir'.
  > asm-underscore.m4: Support for MSVC.
  > Expand range of versions of glibc for which _GNU_SOURCE is needed to get crypt.
  > doc: Update regarding MSVC 9.
  > unistd et al.: Don't assume <unistd.h> exists.
  > strcase: Support for MSVC.
  > strings: Don't assume <strings.h> exists.
  > dirent: Don't assume <dirent.h> exists.
  > Fix wint_t on MSVC.
  > sys_types: Fix typo.
  > autoupdate
  > Support for MSVC compiler: Ensure size_t gets defined.
  > C++ tests for module 'sys_types'.
  > Tests for module 'sys_types'.
  > New module 'sys_types'.
  > Support for MSVC compiler: Avoid division by a literal 0.
  > Ensure pid_t gets defined.
  > acl: Fix compilation on Solaris 10 (older version).
  > iconv, unsetenv: Add support for MSVC compiler.
  > *printf: Add support for MSVC compiler.
  > nocrash: Add support for native Windows.
  > absolute-header, include-next: Add support for MSVC compiler.
  > ChangeLog: change each leading sequence of 8 spaces to a TAB
  > maint.mk: mark the post-release commit log with "maint: " prefix
  > Doc about crypt functions.
  > gc: Fix copyright header.
  > pthread: Determine $(LIB_PTHREAD) correctly on OSF/1 5.1.
  > openat: Work around compilation error with OSF/1 5.1 DTK cc.
  > Revert last commit.
  > openat: Work around compilation error with OSF/1 5.1 DTK cc.
  > parse-datetime: document the newly accepted format
  > autoupdate
  > acl: Fix a test failure on newer Solaris 10 with ZFS.
  > acl: Update for AIX >= 5.3 with NFS.
  > acl: Fix a test failure on AIX >= 5.3 with NFS.
  > acl: Fix a test failure on IRIX 6.5 with NFS.
  > openat: port to AIX 7.1 with large files
  > acl: Avoid errors on NonStop Kernel.
  > acl: Clean up Solaris code.
  > acl: Fix a bug with NFSv4 ACLs on Solaris 10 (newer version).
  > acl: Improve support of NFSv4 ACLs on Solaris 10 (newer version).
  > copy-file: Try unit tests on more file systems.
  > acl: Try unit tests on more file systems.
  > acl: Remove unused code in last commit.
  > acl: Improve support of NFSv4 ACLs on Solaris 10 (newer version).
  > openat: test for fstatat (..., 0) bug
  > openat: test for fstatat (AT_FDCWD, ..., 0) bug
  > avoid literal : in index entries
  > Allow the user to override the choice of AR, ARFLAGS, RANLIB.
  > Find 'ar' program that fits with --host argument.
  > tests: init.sh: Support any non-GNU diff.
  > tests: init.sh: work also with any non-GNU diff that supports -u


From MAILER-DAEMON Tue Oct 30 11:49:23 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TTE4A-0007zj-Vb
	for mharc-bug-diffutils@gnu.org; Tue, 30 Oct 2012 11:49:22 -0400
Received: from eggs.gnu.org ([208.118.235.92]:53793)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1TTE45-0007uz-E4
	for bug-diffutils@gnu.org; Tue, 30 Oct 2012 11:49:21 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1TTE3z-0005nJ-5O
	for bug-diffutils@gnu.org; Tue, 30 Oct 2012 11:49:17 -0400
Received: from mx.meyering.net ([88.168.87.75]:43170)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1TTE3y-0005nF-UR
	for bug-diffutils@gnu.org; Tue, 30 Oct 2012 11:49:11 -0400
Received: from rho.meyering.net (rho [127.0.0.1])
	by rho.meyering.net (Acme Bit-Twister) with ESMTP id 07B16600EE;
	Tue, 30 Oct 2012 16:49:10 +0100 (CET)
From: Jim Meyering <jim@meyering.net>
To: Brandon Invergo <brandon@invergo.net>
In-Reply-To: <87y5ir2bvp.fsf@invergo.net> (Brandon Invergo's message of "Sun, 
	28 Oct 2012 10:18:18 +0100")
References: <87y5ir2bvp.fsf@invergo.net>
Date: Tue, 30 Oct 2012 16:49:10 +0100
Message-ID: <87k3u8dkp5.fsf@rho.meyering.net>
Lines: 22
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: 88.168.87.75
Cc: bug-diffutils@gnu.org
Subject: Re: [bug-diffutils] Build fails with recent glibc due to outdated
	gnulib
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, 30 Oct 2012 15:49:21 -0000

Brandon Invergo wrote:
> Building diffutils fails with recent versions of glibc (2.16+). The
> error occurs in files pulled in from gnulib:
>
> In file included from exclude.c:31:0:
> ./stdio.h:1012:1: error: 'gets' undeclared here (not in a function)
>   CC       hard-locale.o
> In file included from stdio-safer.h:20:0,
>                  from freopen-safer.c:22:
> ./stdio.h:1012:1: error: 'gets' undeclared here (not in a function)

Thanks for the report.
That's been fixed in diffutils.git for months,
so if you build from git, following these instructions,
it should work just fine:

    http://git.sv.gnu.org/cgit/diffutils.git/tree/README-hacking

But your mentioning this problem made me realize it's been
over a year since the last release, so I've just made a snapshot:

    http://thread.gmane.org/gmane.comp.gnu.diffutils.bugs/411


From MAILER-DAEMON Tue Oct 30 12:10:45 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TTEOr-0001xV-GY
	for mharc-bug-diffutils@gnu.org; Tue, 30 Oct 2012 12:10:45 -0400
Received: from eggs.gnu.org ([208.118.235.92]:52837)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <brandon@invergo.net>) id 1TTEOk-0001pp-BF
	for bug-diffutils@gnu.org; Tue, 30 Oct 2012 12:10:44 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <brandon@invergo.net>) id 1TTEOd-000479-Ic
	for bug-diffutils@gnu.org; Tue, 30 Oct 2012 12:10:38 -0400
Received: from caiajhbdcaib.dreamhost.com ([208.97.132.81]:53747
	helo=homiemail-a66.g.dreamhost.com)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <brandon@invergo.net>) id 1TTEOc-000445-KD
	for bug-diffutils@gnu.org; Tue, 30 Oct 2012 12:10:31 -0400
Received: from homiemail-a66.g.dreamhost.com (localhost [127.0.0.1])
	by homiemail-a66.g.dreamhost.com (Postfix) with ESMTP id 7AD5B35005B;
	Tue, 30 Oct 2012 09:10:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=invergo.net; h=from:to:cc
	:subject:in-reply-to:references:date:message-id:mime-version:
	content-type; s=invergo.net; bh=toW1mZ2+0dDnpcua/s8lpdQ6FKM=; b=
	XUpKbjt6Nfl4CDXjYFGSU84QgcgiFueQ/7ZUGfDaB+BVC1qDH2mkDWJQfKnAwOqp
	4fJOPSxt95VBfcspq0lAjXx65P2AD47GrA88KijmKnP9RzH+Ii4CtS9iZZePEgwJ
	fM8KdlpcdY8rqXwl/MNj1k316whzoPemgJV+Ep+rnyE=
Received: from localhost (nat-cmprbb-upf.upf.edu [193.145.39.133])
	(using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
	(No client certificate requested)
	(Authenticated sender: brandon@invergo.net)
	by homiemail-a66.g.dreamhost.com (Postfix) with ESMTPSA id DDCE435001C; 
	Tue, 30 Oct 2012 09:10:18 -0700 (PDT)
From: Brandon Invergo <brandon@invergo.net>
To: Jim Meyering <jim@meyering.net>
In-Reply-To: <87k3u8dkp5.fsf@rho.meyering.net>
References: <87y5ir2bvp.fsf@invergo.net> <87k3u8dkp5.fsf@rho.meyering.net>
User-Agent: Notmuch/0.14 (http://notmuchmail.org) Emacs/24.2.1
	(x86_64-unknown-linux-gnu)
Date: Tue, 30 Oct 2012 17:04:10 +0100
Message-ID: <87sj8wt091.fsf@invergo.net>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: Windows 98 (1)
X-Received-From: 208.97.132.81
Cc: bug-diffutils@gnu.org
Subject: Re: [bug-diffutils] Build fails with recent glibc due to outdated
	gnulib
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, 30 Oct 2012 16:10:44 -0000

> Thanks for the report.
> That's been fixed in diffutils.git for months,
> so if you build from git, following these instructions,
> it should work just fine:
>
>     http://git.sv.gnu.org/cgit/diffutils.git/tree/README-hacking

I failed to mention that I'm the maintainer of GSRC (GNU Source Release
Collection), which provides automated build scripts for all GNU
software. At the moment I only support building the official releases,
which is how I encountered this problem.

> But your mentioning this problem made me realize it's been
> over a year since the last release, so I've just made a snapshot:
>
>     http://thread.gmane.org/gmane.comp.gnu.diffutils.bugs/411

Nice, thanks!!

Cheers,
Brandon


From MAILER-DAEMON Tue Oct 30 14:33:10 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TTGcg-0004f9-QP
	for mharc-bug-diffutils@gnu.org; Tue, 30 Oct 2012 14:33:10 -0400
Received: from eggs.gnu.org ([208.118.235.92]:53736)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1TTGce-0004ex-25
	for bug-diffutils@gnu.org; Tue, 30 Oct 2012 14:33:09 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1TTGcS-0006XK-II
	for bug-diffutils@gnu.org; Tue, 30 Oct 2012 14:33:07 -0400
Received: from smtp.cs.ucla.edu ([131.179.128.62]:40515)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>)
	id 1TTGcS-0006Wv-9Z; Tue, 30 Oct 2012 14:32:56 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.cs.ucla.edu (Postfix) with ESMTP id 50A5DA6000C;
	Tue, 30 Oct 2012 11:32:55 -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 Rn0sBZH53crV; Tue, 30 Oct 2012 11:32:54 -0700 (PDT)
Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200])
	by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 5F3BBA60008;
	Tue, 30 Oct 2012 11:32:54 -0700 (PDT)
Message-ID: <50901D56.60805@cs.ucla.edu>
Date: Tue, 30 Oct 2012 11:32:54 -0700
From: Paul Eggert <eggert@cs.ucla.edu>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:16.0) Gecko/20121016 Thunderbird/16.0.1
MIME-Version: 1.0
To: Dagobert Michelsen <dam@opencsw.org>
References: <87mwz4dkxj.fsf@rho.meyering.net>
	<C0C78F64-58CB-437E-A4E7-A8969F63E1BF@opencsw.org>
In-Reply-To: <C0C78F64-58CB-437E-A4E7-A8969F63E1BF@opencsw.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, bug-gnulib@gnu.org
Subject: Re: [bug-diffutils] [platform-testers] new snapshot available:
	diffutils-3.2.37-f0b0
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, 30 Oct 2012 18:33:09 -0000

Thanks for the testing report.

I installed the following changes to gnulib, and they should propagate
to diffutils in due course.  The one to test-sh-quote
should fix your problem with lintl.  The one to test-raise.c
is a porting gotcha that may be independent of Solaris, but might
as well fix it now.

Unfortunately the stack traces that you sent do not provide enough
info for me to see what the problem is on Solaris 9 with test-raise
and with test-sigaction.  Perhaps you can try again, compiling with
-g and without -O, and get more info that way.  You can run
'./configure CFLAGS=-g; make clean; make; make check' to do that.

>From ced5dc5cac2827d80a02bc9f9015ad388ef0428a Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Tue, 30 Oct 2012 11:27:56 -0700
Subject: [PATCH 1/2] sh-quote-tests: port to Solaris 9

* modules/sh-quote-tests (test_sh_quote_LDADD): Add @LIBINTL@.
Problem reported by Dagobert Michelsen in
<http://lists.gnu.org/archive/html/bug-gnulib/2012-10/msg00114.html>.
---
 ChangeLog              | 7 +++++++
 modules/sh-quote-tests | 1 +
 2 files changed, 8 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index ea23e5a..0ab006c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-10-30  Paul Eggert  <eggert@cs.ucla.edu>
+
+	sh-quote-tests: port to Solaris 9
+	* modules/sh-quote-tests (test_sh_quote_LDADD): Add @LIBINTL@.
+	Problem reported by Dagobert Michelsen in
+	<http://lists.gnu.org/archive/html/bug-gnulib/2012-10/msg00114.html>.
+
 2012-10-28  Jim Meyering  <jim@meyering.net>
 
 	maint.mk: rename a new configurable variable
diff --git a/modules/sh-quote-tests b/modules/sh-quote-tests
index c4a6286..ac6101a 100644
--- a/modules/sh-quote-tests
+++ b/modules/sh-quote-tests
@@ -8,3 +8,4 @@ configure.ac:
 Makefile.am:
 TESTS += test-sh-quote
 check_PROGRAMS += test-sh-quote
+test_sh_quote_LDADD = $(LDADD) @LIBINTL@
-- 
1.7.11.7


>From 381db26e9661594748d44b8dba7edfd9d8b2c3d2 Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Tue, 30 Oct 2012 11:29:01 -0700
Subject: [PATCH 2/2] test-raise: don't assume 199 is an invalid signal

* tests/test-raise.c (main): Don't assume 199 is not a signal number.
---
 ChangeLog          | 3 +++
 tests/test-raise.c | 1 -
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 0ab006c..bf77930 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2012-10-30  Paul Eggert  <eggert@cs.ucla.edu>
 
+	test-raise: don't assume 199 is an invalid signal
+	* tests/test-raise.c (main): Don't assume 199 is not a signal number.
+
 	sh-quote-tests: port to Solaris 9
 	* modules/sh-quote-tests (test_sh_quote_LDADD): Add @LIBINTL@.
 	Problem reported by Dagobert Michelsen in
diff --git a/tests/test-raise.c b/tests/test-raise.c
index 9ec0781..e7cfcb9 100644
--- a/tests/test-raise.c
+++ b/tests/test-raise.c
@@ -39,7 +39,6 @@ main (void)
 {
   /* Test behaviour for invalid argument.  */
   ASSERT (raise (-1) != 0);
-  ASSERT (raise (199) != 0);
 
   /* Test behaviour for SIGINT.  */
   ASSERT (signal (SIGINT, handler) != SIG_ERR);
-- 
1.7.11.7



From MAILER-DAEMON Tue Oct 30 16:04:24 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TTI2y-0006V7-5Y
	for mharc-bug-diffutils@gnu.org; Tue, 30 Oct 2012 16:04:24 -0400
Received: from eggs.gnu.org ([208.118.235.92]:38486)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <dam@opencsw.org>) id 1TTEg8-0002o6-VO
	for bug-diffutils@gnu.org; Tue, 30 Oct 2012 12:28:42 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <dam@opencsw.org>) id 1TTEfz-00012f-4T
	for bug-diffutils@gnu.org; Tue, 30 Oct 2012 12:28:36 -0400
Received: from mail.opencsw.org ([82.220.5.51]:43045)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <dam@opencsw.org>)
	id 1TTEfy-00011F-NV; Tue, 30 Oct 2012 12:28:27 -0400
Received: from localhost (localhost [127.0.0.1])
	by mail.opencsw.org (Postfix) with ESMTP id 6DF1A3C2;
	Tue, 30 Oct 2012 17:28:17 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=opencsw.org; h=
	x-mailer:to:references:message-id:content-transfer-encoding:date
	:date:in-reply-to:from:from:subject:subject:mime-version
	:content-type:content-type; s=csw02; t=1351614491; bh=3xWoEx609+
	82oJqjw7+XU9N+rWt6IBmPBANeDVk5Ed0=; b=RB/tEPN0siAX3Pk+RHLQ7g+0GO
	7WQkJLfAwfNsmjz5huw3p89UBqpI/skEW6LPEZzZH7qyeUNG2OX8PoqJMsYLQXDM
	efuXQkvHfV+YZED/4DjHmKoOi3kkQy68dk+0N4daTxM7j9CGvbss86wOqgJ8aspn
	frV1MehU+H4XEp8qA=
X-Virus-Scanned: amavisd-new at opencsw.org
Received: from mail.opencsw.org ([127.0.0.1])
	by localhost (mail.opencsw.org [127.0.0.1]) (amavisd-new, port 10026)
	with ESMTP id Wt2ojKh62tdE; Tue, 30 Oct 2012 17:28:11 +0100 (CET)
Received: from [172.17.100.213] (p4FEA9BE6.dip.t-dialin.net [79.234.155.230])
	(using TLSv1 with cipher AES128-SHA (128/128 bits))
	(No client certificate requested) (Authenticated sender: dam)
	by mail.opencsw.org (Postfix) with ESMTPSA id 235D03C1;
	Tue, 30 Oct 2012 17:28:11 +0100 (CET)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Dagobert Michelsen <dam@opencsw.org>
In-Reply-To: <87mwz4dkxj.fsf@rho.meyering.net>
Date: Tue, 30 Oct 2012 17:28:12 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <C0C78F64-58CB-437E-A4E7-A8969F63E1BF@opencsw.org>
References: <87mwz4dkxj.fsf@rho.meyering.net>
To: bug-diffutils@gnu.org,
 bug-gnulib@gnu.org
X-Mailer: Apple Mail (2.1499)
X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta)
X-Received-From: 82.220.5.51
X-Mailman-Approved-At: Tue, 30 Oct 2012 16:04:22 -0400
Subject: Re: [bug-diffutils] [platform-testers] new snapshot available:
	diffutils-3.2.37-f0b0
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, 30 Oct 2012 16:28:42 -0000

Hi Jim,

Am 30.10.2012 um 16:44 schrieb Jim Meyering <jim@meyering.net>:

> Wow.  I've just realized it's been more than a year
> since the last diffutils release.  So here's a snapshot
> of the latest sources:
>=20
> diffutils snapshot:
>  http://meyering.net/diff/diffutils-ss.tar.xz      1.2 MB
>  http://meyering.net/diff/diffutils-ss.tar.xz.sig
>  http://meyering.net/diff/diffutils-3.2.37-f0b0.tar.xz

I just tested on Solaris 9 Sparc with Sun Studio 12.

During compilation I get the following warnings (probably harmless):

> cc: Warning: illegal option -fdiagnostics-show-option
> cc: Warning: illegal option -funit-at-a-time

After compilation I get the following linker errors during running the =
test suite:

>   CC       test-sh-quote.o
>   CCLD     test-sh-quote
> Undefined                       first referenced
>  symbol                             in file
> libintl_dcngettext                  =
../lib/libdiffutils.a(xalloc-die.o)
> libintl_gettext                     =
../lib/libdiffutils.a(xalloc-die.o)
> libintl_dcgettext                   =
../lib/libdiffutils.a(xalloc-die.o)

Manually adding -lintl to the linker flags resolves the issue.

Some gnulib-tests actually dump core:

> ../build-aux/test-driver: line 95: 25533 Abort                   (core =
dumped) "$@" >$log_file 2>&1
> FAIL: test-raise

> ../build-aux/test-driver: line 95: 25647 Abort                   (core =
dumped) "$@" >$log_file 2>&1
> FAIL: test-sigaction

On the latter the stack looks like this (this is a Solaris 9 branded =
zone on Solaris 10):=20

> unstable9s% mdb test-sigaction                                         =
                                                                         =
                                            =20
> Loading modules: [ libc.so.1 ]
> > ::run
> mdb: stop on SIGABRT
> mdb: target stopped at:
> zfs.256.65538.261614`_s9brand_systemcall+0x34:  0x1a480005
> > ::stack
> zfs.256.65538.261614`_s9brand_systemcall+0x34(ffbffaa8, 25, 504, 6, 1, =
6)
> zfs.256.65538.261614`s9_kill+0xe8(504, 6, ff3f0700, 15320, ff353d1c, =
ff36ec70)
> zfs.256.65538.261614`s9_handler+0x90(504, 6, 0, 10034, ffffffff, =
ff36ec70)
> main+0x64(1, 21990, 21800, 115a4, 21928, ffbffbf8)
> _start+0x108(0, ffbffc7c, 1, ff3dc608, ff3ee834, ff3ee000)
> >=20

Inspected on Solaris 10 the stack looks like this:

> dam@login =
[login]:/home/dam/mgar/pkg/diffutils/trunk/work/solaris9-sparc/build-isa-s=
parcv8/diffutils-3.2.37-f0b0/gnulib-tests > pstack core
> core 'core' of 1381:    ./test-sigaction
>  ff2ce6bc _lwp_kill (6, 1156c, 0, 6, ffbffeff, ff347c40) + 8
>  00011098 main     (1, 21990, 21800, 115a4, 21928, ffbff948) + 148
>  0001092c _start   (0, 0, 0, 0, 0, 0) + 108

Anything further I could test?


Best regards

  -- Dago



--=20
"You don't become great by trying to be great, you become great by =
wanting to do something,
and then doing it so hard that you become great in the process." - xkcd =
#896



From MAILER-DAEMON Wed Oct 31 03:59:01 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TTTCX-000481-BH
	for mharc-bug-diffutils@gnu.org; Wed, 31 Oct 2012 03:59:01 -0400
Received: from eggs.gnu.org ([208.118.235.92]:53780)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1TTTCQ-00046f-B3
	for bug-diffutils@gnu.org; Wed, 31 Oct 2012 03:58:59 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1TTTCO-0007D5-OJ
	for bug-diffutils@gnu.org; Wed, 31 Oct 2012 03:58:54 -0400
Received: from mx.meyering.net ([88.168.87.75]:44313)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>)
	id 1TTTCO-0007CK-HT; Wed, 31 Oct 2012 03:58:52 -0400
Received: from rho.meyering.net (rho [127.0.0.1])
	by rho.meyering.net (Acme Bit-Twister) with ESMTP id 6248C600BB;
	Wed, 31 Oct 2012 08:58:51 +0100 (CET)
From: Jim Meyering <jim@meyering.net>
To: Paul Eggert <eggert@cs.ucla.edu>
In-Reply-To: <50901D56.60805@cs.ucla.edu> (Paul Eggert's message of "Tue, 30
	Oct 2012 11:32:54 -0700")
References: <87mwz4dkxj.fsf@rho.meyering.net>
	<C0C78F64-58CB-437E-A4E7-A8969F63E1BF@opencsw.org>
	<50901D56.60805@cs.ucla.edu>
Date: Wed, 31 Oct 2012 08:58:51 +0100
Message-ID: <87fw4vcbt0.fsf@rho.meyering.net>
Lines: 22
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: 88.168.87.75
Cc: Dagobert Michelsen <dam@opencsw.org>, bug-diffutils@gnu.org,
	bug-gnulib@gnu.org
Subject: Re: [bug-diffutils] [platform-testers] new snapshot available:
	diffutils-3.2.37-f0b0
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, 31 Oct 2012 07:59:00 -0000

Paul Eggert wrote:
> Thanks for the testing report.
>
> I installed the following changes to gnulib, and they should propagate
> to diffutils in due course.  The one to test-sh-quote
> should fix your problem with lintl.  The one to test-raise.c
> is a porting gotcha that may be independent of Solaris, but might
> as well fix it now.
>
> Unfortunately the stack traces that you sent do not provide enough
> info for me to see what the problem is on Solaris 9 with test-raise
> and with test-sigaction.  Perhaps you can try again, compiling with
> -g and without -O, and get more info that way.  You can run
> './configure CFLAGS=-g; make clean; make; make check' to do that.

Thanks for the quick fixes, Paul.
I've confirmed that with the latest from gnulib,
all of diffutils' "make check" tests pass on sparc/Solaris 10.

Unless someone pipes up with additional bug reports or
suggestions for patches that should be integrated,
I'll make a release some time in the next week or two.


From MAILER-DAEMON Wed Oct 31 05:11:20 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TTUKW-00014w-G9
	for mharc-bug-diffutils@gnu.org; Wed, 31 Oct 2012 05:11:20 -0400
Received: from eggs.gnu.org ([208.118.235.92]:43184)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <dam@opencsw.org>) id 1TTUKT-00013z-Ki
	for bug-diffutils@gnu.org; Wed, 31 Oct 2012 05:11:18 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <dam@opencsw.org>) id 1TTUKS-0002pU-60
	for bug-diffutils@gnu.org; Wed, 31 Oct 2012 05:11:17 -0400
Received: from mail.opencsw.org ([82.220.5.51]:42822)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <dam@opencsw.org>)
	id 1TTUKR-0002pG-PE; Wed, 31 Oct 2012 05:11:16 -0400
Received: from localhost (localhost [127.0.0.1])
	by mail.opencsw.org (Postfix) with ESMTP id 6AFDF15;
	Wed, 31 Oct 2012 10:11:13 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=opencsw.org; h=
	x-mailer:to:references:message-id:content-transfer-encoding:date
	:date:in-reply-to:from:from:subject:subject:mime-version
	:content-type:content-type; s=csw02; t=1351674668; bh=NeW15NTJgf
	mpw6Bg9pr4gX28W/ZLj5FdZiVAwtZN/es=; b=t/4+/eZdzYHTAcBo7ClIKvoLjV
	vt46vfx06eOx4pzwnzm+pSZGE996ehCTqlBS8LcV4pTYcY4vm7J9q5DBJDBuErGc
	kutHijVMSRq6f/ahykNXz9l07RW/9jNwPKFtwtKGJcSca/pY6NohQ8PAs7D3NXP2
	Kd9HmC0u0X/elhvl4=
X-Virus-Scanned: amavisd-new at opencsw.org
Received: from mail.opencsw.org ([127.0.0.1])
	by localhost (mail.opencsw.org [127.0.0.1]) (amavisd-new, port 10026)
	with ESMTP id JRXNADRsXxtg; Wed, 31 Oct 2012 10:11:08 +0100 (CET)
Received: from [172.17.100.213] (p4FEA9977.dip.t-dialin.net [79.234.153.119])
	(using TLSv1 with cipher AES128-SHA (128/128 bits))
	(No client certificate requested) (Authenticated sender: dam)
	by mail.opencsw.org (Postfix) with ESMTPSA id 7EE9B14;
	Wed, 31 Oct 2012 10:11:08 +0100 (CET)
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Dagobert Michelsen <dam@opencsw.org>
In-Reply-To: <50901D56.60805@cs.ucla.edu>
Date: Wed, 31 Oct 2012 10:11:07 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <DAB42441-4A6D-43CA-ADBB-43D28DE76825@opencsw.org>
References: <87mwz4dkxj.fsf@rho.meyering.net>
	<C0C78F64-58CB-437E-A4E7-A8969F63E1BF@opencsw.org>
	<50901D56.60805@cs.ucla.edu>
To: Paul Eggert <eggert@cs.ucla.edu>
X-Mailer: Apple Mail (2.1499)
X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta)
X-Received-From: 82.220.5.51
Cc: bug-diffutils@gnu.org, bug-gnulib@gnu.org
Subject: Re: [bug-diffutils] [platform-testers] new snapshot available:
	diffutils-3.2.37-f0b0
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, 31 Oct 2012 09:11:19 -0000

Hi Paul,

Am 30.10.2012 um 19:32 schrieb Paul Eggert <eggert@cs.ucla.edu>:
> Unfortunately the stack traces that you sent do not provide enough
> info for me to see what the problem is on Solaris 9 with test-raise
> and with test-sigaction.  Perhaps you can try again, compiling with
> -g and without -O, and get more info that way.  You can run
> './configure CFLAGS=3D-g; make clean; make; make check' to do that.


I ran them in the debugger and got

> unstable9s% gdb test-sigaction
> GNU gdb (GDB) 7.4.1
> Copyright (C) 2012 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later =
<http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show =
copying"
> and "show warranty" for details.
> This GDB was configured as "sparc-sun-solaris2.9".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>...
> Reading symbols from =
/home/dam/mgar/pkg/diffutils/trunk/work/solaris9-sparc/build-isa-sparcv8/d=
iffutils-3.2.37-f0b0/gnulib-tests/test-sigaction...done.
> (gdb) run
> Starting program: =
/home/dam/mgar/pkg/diffutils/trunk/work/solaris9-sparc/build-isa-sparcv8/d=
iffutils-3.2.37-f0b0/gnulib-tests/test-sigaction=20
>=20
> Program received signal SIGABRT, Aborted.
> 0xff3dc738 in ?? ()
> (gdb) list
> 85            ASSERT (0);
> 86          }
> 87      }
> 88     =20
> 89      int
> 90      main (void)
> 91      {
> 92        struct sigaction sa;
> 93        struct sigaction old_sa;
> 94        sa.sa_handler =3D handler;


> unstable9s% gdb test-raise
> GNU gdb (GDB) 7.4.1
> Copyright (C) 2012 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later =
<http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show =
copying"
> and "show warranty" for details.
> This GDB was configured as "sparc-sun-solaris2.9".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>...
> Reading symbols from =
/home/dam/mgar/pkg/diffutils/trunk/work/solaris9-sparc/build-isa-sparcv8/d=
iffutils-3.2.37-f0b0/gnulib-tests/test-raise...done.
> (gdb) run
> Starting program: =
/home/dam/mgar/pkg/diffutils/trunk/work/solaris9-sparc/build-isa-sparcv8/d=
iffutils-3.2.37-f0b0/gnulib-tests/test-raise=20
> test-raise.c:45: assertion failed
>=20
> Program received signal SIGABRT, Aborted.
> 0xff3dc738 in ?? ()
> (gdb) list
> 32      handler (int sig)
> 33      {
> 34        exit (0);
> 35      }
> 36     =20
> 37      int
> 38      main (void)
> 39      {
> 40        /* Test behaviour for invalid argument.  */
> 41        ASSERT (raise (-1) !=3D 0);
> (gdb)=20
> 42        ASSERT (raise (199) !=3D 0);
> 43     =20
> 44        /* Test behaviour for SIGINT.  */
> 45        ASSERT (signal (SIGINT, handler) !=3D SIG_ERR);
> 46     =20
> 47        raise (SIGINT);
> 48     =20
> 49        /* We should not get here, because the handler takes away =
the control.  */
> 50        exit (1);
> 51      }


Best regards

  -- Dago

--=20
"You don't become great by trying to be great, you become great by =
wanting to do something,
and then doing it so hard that you become great in the process." - xkcd =
#896



From MAILER-DAEMON Wed Oct 31 12:31:46 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TTbCk-0006zz-00
	for mharc-bug-diffutils@gnu.org; Wed, 31 Oct 2012 12:31:46 -0400
Received: from eggs.gnu.org ([208.118.235.92]:38157)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1TTbCh-0006yi-VV
	for bug-diffutils@gnu.org; Wed, 31 Oct 2012 12:31:44 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1TTbCe-0001du-0a
	for bug-diffutils@gnu.org; Wed, 31 Oct 2012 12:31:43 -0400
Received: from smtp.cs.ucla.edu ([131.179.128.62]:36524)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>)
	id 1TTbCd-0001do-R1; Wed, 31 Oct 2012 12:31:39 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.cs.ucla.edu (Postfix) with ESMTP id D4FCEA60010;
	Wed, 31 Oct 2012 09:31:38 -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 3-t8duH7H0tV; Wed, 31 Oct 2012 09:31:38 -0700 (PDT)
Received: from [192.168.1.3] (pool-108-23-119-2.lsanca.fios.verizon.net
	[108.23.119.2])
	by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 816FDA60008;
	Wed, 31 Oct 2012 09:31:38 -0700 (PDT)
Message-ID: <5091526A.4060509@cs.ucla.edu>
Date: Wed, 31 Oct 2012 09:31:38 -0700
From: Paul Eggert <eggert@cs.ucla.edu>
Organization: UCLA Computer Science Department
User-Agent: Mozilla/5.0 (X11; Linux i686;
	rv:16.0) Gecko/20121028 Thunderbird/16.0.2
MIME-Version: 1.0
To: Dagobert Michelsen <dam@opencsw.org>
References: <87mwz4dkxj.fsf@rho.meyering.net>
	<C0C78F64-58CB-437E-A4E7-A8969F63E1BF@opencsw.org>
	<50901D56.60805@cs.ucla.edu>
	<DAB42441-4A6D-43CA-ADBB-43D28DE76825@opencsw.org>
In-Reply-To: <DAB42441-4A6D-43CA-ADBB-43D28DE76825@opencsw.org>
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, bug-gnulib@gnu.org
Subject: Re: [bug-diffutils] [platform-testers] new snapshot available:
	diffutils-3.2.37-f0b0
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, 31 Oct 2012 16:31:44 -0000

Thanks, but I'm afraid that's still not enough information.
I don't know which assertion has failed, or why.

Perhaps you can single-step through the failed programs?
They shouldn't take long to run.


