From MAILER-DAEMON Wed Apr 03 07:27:54 2013
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1UNLr7-0000IP-Vx
	for mharc-bug-diffutils@gnu.org; Wed, 03 Apr 2013 07:27:53 -0400
Received: from eggs.gnu.org ([208.118.235.92]:54175)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sanvila@unex.es>) id 1UNLr4-0000Hn-Tw
	for bug-diffutils@gnu.org; Wed, 03 Apr 2013 07:27:52 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sanvila@unex.es>) id 1UNLqz-0006UF-Vi
	for bug-diffutils@gnu.org; Wed, 03 Apr 2013 07:27:50 -0400
Received: from pizarro.unex.es ([158.49.8.2]:41577)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sanvila@unex.es>) id 1UNLqz-0006TF-OJ
	for bug-diffutils@gnu.org; Wed, 03 Apr 2013 07:27:45 -0400
Received: from guadiana.unex.es (guadiana.unex.es [158.49.17.23])
	by pizarro.unex.es (Postfix) with ESMTP id 9D40C1480A8;
	Wed,  3 Apr 2013 13:27:37 +0200 (CEST)
Received: from cantor.unex.es (cantor.unex.es [158.49.50.20])
	by guadiana.unex.es (Postfix) with ESMTPS id 73C8D4BAAD;
	Wed,  3 Apr 2013 13:27:36 +0200 (CEST)
Date: Wed, 3 Apr 2013 13:27:36 +0200 (CEST)
From: Santiago Vila <sanvila@unex.es>
To: bug-diffutils@gnu.org
Message-ID: <alpine.DEB.2.02.1304031315050.26406@cantor.unex.es>
User-Agent: Alpine 2.02 (DEB 1266 2009-07-14)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 158.49.8.2
Cc: Philippe Errembault <camion_spam-debrpbg@yahoo.fr>,
	704182-forwarded@bugs.debian.org
Subject: [bug-diffutils] Bug#704182: diffutils: Diff -r will confusion
 between asian characters in filenames,
 when locale are non asian - UTF-8. (fwd)
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Apr 2013 11:27:53 -0000

Hello.

Received this report from the Debian bug system. I initially believed
this to be a duplicate of Debian Bug#633978, but it's not.

Here is a way to reproduce it, provided by the submitter after the
initial report:

--------------------------------------------------------
Here are a few command you may use to reproduce the bug

mkdir d1 d2
echo azerty > "d1/=E3=82=A8=E3=83=B3=E3=83=89=E3=82=AB=E3=83=BC=E3=83=891=
"
echo qsdfgh > "d2/=E3=83=96=E3=83=83=E3=82=AF=E3=83=AC=E3=83=83=E3=83=881=
"

If the bug is present, diff will return
> LANG=3Dsome_non_asian_LOCALE.utf8 diff -r d1 d2
1c1
< azerty
---
> qsdfgh

if the bug is not present you will have something like :
> LANG=3DC diff -r d1 d2
Only in d1: =E3=82=A8=E3=83=B3=E3=83=89=E3=82=AB=E3=83=BC=E3=83=891
Only in d2: =E3=83=96=E3=83=83=E3=82=AF=E3=83=AC=E3=83=83=E3=83=881
--------------------------------------------------------

I can also reproduce it with diffutils 3.3, this is the output in such ca=
se:

diff "d1/\343\202\250\343\203\263\343\203\211\343\202\253\343\203\274\343=
\203\2111" "d2/\343\203\226\343\203\203\343\202\257\343\203\254\343\203\2=
03\343\203\2101"
1c1
< azerty
---
> qsdfgh

Follows the initial report:

---------- Forwarded message ----------
From: Philippe Errembault
To: Debian Bug Tracking System <submit@bugs.debian.org>
Date: Fri, 29 Mar 2013 03:10:46 +0100
Subject: Bug#704182: diffutils: Diff -r will confusion between asian char=
acters
    in filenames, when locale are non asian - UTF-8.

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


I don't know if this bug is caused by diff or by strcoll.
When comparing filenames with strcoll, using non asian utf8 locales,
chinese characters are considered identical, whichs lead to confusion
between files which are differents.=20

