From MAILER-DAEMON Thu Nov 01 12:59:16 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TTy6u-0002DK-Bp
	for mharc-bug-diffutils@gnu.org; Thu, 01 Nov 2012 12:59:16 -0400
Received: from eggs.gnu.org ([208.118.235.92]:51741)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <beebe@math.utah.edu>) id 1TTw0N-0008Os-S2
	for bug-diffutils@gnu.org; Thu, 01 Nov 2012 10:44:24 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <beebe@math.utah.edu>) id 1TTw0H-0003Ni-77
	for bug-diffutils@gnu.org; Thu, 01 Nov 2012 10:44:23 -0400
Received: from mail.math.utah.edu ([155.101.98.135]:47221)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <beebe@math.utah.edu>) id 1TTw0G-0003NO-WC
	for bug-diffutils@gnu.org; Thu, 01 Nov 2012 10:44:17 -0400
Received: from psi.math.utah.edu (psi.math.utah.edu [155.101.96.19])
	by mail.math.utah.edu (8.14.5/8.14.5) with ESMTP id qA1DjK1w004469;
	Thu, 1 Nov 2012 07:45:20 -0600 (MDT)
Received: from psi.math.utah.edu (localhost [127.0.0.1])
	by psi.math.utah.edu (8.14.5/8.14.5) with ESMTP id qA1DjKgT005343;
	Thu, 1 Nov 2012 07:45:20 -0600 (MDT)
Received: (from beebe@localhost)
	by psi.math.utah.edu (8.14.5/8.14.5/Submit) id qA1DjKN3005342;
	Thu, 1 Nov 2012 07:45:20 -0600 (MDT)
Date: Thu, 1 Nov 2012 07:45:20 -0600 (MDT)
From: "Nelson H. F. Beebe" <beebe@math.utah.edu>
To: bug-diffutils@gnu.org
X-US-Mail: "Department of Mathematics, 110 LCB, University of Utah, 155 S
	1400 E RM 233, Salt Lake City, UT 84112-0090, USA"
X-Telephone: +1 801 581 5254
X-FAX: +1 801 585 1640, +1 801 581 4148
X-URL: http://www.math.utah.edu/~beebe
Message-ID: <CMM.0.95.0.1351777520.beebe@psi.math.utah.edu>
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.8
	(mail.math.utah.edu [155.101.98.135]);
	Thu, 01 Nov 2012 07:45:20 -0600 (MDT)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 155.101.98.135
X-Mailman-Approved-At: Thu, 01 Nov 2012 12:59:15 -0400
Cc: beebe@math.utah.edu
Subject: [bug-diffutils] simple fix for FreeBSD build problem with
 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: Thu, 01 Nov 2012 14:44:25 -0000

The Makefile for one of the test programs needed by "make check" in
diffutils-3.2.37-f0 is missing essential library flags that broke
the build on FreeBSD 9.0:

    gcc -std=gnu99 -g -O2 -o test-sh-quote test-sh-quote.o libtests.a
	../lib/libdiffutils.a libtests.a
    ../lib/libdiffutils.a(xalloc-die.o): In function `xalloc_die':
    /local/build/bare/diffutils-3.2.37-f0b0/lib/xalloc-die.c:34: undefined reference to `libintl_gettext'
    ../lib/libdiffutils.a(error.o): In function `print_errno_message':
    /local/build/bare/diffutils-3.2.37-f0b0/lib/error.c:188: undefined reference to `libintl_gettext'
    ../lib/libdiffutils.a(quotearg.o): In function `gettext_quote':
    /local/build/bare/diffutils-3.2.37-f0b0/lib/quotearg.c:195: undefined reference to `libintl_gettext'

I built it manually with

    gcc -std=gnu99 -g -O2 -o test-sh-quote test-sh-quote.o libtests.a \
	../lib/libdiffutils.a libtests.a -L/usr/local/lib -lintl

then restarted the make; all tests passed, and I've installed the new
version of diffutils.

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: beebe@math.utah.edu  -
- 155 S 1400 E RM 233                       beebe@acm.org  beebe@computer.org -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------