E.g.: if you diff -r two directories with files in different orders,
because they where on different file systems, written with different OS.
For an example, I wanted to diff a copy on a server, of a directory from=20
an NTFS disk. or simply because the files lists are not the same, and
the sort happens differently. then, diff may consider as two different
files as being the same, and report differences because it compares
different files. for examples, in my situation, it believed that
"=E3=82=A8=E3=83=B3=E3=83=89=E3=82=AB=E3=83=BC=E3=83=891.jpg" and "=E3=83=
=96=E3=83=83=E3=82=AF=E3=83=AC=E3=83=83=E3=83=881.jpg" were files with th=
e same name
and reported errors between them.

The point, is that, I don't know if it is or not normal that
strcoll("=E3=82=A8=E3=83=B3=E3=83=89=E3=82=AB=E3=83=BC=E3=83=891.jpg", "=E3=
=83=96=E3=83=83=E3=82=AF=E3=83=AC=E3=83=83=E3=83=881.jpg"); returns 0 whe=
n locale
is anything_non_asian.utf-8

[...]


From MAILER-DAEMON Wed Apr 03 11:26:57 2013
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1UNPaS-0005no-Qn
	for mharc-bug-diffutils@gnu.org; Wed, 03 Apr 2013 11:26:56 -0400
Received: from eggs.gnu.org ([208.118.235.92]:41284)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1UNPaM-0005nI-Es
	for bug-diffutils@gnu.org; Wed, 03 Apr 2013 11:26:55 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1UNPaI-0003Cj-RH
	for bug-diffutils@gnu.org; Wed, 03 Apr 2013 11:26:50 -0400
Received: from smtp.cs.ucla.edu ([131.179.128.62]:36982)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1UNPaI-0003BP-Ey
	for bug-diffutils@gnu.org; Wed, 03 Apr 2013 11:26:46 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.cs.ucla.edu (Postfix) with ESMTP id 701B539E8109;
	Wed,  3 Apr 2013 08:26:39 -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 yMy4bfi5rDW1; Wed,  3 Apr 2013 08:26:35 -0700 (PDT)
Received: from [192.168.1.9] (pool-71-189-154-249.lsanca.fios.verizon.net
	[71.189.154.249])
	by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 3224739E8105;
	Wed,  3 Apr 2013 08:26:35 -0700 (PDT)
Message-ID: <515C4A2A.3020201@cs.ucla.edu>
Date: Wed, 03 Apr 2013 08:26:34 -0700
From: Paul Eggert <eggert@cs.ucla.edu>
Organization: UCLA Computer Science Department
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/20130308 Thunderbird/17.0.4
MIME-Version: 1.0
To: Santiago Vila <sanvila@unex.es>
References: <alpine.DEB.2.02.1304031315050.26406@cantor.unex.es>
In-Reply-To: <alpine.DEB.2.02.1304031315050.26406@cantor.unex.es>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
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, Errembault Philippe <philippe_errembault@yahoo.fr>,
	704182-forwarded@bugs.debian.org
Subject: Re: [bug-diffutils] Bug#704182: diffutils: Diff -r will confusion
 between asian characters in filenames,
 when locale are non asian - UTF-8. (fwd)
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Apr 2013 15:26:55 -0000

Thanks for reminding me about that problem.  I've pushed the following pa=
tches.
The first two are merely tuning and reorganization; the third one does th=
e
real work.

>From 37bffc430560df85029b2cacda65893542f0d455 Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Wed, 3 Apr 2013 07:48:22 -0700
Subject: [PATCH 1/3] diff: tune compare_names_for_qsort

* src/dir.c (compare_collated): New function.
(compare_names): Use it.
(compare_names_for_qsort): Use it.  This is a bit more efficient
as it can avoid a double invocation of file_name_cmp when
file_name_cmp returns zero.
---
 src/dir.c | 49 +++++++++++++++++++++++++++++++------------------
 1 file changed, 31 insertions(+), 18 deletions(-)

diff --git a/src/dir.c b/src/dir.c
index 7f647b0..fc42f62 100644
--- a/src/dir.c
+++ b/src/dir.c
@@ -140,28 +140,34 @@ dir_read (struct file_data const *dir, struct dirda=
ta *dirdata)
   return true;
 }
=20
-/* Compare file names, returning a value compatible with strcmp.  */
+/* Compare strings in a locale-specific way, returning a value
+   compatible with strcmp.  */
=20
 static int