From MAILER-DAEMON Thu Nov 01 13:06:08 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TTyDY-0004BQ-FT
	for mharc-bug-diffutils@gnu.org; Thu, 01 Nov 2012 13:06:08 -0400
Received: from eggs.gnu.org ([208.118.235.92]:43859)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1TTyDT-00049e-1b
	for bug-diffutils@gnu.org; Thu, 01 Nov 2012 13:06:07 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1TTyDR-00030V-K8
	for bug-diffutils@gnu.org; Thu, 01 Nov 2012 13:06:02 -0400
Received: from mx.meyering.net ([88.168.87.75]:42181)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1TTyDR-00030N-DL
	for bug-diffutils@gnu.org; Thu, 01 Nov 2012 13:06:01 -0400
Received: from rho.meyering.net (rho.meyering.net [127.0.0.1])
	by rho.meyering.net (Acme Bit-Twister) with ESMTP id 11AF06011C;
	Thu,  1 Nov 2012 18:06:00 +0100 (CET)
From: Jim Meyering <jim@meyering.net>
To: "Nelson H. F. Beebe" <beebe@math.utah.edu>
In-Reply-To: <CMM.0.95.0.1351777520.beebe@psi.math.utah.edu> (Nelson
	H. F. Beebe's message of "Thu, 1 Nov 2012 07:45:20 -0600 (MDT)")
References: <CMM.0.95.0.1351777520.beebe@psi.math.utah.edu>
Date: Thu, 01 Nov 2012 18:06:00 +0100
Message-ID: <87y5ilw8w7.fsf@rho.meyering.net>
Lines: 16
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 88.168.87.75
Cc: bug-diffutils@gnu.org
Subject: Re: [bug-diffutils] simple fix for FreeBSD build problem with
	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: Thu, 01 Nov 2012 17:06:07 -0000

Nelson H. F. Beebe wrote:
> The Makefile for one of the test programs needed by "make check" in
> diffutils-3.2.37-f0 is missing essential library flags that broke
> the build on FreeBSD 9.0:
>
>     gcc -std=gnu99 -g -O2 -o test-sh-quote test-sh-quote.o libtests.a
> 	../lib/libdiffutils.a libtests.a
>     ../lib/libdiffutils.a(xalloc-die.o): In function `xalloc_die':
>     /local/build/bare/diffutils-3.2.37-f0b0/lib/xalloc-die.c:34: undefined reference to `libintl_gettext'
>     ../lib/libdiffutils.a(error.o): In function `print_errno_message':
>     /local/build/bare/diffutils-3.2.37-f0b0/lib/error.c:188: undefined reference to `libintl_gettext'
>     ../lib/libdiffutils.a(quotearg.o): In function `gettext_quote':
>     /local/build/bare/diffutils-3.2.37-f0b0/lib/quotearg.c:195: undefined reference to `libintl_gettext'

Thanks.  That was fixed by Paul Eggert in gnulib shortly
after the test release.


From MAILER-DAEMON Fri Nov 02 06:26:22 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TUESE-0007Hd-JO
	for mharc-bug-diffutils@gnu.org; Fri, 02 Nov 2012 06:26:22 -0400
Received: from eggs.gnu.org ([208.118.235.92]:55632)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <dam@opencsw.org>) id 1TUESC-0007HV-76
	for bug-diffutils@gnu.org; Fri, 02 Nov 2012 06:26:21 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <dam@opencsw.org>) id 1TUESA-0007tt-9Q
	for bug-diffutils@gnu.org; Fri, 02 Nov 2012 06:26:20 -0400
Received: from mail.opencsw.org ([82.220.5.51]:60778)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <dam@opencsw.org>)
	id 1TUES9-0007rv-S4; Fri, 02 Nov 2012 06:26:18 -0400