-compare_names (char const *name1, char const *name2)
+compare_collated (char const *name1, char const *name2)
 {
-  if (locale_specific_sorting)
+  int r;
+  errno =3D 0;
+  if (ignore_file_name_case)
+    r =3D strcasecoll (name1, name2);
+  else
+    r =3D strcoll (name1, name2);
+  if (errno)
     {
-      int r;
-      errno =3D 0;
-      if (ignore_file_name_case)
-	r =3D strcasecoll (name1, name2);
-      else
-	r =3D strcoll (name1, name2);
-      if (errno)
-	{
-	  error (0, errno, _("cannot compare file names '%s' and '%s'"),
-		 name1, name2);
-	  longjmp (failed_locale_specific_sorting, 1);
-	}
-      return r;
+      error (0, errno, _("cannot compare file names '%s' and '%s'"),
+	     name1, name2);
+      longjmp (failed_locale_specific_sorting, 1);
     }
+  return r;
+}
+
+/* Compare file names, returning a value compatible with strcmp.  */
=20
+static int
+compare_names (char const *name1, char const *name2)
+{
+  if (locale_specific_sorting)
+    return compare_collated (name1, name2);
   return file_name_cmp (name1, name2);
 }
=20
@@ -173,8 +179,15 @@ compare_names_for_qsort (void const *file1, void con=
st *file2)
 {
   char const *const *f1 =3D file1;
   char const *const *f2 =3D file2;
-  int diff =3D compare_names (*f1, *f2);
-  return diff ? diff : file_name_cmp (*f1, *f2);
+  char const *name1 =3D *f1;
+  char const *name2 =3D *f2;
+  if (locale_specific_sorting)
+    {
+      int diff =3D compare_collated (name1, name2);
+      if (diff)
+	return diff;
+    }
+  return file_name_cmp (name1, name2);
 }
 =0C
 /* Compare the contents of two directories named in CMP.
--=20
1.7.11.7


>From 73482f40100760b276d383ed0a588ce13a3d52b4 Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Wed, 3 Apr 2013 07:51:33 -0700
Subject: [PATCH 2/3] diff: remove unnecessary decl

* src/dir.c (compare_names_for_qsort): Remove declaration.
Not needed now that we assume C89.
---
 src/dir.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/dir.c b/src/dir.c
index fc42f62..21b1935 100644
--- a/src/dir.c
+++ b/src/dir.c
@@ -45,7 +45,6 @@ static bool locale_specific_sorting;
 static jmp_buf failed_locale_specific_sorting;
=20
 static bool dir_loop (struct comparison const *, int);
-static int compare_names_for_qsort (void const *, void const *);
=20
=20
 /* Read a directory and get its vector of names.  */
--=20
1.7.11.7


>From e82f540d1134ba3d30434024e6fc9aea8ec71cf1 Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Wed, 3 Apr 2013 08:20:31 -0700
Subject: [PATCH 3/3] diff: fix bug with Asian file names

Problem reported by Errembault Philippe in:
http://lists.gnu.org/archive/html/bug-diffutils/2013-03/msg00012.html
* NEWS: Document this.
* src/dir.c (compare_names): Fall back on file_name_cmp if
compare_collated returns 0, unless ignoring file name case.
(diff_dirs): Don't bother with the O(N**2) stuff unless ignoring
file name case.
* tests/Makefile.am (TESTS): Add strcoll-0-names.
* tests/strcoll-0-names: New file.
---
 NEWS                  |  7 +++++++
 src/dir.c             |  8 ++++++--
 tests/Makefile.am     |  1 +
 tests/strcoll-0-names | 25 +++++++++++++++++++++++++
 4 files changed, 39 insertions(+), 2 deletions(-)
 create mode 100755 tests/strcoll-0-names

diff --git a/NEWS b/NEWS
index ac7a75e..79517f2 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,13 @@ GNU diffutils NEWS                                    -*=
- outline -*-
=20
 * Noteworthy changes in release ?.? (????-??-??) [?]
=20
+** Bug fixes
+
+  Unless the --ignore-file-name-case option is used, diff now
+  considers file names to be equal only if they are byte-for-byte
+  equivalent.  This fixes a bug where diff in an English locale might
+  consider two Asian file names to be the same merely because they
+  contain no English characters.
=20
 * Noteworthy changes in release 3.3 (2013-03-24) [stable]
=20
diff --git a/src/dir.c b/src/dir.c
index 21b1935..d3b0a2d 100644
--- a/src/dir.c
+++ b/src/dir.c
@@ -166,7 +166,11 @@ static int
 compare_names (char const *name1, char const *name2)
 {
   if (locale_specific_sorting)
-    return compare_collated (name1, name2);
+    {
+      int diff =3D compare_collated (name1, name2);
+      if (diff || ignore_file_name_case)
+	return diff;
+    }
   return file_name_cmp (name1, name2);
 }
=20
@@ -271,7 +275,7 @@ diff_dirs (struct comparison const *cmp,
 	     O(N**2), where N is the number of names in a directory
 	     that compare_names says are all equal, but in practice N
 	     is so small it's not worth tuning.  */
-	  if (nameorder =3D=3D 0)
+	  if (nameorder =3D=3D 0 && ignore_file_name_case)
 	    {
 	      int raw_order =3D file_name_cmp (*names[0], *names[1]);
 	      if (raw_order !=3D 0)
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 5cbcfb4..dd2d514 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -12,6 +12,7 @@ TESTS =3D \
   no-dereference \
   no-newline-at-eof \
   stdin \
+  strcoll-0-names \
   filename-quoting
=20
 EXTRA_DIST =3D \
diff --git a/tests/strcoll-0-names b/tests/strcoll-0-names
new file mode 100755
index 0000000..33c4a3c
--- /dev/null
+++ b/tests/strcoll-0-names
@@ -0,0 +1,25 @@
+#!/bin/sh
+# Check that diff responds well with two different file names
+# that compare equal with strcoll.  See:
+# http://lists.gnu.org/archive/html/bug-diffutils/2013-03/msg00012.html
+
+. "${srcdir=3D.}/init.sh"; path_prepend_ ../src
+
+# These two names compare equal in the en_US.UTF-8 locale
+# in current (2013) versions of glibc.
+# On systems where the names do not compare equal,
+# this diff test should still do the right thing.
+LC_ALL=3Den_US.UTF-8
+export LC_ALL
+name1=3D'=E3=82=A8=E3=83=B3=E3=83=89=E3=82=AB=E3=83=BC=E3=83=891'
+name2=3D'=E3=83=96=E3=83=83=E3=82=AF=E3=83=AC=E3=83=83=E3=83=881'
+
+mkdir d1 d2 || fail=3D1
+echo x >d1/"$name1" || fail=3D1
+echo x >d2/"$name2" || fail=3D1
+
+# This should report a difference, but on the affected systems
+# diffutils 3.3 does not.
+diff d1 d2 && fail=3D1
+
+Exit $fail
--=20
1.7.11.7



From MAILER-DAEMON Wed Apr 24 07:36:23 2013
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1UUxzr-0007wn-K2
	for mharc-bug-diffutils@gnu.org; Wed, 24 Apr 2013 07:36:23 -0400
Received: from eggs.gnu.org ([208.118.235.92]:58846)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <stefano.lattarini@gmail.com>) id 1UUxzo-0007w6-E1
	for bug-diffutils@gnu.org; Wed, 24 Apr 2013 07:36:22 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <stefano.lattarini@gmail.com>) id 1UUxzn-0007Ui-15
	for bug-diffutils@gnu.org; Wed, 24 Apr 2013 07:36:20 -0400
Received: from mail-ea0-x229.google.com ([2a00:1450:4013:c01::229]:36408)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <stefano.lattarini@gmail.com>) id 1UUxzm-0007UZ-Os
	for bug-diffutils@gnu.org; Wed, 24 Apr 2013 07:36:18 -0400
Received: by mail-ea0-f169.google.com with SMTP id d10so229241eaj.0
	for <bug-diffutils@gnu.org>; Wed, 24 Apr 2013 04:36:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=x-received:message-id:date:from:mime-version:to:subject
	:content-type:content-transfer-encoding;
	bh=wJZCX7+Tlh2N5yRqM5qH/evRGS/kisdTAx9r5zaZCC0=;
	b=n3UvhGVR5LM/bmVrnobB1wqBOhYEIFUUxvgarhXfk9ySTYhCD558tCPtHD1/2KPPD3
	G0I9ugLxcoCpSiQXSLQVWxmvCIrcajfWrf806RDPw3dJQvHuRGTHgdruQJWTYSpS22Wb
	jG5EKNlNFwiBwDJuuC66Vj/crBkRSWo/T2uGDPv17GWhBf4vKYjFsv7wGRQ5NYV+UD1S
	wi8gPzJYrBalqOf+5JGS3JWoqCW1CsR/nUcgOHcle9Vm5vn3agiyQzQB7qvFOk8t9L9f
	riKhcqGfFSbnAw11rOU1gDWOG/J8MfC85YZPS7CUyhkuXu9zB1gT3Kj4omhv7urRpSI9
	K+kA==