Received: from localhost (localhost [127.0.0.1])
	by mail.opencsw.org (Postfix) with ESMTP id 34111DEF;
	Fri,  2 Nov 2012 11:26:07 +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=1351851960; bh=8jh7s5PUhe
	KCDJdLdqY6drcr1SsN+ZenATlJCO8+eeA=; b=CGFX7tATJyg4fNbDCC42C55fr+
	p94zFJ0121IrMfVc8fePFGZ7q0qbjvVOCuc6t8jMrRH4Z/rOtvF07j5+CnpRipoB
	knvQgrzGXm1+R7PYtAN5o/K3+CWO3cafhi//iW7PFPAKxbNXieRlLOjvHaF8Z9UE
	uH+WVIXgHl9VaP9zg=
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 kad2Rp-BA7yO; Fri,  2 Nov 2012 11:26:00 +0100 (CET)
Received: from [192.168.178.34] (178-226-103-86.dynamic.dsl.tng.de
	[86.103.226.178]) (using TLSv1 with cipher AES128-SHA (128/128 bits))
	(No client certificate requested) (Authenticated sender: dam)
	by mail.opencsw.org (Postfix) with ESMTPSA id E2C4ADEE;
	Fri,  2 Nov 2012 11:25:59 +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: <5091526A.4060509@cs.ucla.edu>
Date: Fri, 2 Nov 2012 11:26:08 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <DECA5366-FB6E-496F-994C-B43C585629E7@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>
	<5091526A.4060509@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
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: Fri, 02 Nov 2012 10:26:21 -0000

Hi Paul,

Am 31.10.2012 um 17:31 schrieb Paul Eggert <eggert@cs.ucla.edu>:
> Thanks, but I'm afraid that's still not enough information.
> I don't know which assertion has failed, or why.
>=20
> Perhaps you can single-step through the failed programs?
> They shouldn't take long to run.

It looks like that SIGABRT does not call the callback, but crashes the =
process.

> 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) b 90
> Breakpoint 1 at 0x110ec: file test-sigaction.c, line 90.
> (gdb) r
> 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
> Breakpoint 1, main () at test-sigaction.c:94
> 94        sa.sa_handler =3D handler;
> (gdb) n
> 96        sa.sa_flags =3D 0;
> (gdb)=20
> 97        ASSERT (sigemptyset (&sa.sa_mask) =3D=3D 0);
> (gdb)=20
> 98        ASSERT (sigaction (SIGABRT, &sa, NULL) =3D=3D 0);
> (gdb)=20
> 99        ASSERT (raise (SIGABRT) =3D=3D 0);
> (gdb) stepi
> 0x000111c0      99        ASSERT (raise (SIGABRT) =3D=3D 0);
> (gdb)=20
> 0x000219ac in raise@plt ()
> (gdb) step
> Single stepping until exit from function raise@plt,
> which has no line number information.
> 0xff1a0ae8 in raise () from /usr/lib/libc.so.1
> (gdb)=20
> Single stepping until exit from function raise,
> which has no line number information.
> 0xff1f081c in _libc_kill () from /usr/lib/libc.so.1
> (gdb)=20
> Single stepping until exit from function _libc_kill,
> which has no line number information.
> Warning:
> Cannot insert breakpoint 0.
> Error accessing memory address 0xc: I/O error.
>=20
> 0x00000008 in ?? ()
> (gdb)=20
> Cannot find bounds of current function
> (gdb)=20
> Cannot find bounds of current function
> (gdb)=20
> Cannot find bounds of current function
> (gdb)=20
> Cannot find bounds of current function
> (gdb)=20
> Cannot find bounds of current function
> (gdb) quit
> A debugging session is active.
>=20
>         Inferior 1 [process 23220] will be killed.
>=20
> Quit anyway? (y or n) y  =20
> 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) b 90
> Breakpoint 1 at 0x110ec: file test-sigaction.c, line 90.
> (gdb) step
> The program is not being run.
> (gdb) r
> 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
> Breakpoint 1, main () at test-sigaction.c:94
> 94        sa.sa_handler =3D handler;
> (gdb) step
> 96        sa.sa_flags =3D 0;
> (gdb)=20
> 97        ASSERT (sigemptyset (&sa.sa_mask) =3D=3D 0);
> (gdb)=20
> 98        ASSERT (sigaction (SIGABRT, &sa, NULL) =3D=3D 0);
> (gdb)=20
> 99        ASSERT (raise (SIGABRT) =3D=3D 0);
> (gdb)=20
>=20
> Program received signal SIGABRT, Aborted.
> 0xff3dc738 in ?? ()
> (gdb)=20
> Cannot find bounds of current function
>=20