X-Received: by 10.14.39.5 with SMTP id c5mr62881104eeb.27.1366803377749;
	Wed, 24 Apr 2013 04:36:17 -0700 (PDT)
Received: from [192.168.178.20]
	(host93-95-dynamic.6-79-r.retail.telecomitalia.it. [79.6.95.93])
	by mx.google.com with ESMTPSA id f9sm3554211eeu.11.2013.04.24.04.36.15
	for <bug-diffutils@gnu.org>
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Wed, 24 Apr 2013 04:36:16 -0700 (PDT)
Message-ID: <5177C3AE.9070903@gmail.com>
Date: Wed, 24 Apr 2013 13:36:14 +0200
From: Stefano Lattarini <stefano.lattarini@gmail.com>
MIME-Version: 1.0
To: bug-diffutils@gnu.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
	(bad octet value).
X-Received-From: 2a00:1450:4013:c01::229
Subject: [bug-diffutils] Problem building from bootstrapped git checkout
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 24 Apr 2013 11:36:22 -0000

Due to this error:

make[2]: Entering directory '/storage/home/stefano/bleeding/src/diffutils/lib'
  CC       allocator.o
  CC       areadlink.o
  CC       binary-io.o
  CC       bitrotate.o
  CC       c-ctype.o
  CC       c-stack.o
  CC       c-strcasecmp.o
  CC       c-strncasecmp.o
  CC       careadlinkat.o
  CC       dirname.o
  CC       basename.o
  CC       dirname-lgpl.o
c-stack.c: In function 'segv_handler':
c-stack.c:163:12: error: function might be candidate for attribute 'pure' if \
   it is known to return normally [-Werror=suggest-attribute=pure]
cc1: all warnings being treated as errors
Makefile:1531: recipe for target 'c-stack.o' failed
make[2]: *** [c-stack.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/storage/home/stefano/bleeding/src/diffutils/lib'
Makefile:1684: recipe for target 'check' failed

I'm using GCC 4.7.2 on a Debian system (unstable).  Let me know if you need
more information.

Of course, the issue disappears if I run configure with the
'--disable-gcc-warnings' option, so this isn't s show-stopper.

Regards,
  Stefano



From MAILER-DAEMON Mon Apr 29 00:03:38 2013
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1UWfJS-0003Am-Mj
	for mharc-bug-diffutils@gnu.org; Mon, 29 Apr 2013 00:03:38 -0400
Received: from eggs.gnu.org ([208.118.235.92]:57656)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1UWfJN-0003AM-7K
	for bug-diffutils@gnu.org; Mon, 29 Apr 2013 00:03:37 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1UWfJH-0000x8-BF
	for bug-diffutils@gnu.org; Mon, 29 Apr 2013 00:03:33 -0400
Received: from smtp.cs.ucla.edu ([131.179.128.62]:42217)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1UWfJH-0000ww-5M
	for bug-diffutils@gnu.org; Mon, 29 Apr 2013 00:03:27 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.cs.ucla.edu (Postfix) with ESMTP id 720DF39E8105
	for <bug-diffutils@gnu.org>; Sun, 28 Apr 2013 21:03:26 -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 mjLoRBZWtxun for <bug-diffutils@gnu.org>;
	Sun, 28 Apr 2013 21:03:25 -0700 (PDT)
Received: from [192.168.1.9] (pool-71-189-154-249.lsanca.fios.verizon.net
	[71.189.154.249])
	by smtp.cs.ucla.edu (Postfix) with ESMTPSA id E310E39E8008
	for <bug-diffutils@gnu.org>; Sun, 28 Apr 2013 21:03:25 -0700 (PDT)
Message-ID: <517DF10D.5020306@cs.ucla.edu>
Date: Sun, 28 Apr 2013 21:03:25 -0700
From: Paul Eggert <eggert@cs.ucla.edu>
Organization: UCLA Computer Science Department
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/20130404 Thunderbird/17.0.5
MIME-Version: 1.0
To: "bug-diffutils@gnu.org" <bug-diffutils@gnu.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
Subject: [bug-diffutils] updated gnulib to latest in diffutils
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Apr 2013 04:03:37 -0000

I updated gnulib to the latest version, in diffutils,
to take advantage of this recent gnulib patch:

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

to work around a bug in Sun c99.