> 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) l 60
> 55     =20
> 56      /* This test is unsafe in the presence of an asynchronous =
SIGABRT,
> 57         because we install a signal-handler that is intentionally =
not
> 58         async-safe.  Hopefully, this does not lead to too many =
reports of
> 59         false failures, since people don't generally use 'kill -s =
SIGABRT'
> 60         to end a runaway program.  */
> 61     =20
> 62      static void
> 63      handler (int sig)
> 64      {
> (gdb) b 63
> Breakpoint 1 at 0x10e20: file test-sigaction.c, line 63.
> (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 ?? ()


On test-raise.c for some obscure reason SIG_ERR is ( void ( * ) ( ) ) 0 =
which then
fails the assert as "0" usually means no error. This is because "lint" =
is defined:

> ../config.log:#define lint 1

and hence in /usr/include/sys/iso/signal_iso.h this breaks:

> #elif   defined(lint)
>=20
> #define SIG_DFL (void(*)())0
> #define SIG_ERR (void(*)())0
> #define SIG_IGN (void (*)())0
> #define SIG_HOLD (void(*)())0
>=20
> #else
>=20
> #define SIG_DFL (void(*)())0
> #define SIG_ERR (void(*)())-1
> #define SIG_IGN (void (*)())1
> #define SIG_HOLD (void(*)())2
>=20
> #endif

Undefining "lint" in lib/config.h makes this test pass immediately.

Hopefully this helps.


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 Sat Nov 03 02:19:51 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TUX5D-0006xZ-OW
	for mharc-bug-diffutils@gnu.org; Sat, 03 Nov 2012 02:19:51 -0400
Received: from eggs.gnu.org ([208.118.235.92]:41384)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1TUX5A-0006pK-DJ
	for bug-diffutils@gnu.org; Sat, 03 Nov 2012 02:19:50 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1TUX59-0005Iy-CG
	for bug-diffutils@gnu.org; Sat, 03 Nov 2012 02:19:48 -0400
Received: from smtp.cs.ucla.edu ([131.179.128.62]:54756)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>)
	id 1TUX59-0005I1-6I; Sat, 03 Nov 2012 02:19:47 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.cs.ucla.edu (Postfix) with ESMTP id 0F14F39E8106;
	Fri,  2 Nov 2012 23:19:46 -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 xDbh5UIftvtX; Fri,  2 Nov 2012 23:19:45 -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 A605039E8100;
	Fri,  2 Nov 2012 23:19:45 -0700 (PDT)
Message-ID: <5094B791.7010704@cs.ucla.edu>
Date: Fri, 02 Nov 2012 23:20:01 -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>
	<5091526A.4060509@cs.ucla.edu>
	<DECA5366-FB6E-496F-994C-B43C585629E7@opencsw.org>
In-Reply-To: <DECA5366-FB6E-496F-994C-B43C585629E7@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.x
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: Sat, 03 Nov 2012 06:19:50 -0000

On 11/02/2012 03:26 AM, Dagobert Michelsen wrote:
> Undefining "lint" in lib/config.h makes this test pass immediately.

>From what you describe, defining 'lint' is a no-no on your
platform, if you want your code to run correctly.  This would
also explain the failure of test-sigaction.  So I think we've
found the problem.  To work around it, don't build or configure
with -Dlint.


From MAILER-DAEMON Sun Nov 18 02:38:02 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1TZzS6-0002MI-Ju
	for mharc-bug-diffutils@gnu.org; Sun, 18 Nov 2012 02:38:02 -0500
Received: from eggs.gnu.org ([208.118.235.92]:50709)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <reinhard.kotucha@web.de>) id 1TZw6C-0007Si-7n
	for bug-diffutils@gnu.org; Sat, 17 Nov 2012 23:03:15 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <reinhard.kotucha@web.de>) id 1TZw69-0008CS-5B
	for bug-diffutils@gnu.org; Sat, 17 Nov 2012 23:03:12 -0500
Received: from mout.web.de ([212.227.17.11]:49258)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <reinhard.kotucha@web.de>) id 1TZw68-0008CA-RV
	for bug-diffutils@gnu.org; Sat, 17 Nov 2012 23:03:09 -0500
Received: from zaphod.ms25.net ([82.83.35.209]) by smtp.web.de (mrweb002) with
	ESMTPSA (Nemesis) id 0M8zhl-1TQKdr4Aft-00D1gP for
	<bug-diffutils@gnu.org>; Sun, 18 Nov 2012 05:03:07 +0100
From: Reinhard Kotucha <reinhard.kotucha@web.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <20648.24058.324034.391610@zaphod.ms25.net>
Date: Sun, 18 Nov 2012 05:03:06 +0100
To: bug-diffutils@gnu.org
X-Mailer: VM 8.1.1 under 23.2.1 (x86_64-unknown-linux-gnu)
X-Provags-ID: V02:K0:vSbT4X5u9Sp6K/FysPQnD3XQab0KTNgxVzNyaE+ocR7
	9QX8LAimElwKVT+gIRZ0ODAFSocVh3udKp+dNb8umFfK6illKJ
	13N080u/B0ceVNoVF0/HV8LeunLAkNaoqc+73UL9v1A9OUWFED
	OMiE6H2V3Z73Cd97kXmJrmiNltpqyHBWHhx/Nmoin+1PhFjAwN
	nG67BR3WMkRuyrPY4XLpg==
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
X-Received-From: 212.227.17.11
X-Mailman-Approved-At: Sun, 18 Nov 2012 02:38:01 -0500
Subject: [bug-diffutils] No newline at end of file
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: reinhard.kotucha@web.de
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, 18 Nov 2012 04:03:15 -0000

Hi,
I'm using 

  $ diff --version
  diff (GNU diffutils) 3.2

as provided by Gentoo Linux.

Is it desired that the string "\ No newline at end of file" is written
to stdout instead of stderr?  I would expect that such warnings go to
stderr by default and stdout contains only what I've specified on the
command line.

I must admit that I don't understand why I get this warning at all.
If a particular program can't process files which don't end with "\n",
then the program is completely broken and should be fixed.

Regards,
  Reinhard

-- 
----------------------------------------------------------------------------
Reinhard Kotucha                                      Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover                              mailto:reinhard.kotucha@web.de
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------


From MAILER-DAEMON Sun Nov 18 05:26:55 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Ta25X-0003od-4d
	for mharc-bug-diffutils@gnu.org; Sun, 18 Nov 2012 05:26:55 -0500
Received: from eggs.gnu.org ([208.118.235.92]:49870)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <andreas.gruenbacher@gmail.com>) id 1Ta25R-0003nj-Tb
	for bug-diffutils@gnu.org; Sun, 18 Nov 2012 05:26:52 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <andreas.gruenbacher@gmail.com>) id 1Ta25O-0001pr-Ql
	for bug-diffutils@gnu.org; Sun, 18 Nov 2012 05:26:49 -0500
Received: from mail-la0-f41.google.com ([209.85.215.41]:64571)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <andreas.gruenbacher@gmail.com>) id 1Ta25O-0001pE-IY
	for bug-diffutils@gnu.org; Sun, 18 Nov 2012 05:26:46 -0500
Received: by mail-la0-f41.google.com with SMTP id m15so1363363lah.0
	for <bug-diffutils@gnu.org>; Sun, 18 Nov 2012 02:26:45 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=wadHtcI9kUpeqiC4T0OJkjTFPXdH7yYiFSQPlz29bvI=;
	b=L/pvmgS7ZmPVqWc0RDocihIUTRg1oBunKZ2rHKrO9DSm2Da3tC+rWFLclyymR4eZkh
	lVQjLtxt3Az+1+KbJ1s8RB4GonuyDuzEymT0NuOqUz2zhHJV1MlbwolcteLvYsJTfyNj
	meTnRNQK8ZWF09rI7AnfP9yTjOLZ/bVPonjQH3ZN9PnmTloQuBm89U3WvDeQIUDhpQD4
	reZ/OaJ+9HgdiUuJUcHwgySL4ZGC8rXP3zLdEf/H8c1aRIIQUDuT6nHRVcdRfX6G0QbV
	3GyJuSKCcGIUBLFJa5sdroPkcXbFGuwQX/WB5xM3X7+xrXewk5ZUn8IEEj+R01eU4c5i
	FMCA==
MIME-Version: 1.0
Received: by 10.152.106.79 with SMTP id gs15mr8856327lab.31.1353234404953;
	Sun, 18 Nov 2012 02:26:44 -0800 (PST)
Received: by 10.112.93.51 with HTTP; Sun, 18 Nov 2012 02:26:44 -0800 (PST)
In-Reply-To: <20648.24058.324034.391610@zaphod.ms25.net>
References: <20648.24058.324034.391610@zaphod.ms25.net>
Date: Sun, 18 Nov 2012 11:26:44 +0100
Message-ID: <CAHpGcM+EvRnTPdw4cz06U42OurPXjdPZNufe6gXXLNs4UQcAMQ@mail.gmail.com>
From: =?ISO-8859-1?Q?Andreas_Gr=FCnbacher?= <andreas.gruenbacher@gmail.com>
To: reinhard.kotucha@web.de
Content-Type: multipart/alternative; boundary=f46d04083f3b014dc804cec2704d
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 209.85.215.41
Cc: bug-diffutils@gnu.org
Subject: Re: [bug-diffutils] No newline at end of file
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, 18 Nov 2012 10:26:53 -0000

--f46d04083f3b014dc804cec2704d
Content-Type: text/plain; charset=ISO-8859-1

Reinhard,

sometimes, looking at the documentation is useful. In particular:

http://www.gnu.org/software/diffutils/manual/diffutils.html#Incomplete-Lines

Andreas

--f46d04083f3b014dc804cec2704d
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Reinhard,<br><br>sometimes, looking at the documentation is useful. In part=
icular:<br><br><a href=3D"http://www.gnu.org/software/diffutils/manual/diff=
utils.html#Incomplete-Lines" target=3D"_blank">http://www.gnu.org/software/=
diffutils/manual/diffutils.html#Incomplete-Lines</a><br>

<br>Andreas<br>

--f46d04083f3b014dc804cec2704d--


From MAILER-DAEMON Sun Nov 18 10:39:16 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Ta6xo-0004lz-DO
	for mharc-bug-diffutils@gnu.org; Sun, 18 Nov 2012 10:39:16 -0500
Received: from eggs.gnu.org ([208.118.235.92]:60888)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1Ta6xj-0004fN-G9
	for bug-diffutils@gnu.org; Sun, 18 Nov 2012 10:39:14 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1Ta6xg-00065B-Dz
	for bug-diffutils@gnu.org; Sun, 18 Nov 2012 10:39:11 -0500
Received: from smtp.cs.ucla.edu ([131.179.128.62]:40227)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1Ta6xg-00063H-8F
	for bug-diffutils@gnu.org; Sun, 18 Nov 2012 10:39:08 -0500
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.cs.ucla.edu (Postfix) with ESMTP id 3CE8AA60005;
	Sun, 18 Nov 2012 07:39:07 -0800 (PST)
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 2Y4U9OLjGH9x; Sun, 18 Nov 2012 07:39:07 -0800 (PST)
Received: from [192.168.1.3] (pool-71-189-154-249.lsanca.fios.verizon.net
	[71.189.154.249])
	by smtp.cs.ucla.edu (Postfix) with ESMTPSA id EA24BA60001;
	Sun, 18 Nov 2012 07:39:06 -0800 (PST)
Message-ID: <50A90121.5080308@cs.ucla.edu>
Date: Sun, 18 Nov 2012 07:39:13 -0800
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: reinhard.kotucha@web.de
References: <20648.24058.324034.391610@zaphod.ms25.net>
In-Reply-To: <20648.24058.324034.391610@zaphod.ms25.net>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 131.179.128.62
Cc: bug-diffutils@gnu.org
Subject: Re: [bug-diffutils] No newline at end of file
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, 18 Nov 2012 15:39:14 -0000

On 11/17/2012 08:03 PM, Reinhard Kotucha wrote:
> I don't understand why I get this warning at all.

It's not a warning.  It's part of the output format,
and in general it's essential if you want to know all the
differences between two files.


