From MAILER-DAEMON Fri Mar 22 00:42:11 2013
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1UItnv-00021e-TQ
	for mharc-bug-diffutils@gnu.org; Fri, 22 Mar 2013 00:42:11 -0400
Received: from eggs.gnu.org ([208.118.235.92]:56230)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1UItnt-00020Z-Gt
	for bug-diffutils@gnu.org; Fri, 22 Mar 2013 00:42:10 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1UItns-0000Ly-4Q
	for bug-diffutils@gnu.org; Fri, 22 Mar 2013 00:42:09 -0400
Received: from mx.meyering.net ([88.168.87.75]:47212)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1UItnr-0000La-Me
	for bug-diffutils@gnu.org; Fri, 22 Mar 2013 00:42:08 -0400
Received: from rho.meyering.net (rho.meyering.net [127.0.0.1])
	by rho.meyering.net (Acme Bit-Twister) with ESMTP id 00E78600EE
	for <bug-diffutils@gnu.org>; Fri, 22 Mar 2013 05:42:06 +0100 (CET)
From: Jim Meyering <jim@meyering.net>
To: bug-diffutils@gnu.org
Date: Fri, 22 Mar 2013 05:42:05 +0100
Message-ID: <87r4j8qc4i.fsf@rho.meyering.net>
Lines: 178
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
Subject: [bug-diffutils] [PATCH] build: update gnulib to latest and adapt;
 update bootstrap, too
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, 22 Mar 2013 04:42:11 -0000

FYI,

>From 90fd310a7865bf4ae695aaab0f21a9ab71f849f8 Mon Sep 17 00:00:00 2001
From: Jim Meyering <jim@meyering.net>
Date: Fri, 22 Mar 2013 04:39:25 +0100
Subject: [PATCH] build: update gnulib to latest and adapt; update bootstrap,
 too

Blindly updating to the latest from gnulib, bootstrap would
fail due to failure of our local patches to apply.  Hence,
these first two updates.
* gl/lib/regex_internal.c.diff: Update offsets, so this patch
applies to the latest from gnulib.
* gl/lib/regex_internal.h.diff: Remove file.  No longer needed.
* bootstrap: Update from gnulib.
---
 bootstrap                    | 57 ++++++++++++++++++++++----------------------
 gl/lib/regex_internal.c.diff |  4 ++--
 gl/lib/regex_internal.h.diff | 14 -----------
 gnulib                       |  2 +-
 4 files changed, 32 insertions(+), 45 deletions(-)
 delete mode 100644 gl/lib/regex_internal.h.diff

diff --git a/bootstrap b/bootstrap
index 48181c9..bee7765 100755
--- a/bootstrap
+++ b/bootstrap
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Print a version string.
-scriptversion=2012-07-19.14; # UTC
+scriptversion=2013-01-20.16; # UTC

 # Bootstrap this package from checked-out sources.

@@ -306,34 +306,34 @@ if test -n "$checkout_only_file" && test ! -r "$checkout_only_file"; then
   die "Bootstrapping from a non-checked-out distribution is risky."
 fi

-# Ensure that lines starting with ! sort last, per gitignore conventions
-# for whitelisting exceptions after a more generic blacklist pattern.
-sort_patterns() {
-  sort -u "$@" | sed '/^!/ {
-    H
-    d
-  }
-  $ {
-    P
-    x
-    s/^\n//
-  }' | sed '/^$/d'
+# Strip blank and comment lines to leave significant entries.
+gitignore_entries() {
+  sed '/^#/d; /^$/d' "$@"
 }

-# If $STR is not already on a line by itself in $FILE, insert it,
-# sorting the new contents of the file and replacing $FILE with the result.
-insert_sorted_if_absent() {
+# If $STR is not already on a line by itself in $FILE, insert it at the start.
+# Entries are inserted at the start of the ignore list to ensure existing
+# entries starting with ! are not overridden.  Such entries support
+# whitelisting exceptions after a more generic blacklist pattern.
+insert_if_absent() {
   file=$1
   str=$2
   test -f $file || touch $file
-  echo "$str" | sort_patterns - $file | cmp -s - $file > /dev/null \
-    || { echo "$str" | sort_patterns - $file > $file.bak \
-      && mv $file.bak $file; } \
-    || die "insert_sorted_if_absent $file $str: failed"
+  test -r $file || die "Error: failed to read ignore file: $file"
+  duplicate_entries=$(gitignore_entries $file | sort | uniq -d)
+  if [ "$duplicate_entries" ] ; then
+    die "Error: Duplicate entries in $file: " $duplicate_entries
+  fi
+  linesold=$(gitignore_entries $file | wc -l)
+  linesnew=$(echo "$str" | gitignore_entries - $file | sort -u | wc -l)
+  if [ $linesold != $linesnew ] ; then
+    { echo "$str" | cat - $file > $file.bak && mv $file.bak $file; } \
+      || die "insert_if_absent $file $str: failed"
+  fi
 }

 # Adjust $PATTERN for $VC_IGNORE_FILE and insert it with
-# insert_sorted_if_absent.
+# insert_if_absent.
 insert_vc_ignore() {
   vc_ignore_file="$1"
   pattern="$2"
@@ -344,7 +344,7 @@ insert_vc_ignore() {
     # .gitignore entry.
     pattern=$(echo "$pattern" | sed s,^,/,);;
   esac
-  insert_sorted_if_absent "$vc_ignore_file" "$pattern"
+  insert_if_absent "$vc_ignore_file" "$pattern"
 }

 # Die if there is no AC_CONFIG_AUX_DIR($build_aux) line in configure.ac.
@@ -889,20 +889,21 @@ find "$m4_base" "$source_base" \
   -depth \( -name '*.m4' -o -name '*.[ch]' \) \
   -type l -xtype l -delete > /dev/null 2>&1

+# Invoke autoreconf with --force --install to ensure upgrades of tools
+# such as ylwrap.
+AUTORECONFFLAGS="--verbose --install --force -I $m4_base $ACLOCAL_FLAGS"
+
 # Some systems (RHEL 5) are using ancient autotools, for which the
 # --no-recursive option had not been invented.  Detect that lack and
 # omit the option when it's not supported.  FIXME in 2017: remove this
 # hack when RHEL 5 autotools are updated, or when they become irrelevant.
-no_recursive=
 case $($AUTORECONF --help) in
-  *--no-recursive*) no_recursive=--no-recursive;;
+  *--no-recursive*) AUTORECONFFLAGS="$AUTORECONFFLAGS --no-recursive";;
 esac

 # Tell autoreconf not to invoke autopoint or libtoolize; they were run above.
-echo "running: AUTOPOINT=true LIBTOOLIZE=true " \
-    "$AUTORECONF --verbose --install $no_recursive -I $m4_base $ACLOCAL_FLAGS"
-AUTOPOINT=true LIBTOOLIZE=true \
-    $AUTORECONF --verbose --install $no_recursive -I $m4_base $ACLOCAL_FLAGS \
+echo "running: AUTOPOINT=true LIBTOOLIZE=true $AUTORECONF $AUTORECONFFLAGS"
+AUTOPOINT=true LIBTOOLIZE=true $AUTORECONF $AUTORECONFFLAGS \
   || die "autoreconf failed"

 # Get some extra files from gnulib, overriding existing files.
diff --git a/gl/lib/regex_internal.c.diff b/gl/lib/regex_internal.c.diff
index 2cede3c..40b0f55 100644
--- a/gl/lib/regex_internal.c.diff
+++ b/gl/lib/regex_internal.c.diff
@@ -2,7 +2,7 @@ diff --git a/lib/regex_internal.c b/lib/regex_internal.c
 index 904b88e..61c8d9d 100644
 --- a/lib/regex_internal.c
 +++ b/lib/regex_internal.c
-@@ -18,6 +18,8 @@
+@@ -17,6 +17,8 @@
     with this program; if not, write to the Free Software Foundation,
     Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */

@@ -11,7 +11,7 @@ index 904b88e..61c8d9d 100644
  static void re_string_construct_common (const char *str, Idx len,
  					re_string_t *pstr,
  					RE_TRANSLATE_TYPE trans, bool icase,
-@@ -1390,7 +1392,10 @@ static void
+@@ -1394,7 +1396,10 @@ static void
  internal_function
  re_node_set_remove_at (re_node_set *set, Idx idx)
  {
diff --git a/gl/lib/regex_internal.h.diff b/gl/lib/regex_internal.h.diff
deleted file mode 100644
index d1506a6..0000000
--- a/gl/lib/regex_internal.h.diff
+++ /dev/null
@@ -1,14 +0,0 @@
-diff --git i/lib/regex_internal.h w/lib/regex_internal.h
-index 859832f..3c7fe06 100644
---- i/lib/regex_internal.h
-+++ w/lib/regex_internal.h
-@@ -826,7 +826,8 @@ re_string_wchar_at (const re_string_t *pstr, Idx idx)
-
- static int
- internal_function __attribute ((pure))
--re_string_elem_size_at (const re_string_t *pstr, Idx idx)
-+re_string_elem_size_at (const re_string_t *pstr _UNUSED_PARAMETER_,
-+			Idx idx _UNUSED_PARAMETER_)
- {
- # ifdef _LIBC
-   const unsigned char *p, *extra;
diff --git a/gnulib b/gnulib
index f782c0f..db9cad7 160000
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit f782c0f66728e636e98214c33e55de063f00f113
+Subproject commit db9cad7b8b59a010ff9158513a29cb002a2b8ae1
--
1.8.2


From MAILER-DAEMON Fri Mar 22 00:42:20 2013
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1UIto4-00023R-2h
	for mharc-bug-diffutils@gnu.org; Fri, 22 Mar 2013 00:42:20 -0400
Received: from eggs.gnu.org ([208.118.235.92]:56300)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1UIto2-00023D-5G
	for bug-diffutils@gnu.org; Fri, 22 Mar 2013 00:42:19 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1UIto1-0000Oy-7K
	for bug-diffutils@gnu.org; Fri, 22 Mar 2013 00:42:18 -0400
Received: from mx.meyering.net ([88.168.87.75]:47217)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1UIto1-0000Oq-0G
	for bug-diffutils@gnu.org; Fri, 22 Mar 2013 00:42:17 -0400
Received: from rho.meyering.net (rho.meyering.net [127.0.0.1])
	by rho.meyering.net (Acme Bit-Twister) with ESMTP id 4760F600EE;
	Fri, 22 Mar 2013 05:42:16 +0100 (CET)
From: Jim Meyering <jim@meyering.net>
To: bug-diffutils@gnu.org
Date: Fri, 22 Mar 2013 05:42:16 +0100
Message-ID: <87mwtwqc47.fsf@rho.meyering.net>
Lines: 31
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
Subject: [bug-diffutils] I'd like to release 3.3
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, 22 Mar 2013 04:42:19 -0000

Hello,

I want to release diffutils-3.3, primarily to make it so
the latest release is not susceptible to CVE-2012-3386.

Here's the current state of 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.

If anyone has issues for which a release should be delayed,
please speak up.

Otherwise, I'll probably tag the release in the next few days.

As I type this, I'm updating to latest gnulib+bootstrap,
but don't plan any other changes.

Jim


From MAILER-DAEMON Fri Mar 22 01:18:58 2013
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1UIuNW-0007lw-NK
	for mharc-bug-diffutils@gnu.org; Fri, 22 Mar 2013 01:18:58 -0400
Received: from eggs.gnu.org ([208.118.235.92]:34295)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1UIuNU-0007lp-48
	for bug-diffutils@gnu.org; Fri, 22 Mar 2013 01:18:57 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1UIuNS-0002rk-TG
	for bug-diffutils@gnu.org; Fri, 22 Mar 2013 01:18:56 -0400
Received: from smtp.cs.ucla.edu ([131.179.128.62]:47851)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1UIuNS-0002rd-NM
	for bug-diffutils@gnu.org; Fri, 22 Mar 2013 01:18:54 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.cs.ucla.edu (Postfix) with ESMTP id C162739E8100;
	Thu, 21 Mar 2013 22:18:53 -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 DTlxzGhvsNFz; Thu, 21 Mar 2013 22:18:48 -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 C228A39E8008;
	Thu, 21 Mar 2013 22:18:48 -0700 (PDT)
Message-ID: <514BE9B6.2090009@cs.ucla.edu>
Date: Thu, 21 Mar 2013 22:18:46 -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: Jim Meyering <jim@meyering.net>
References: <87mwtwqc47.fsf@rho.meyering.net>
In-Reply-To: <87mwtwqc47.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.x
X-Received-From: 131.179.128.62
Cc: bug-diffutils@gnu.org
Subject: Re: [bug-diffutils] I'd like to release 3.3
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, 22 Mar 2013 05:18:57 -0000

On 03/21/2013 09:42 PM, Jim Meyering wrote:
> If anyone has issues for which a release should be delayed,
> please speak up.

I've had problems with bootstrapping for quite some time
and that should probably get fixed.
Bootstrapping doesn't work for me, does it for you?
Here's what I get:

$ ./bootstrap --gnulib-srcdir=../gnulib
./bootstrap: Bootstrapping from checked-out diffutils sources...
./bootstrap: consider installing git-merge-changelog from gnulib
./bootstrap: getting gnulib files...
./bootstrap: getting translations into po/.reference for diffutils...
rsync: getaddrinfo: translationproject.org 873: Name or service not known
rsync error: error in socket IO (code 10) at clientserver.c(122) [Receiver=3.0.9]


When I work around that by bootstrapping with --skip-po, I see
this (autoconf 2.68, automake 1.13.1, gettext 0.18.2):

$ ./bootstrap --gnulib-srcdir=../gnulib --skip-po
...
configure.ac:163: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and will soon be removed.
configure.ac:163: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead,
configure.ac:163: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.

Apparently it's overwriting a new version of m4/intl.m4 with an obsolete one...

These days bootstrap is so complicated and slow
that I kinda lost track of everything it's doing.
Maybe it's time to switch to Gary's version, for diffutils?


From MAILER-DAEMON Fri Mar 22 12:32:05 2013
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1UJ4sv-00022A-Ku
	for mharc-bug-diffutils@gnu.org; Fri, 22 Mar 2013 12:32:05 -0400
Received: from eggs.gnu.org ([208.118.235.92]:51153)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1UJ4ss-000212-Fy
	for bug-diffutils@gnu.org; Fri, 22 Mar 2013 12:32:04 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1UJ4sn-0007YT-Ib
	for bug-diffutils@gnu.org; Fri, 22 Mar 2013 12:32:02 -0400
Received: from mx.meyering.net ([88.168.87.75]:48074)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1UJ4sn-0007Y4-AT
	for bug-diffutils@gnu.org; Fri, 22 Mar 2013 12:31:57 -0400
Received: from rho.meyering.net (rho.meyering.net [127.0.0.1])
	by rho.meyering.net (Acme Bit-Twister) with ESMTP id 0C94A60176;
	Fri, 22 Mar 2013 17:31:56 +0100 (CET)
From: Jim Meyering <jim@meyering.net>
To: Paul Eggert <eggert@cs.ucla.edu>
In-Reply-To: <514BE9B6.2090009@cs.ucla.edu> (Paul Eggert's message of "Thu, 21
	Mar 2013 22:18:46 -0700")
References: <87mwtwqc47.fsf@rho.meyering.net> <514BE9B6.2090009@cs.ucla.edu>
Date: Fri, 22 Mar 2013 17:31:56 +0100
Message-ID: <87a9pvqttv.fsf@rho.meyering.net>
Lines: 57
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] I'd like to release 3.3
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, 22 Mar 2013 16:32:04 -0000

Paul Eggert wrote:

> On 03/21/2013 09:42 PM, Jim Meyering wrote:
>> If anyone has issues for which a release should be delayed,
>> please speak up.
>
> I've had problems with bootstrapping for quite some time
> and that should probably get fixed.
> Bootstrapping doesn't work for me, does it for you?
> Here's what I get:
>
> $ ./bootstrap --gnulib-srcdir=../gnulib
> ./bootstrap: Bootstrapping from checked-out diffutils sources...
> ./bootstrap: consider installing git-merge-changelog from gnulib
> ./bootstrap: getting gnulib files...
> ./bootstrap: getting translations into po/.reference for diffutils...
> rsync: getaddrinfo: translationproject.org 873: Name or service not known
> rsync error: error in socket IO (code 10) at clientserver.c(122) [Receiver=3.0.9]

Hi Paul,

That's odd.  I haven't seen that problem.
It definitely worked fine for me last night.
Network connectivity?

> When I work around that by bootstrapping with --skip-po, I see
> this (autoconf 2.68, automake 1.13.1, gettext 0.18.2):
>
> $ ./bootstrap --gnulib-srcdir=../gnulib --skip-po
> ...
> configure.ac:163: warning: The 'AM_PROG_MKDIR_P' macro is deprecated,
> and will soon be removed.
> configure.ac:163: You should use the Autoconf-provided
> AC_PROG_MKDIR_P' macro instead,
> configure.ac:163: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your
> Makefile.am files.
>
> Apparently it's overwriting a new version of m4/intl.m4 with an obsolete one...

I haven't investigated that for some time, but thought it was
due to my (personal) use of gettext that's a little older than the
latest, in which I presume that offending macro use has been removed.
I'll install the latest tonight, and see if that resolves the problem.

> These days bootstrap is so complicated and slow
> that I kinda lost track of everything it's doing.
> Maybe it's time to switch to Gary's version, for diffutils?

Is it faster?
Last time I looked, I had reservations:
  - I do not like the idea of more than doubling the line count
  - I found many of the idioms used to be unnecessarily unreadable,
      I'm sure they're fine when your target shell is some least
      common denominator, but not appropriate for a maintainer/developer
      tool where we can (must!) assume a modern shell.

Too bad the python rewrite appears to have fizzled.


From MAILER-DAEMON Sat Mar 23 03:32:48 2013
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1UJIwa-0002JL-Ii
	for mharc-bug-diffutils@gnu.org; Sat, 23 Mar 2013 03:32:48 -0400
Received: from eggs.gnu.org ([208.118.235.92]:38369)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1UJIwY-0002If-5S
	for bug-diffutils@gnu.org; Sat, 23 Mar 2013 03:32:47 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1UJIwW-0007lR-Gt
	for bug-diffutils@gnu.org; Sat, 23 Mar 2013 03:32:46 -0400
Received: from smtp.cs.ucla.edu ([131.179.128.62]:52371)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1UJIwW-0007kj-5A
	for bug-diffutils@gnu.org; Sat, 23 Mar 2013 03:32:44 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.cs.ucla.edu (Postfix) with ESMTP id 35397A60001;
	Sat, 23 Mar 2013 00:32:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu
Received: from smtp.cs.ucla.edu ([127.0.0.1])
	by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id GCOhOAH3ZsYK; Sat, 23 Mar 2013 00:32:34 -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 6E54F39E8008;
	Sat, 23 Mar 2013 00:32:34 -0700 (PDT)
Message-ID: <514D5A92.6050309@cs.ucla.edu>
Date: Sat, 23 Mar 2013 00:32: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: Jim Meyering <jim@meyering.net>
References: <87mwtwqc47.fsf@rho.meyering.net> <514BE9B6.2090009@cs.ucla.edu>
	<87a9pvqttv.fsf@rho.meyering.net>
In-Reply-To: <87a9pvqttv.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.x
X-Received-From: 131.179.128.62
Cc: bug-diffutils@gnu.org
Subject: Re: [bug-diffutils] I'd like to release 3.3
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, 23 Mar 2013 07:32:47 -0000

On 03/22/2013 09:31 AM, Jim Meyering wrote:

> Network connectivity?

Yes, that's what it was.  A corrupted DNS cache, apparently.
(Which leads me to wonder: how trustworthy is that part of
the build procedure, anyway?  But moving on....)

> I haven't investigated that for some time, but thought it was
> due to my (personal) use of gettext that's a little older than the
> latest, in which I presume that offending macro use has been removed.

Unfortunately it was more complicated than that.  Even with a newer
gettext it installed macros from gettext 0.17.  I fiddled with it
and the following patch fixed things for me.  It may be a bit
belt-and-suspenders, in that it insists on 0.18.2 when that
might not strictly be necessary with the other changes I made,
but to some extent I quit while I was ahead.

>From dce7832def4c669225226832f6a34e6e1b6ffea1 Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Sat, 23 Mar 2013 00:21:45 -0700
Subject: [PATCH] maint: update build procedure to recent gettext etc.

* bootstrap.conf (gnulib_modules): Add vararrays.
(needed_gnulib_files, unnecessary_gettext_files): New vars.
(bootstrap_post_import_hook): New function, to implement these vars.
(excluded_files): Remove; 'bootstrap' no longer supports this.
Its function is now performed by unnecessary_gettext_files.
(buildreq): Update automake to 1.12.2, to avoid CVE-2012-3386.
* configure.ac (AM_GNU_GETTEXT_VERSION): Bump from 0.17 to 0.18.2,
to lessen the probability that we'll have outlandishly old files
during a build.
* m4/vararrays.m4: Remove from repository, as we now use the
gnulib version.
---
 bootstrap.conf  | 48 ++++++++++++++++++++++++++++++++++++++----------
 configure.ac    |  2 +-
 m4/vararrays.m4 | 35 -----------------------------------
 3 files changed, 39 insertions(+), 46 deletions(-)
 delete mode 100644 m4/vararrays.m4

diff --git a/bootstrap.conf b/bootstrap.conf
index 00e75e3..240754b 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -73,6 +73,7 @@ system-quote
 unistd
 unlocked-io
 update-copyright
+vararrays
 verify
 version-etc
 version-etc-fsf
@@ -106,18 +107,36 @@ grep '^[	 ]*AM_GNU_GETTEXT(external\>' configure.ac > /dev/null &&
 grep '^[	 ]*AM_GNU_GETTEXT(\[external\]' configure.ac > /dev/null &&
   gettext_external=1
 
+needed_gnulib_files=
+unnecessary_gettext_files=
+
 if test $gettext_external = 1; then
   # Gettext supplies these files, but we don't need them since
   # we don't have an intl subdirectory.
-  excluded_files='
-      m4/glibc2.m4
-      m4/intdiv0.m4
-      m4/lcmessage.m4
-      m4/printf-posix.m4
-      m4/uintmax_t.m4
-      m4/ulonglong.m4
-      m4/visibility.m4
-'
+  unnecessary_gettext_files='
+    m4/glibc2.m4
+    m4/intdiv0.m4
+    m4/intl.m4
+    m4/intldir.m4
+    m4/intmax.m4
+    m4/lcmessage.m4
+    m4/lock.m4
+    m4/printf-posix.m4
+    m4/threadlib.m4
+    m4/uintmax_t.m4
+    m4/visibility.m4
+  '
+
+  # Gettext supplies these files, but the gnulib version of these files
+  # typically is more up-to-date.  We don't use gnulib's gettext module,
+  # as it's too heavyweight, so grab the files one at a time instead.
+  needed_gnulib_files='
+    m4/gettext.m4
+    m4/intlmacosx.m4
+    m4/nls.m4
+    m4/po.m4
+    m4/progtest.m4
+  '
 fi
 
 gnulib_tool_option_extras="--tests-base=gnulib-tests --with-tests
@@ -130,7 +149,7 @@ gnulib_tool_option_extras="--tests-base=gnulib-tests --with-tests
 # Build prerequisites
 buildreq="\
 autoconf   2.61
-automake   1.11
+automake   1.12.2
 autopoint  -
 gettext    -
 git        1.4.4
@@ -145,6 +164,15 @@ tar        -
 # Automake requires that ChangeLog exist.
 touch ChangeLog || exit 1
 
+bootstrap_post_import_hook()
+{
+  for file in $needed_gnulib_files; do
+    echo "$0: $gnulib_tool --copy-file $file $file ..."
+    $gnulib_tool --copy-file $file $file || exit
+  done
+  rm -f $unnecessary_gettext_files || exit
+}
+
 bootstrap_epilogue()
 {
   perl -pi -e "s/\@PACKAGE\@/$package/g" README-release
diff --git a/configure.ac b/configure.ac
index 7d29646..aea40fc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -161,7 +161,7 @@ test -f $srcdir/.tarball-version \
   || SRC_VERSION_C=../src/version.c
 
 AM_GNU_GETTEXT([external], [need-ngettext])
-AM_GNU_GETTEXT_VERSION([0.17])
+AM_GNU_GETTEXT_VERSION([0.18.2])
 XGETTEXT="AWK='$AWK' \$(SHELL) \$(top_srcdir)/exgettext $XGETTEXT"
 
 AC_CONFIG_FILES([
diff --git a/m4/vararrays.m4 b/m4/vararrays.m4
deleted file mode 100644
index bf957ef..0000000
--- a/m4/vararrays.m4
+++ /dev/null
@@ -1,35 +0,0 @@
-# Check for variable-length arrays.
-
-#serial 2
-
-# From Paul Eggert
-
-# Copyright (C) 2001, 2009-2013 Free Software Foundation, Inc.
-
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.
-
-AC_DEFUN([AC_C_VARARRAYS],
-[
-  AC_CACHE_CHECK([for variable-length arrays],
-    ac_cv_c_vararrays,
-    [AC_TRY_COMPILE(
-       [],
-       [static int x; char a[++x]; a[sizeof a - 1] = 0; return a[0];],
-       ac_cv_c_vararrays=yes,
-       ac_cv_c_vararrays=no)])
-  if test $ac_cv_c_vararrays = yes; then
-    AC_DEFINE([HAVE_C_VARARRAYS], [1],
-      [Define to 1 if C supports variable-length arrays.])
-  fi
-])
-- 
1.7.11.7




From MAILER-DAEMON Sat Mar 23 03:33:50 2013
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1UJIxa-0003f8-Eu
	for mharc-bug-diffutils@gnu.org; Sat, 23 Mar 2013 03:33:50 -0400
Received: from eggs.gnu.org ([208.118.235.92]:38558)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1UJIxW-0003Vl-GX
	for bug-diffutils@gnu.org; Sat, 23 Mar 2013 03:33:48 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1UJIxV-0007ux-FB
	for bug-diffutils@gnu.org; Sat, 23 Mar 2013 03:33:46 -0400
Received: from smtp.cs.ucla.edu ([131.179.128.62]:52407)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1UJIxV-0007uo-93
	for bug-diffutils@gnu.org; Sat, 23 Mar 2013 03:33:45 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.cs.ucla.edu (Postfix) with ESMTP id D7967A60001
	for <bug-diffutils@gnu.org>; Sat, 23 Mar 2013 00:33:44 -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 2DGJheceOce1 for <bug-diffutils@gnu.org>;
	Sat, 23 Mar 2013 00:33:44 -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 562FC39E8008
	for <bug-diffutils@gnu.org>; Sat, 23 Mar 2013 00:33:44 -0700 (PDT)
Message-ID: <514D5AD8.1010706@cs.ucla.edu>
Date: Sat, 23 Mar 2013 00:33:44 -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: "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] FYI [PATCH] doc: fix menu typo
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, 23 Mar 2013 07:33:48 -0000

* doc/diffutils.texi (Comparing Three Files): Fix out-of-order menu.
Bug caught by Texinfo 5.0.
---
 doc/diffutils.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/diffutils.texi b/doc/diffutils.texi
index 800d8c5..2d238dc 100644
--- a/doc/diffutils.texi
+++ b/doc/diffutils.texi
@@ -2014,8 +2014,8 @@ their location in the input files.
 @menu
 * Sample diff3 Input::    Sample @command{diff3} input for examples.
 * Example diff3 Normal::  Sample output in the normal format.
-* diff3 Hunks::           The format of normal output format.
 * Detailed diff3 Normal:: A detailed description of normal output format.
+* diff3 Hunks::           The format of normal output format.
 @end menu
 
 @node Sample diff3 Input
-- 
1.7.11.7



From MAILER-DAEMON Sat Mar 23 11:07:47 2013
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1UJQ2t-0000es-Rb
	for mharc-bug-diffutils@gnu.org; Sat, 23 Mar 2013 11:07:47 -0400
Received: from eggs.gnu.org ([208.118.235.92]:39584)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1UJQ2n-0000du-Vi
	for bug-diffutils@gnu.org; Sat, 23 Mar 2013 11:07:46 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1UJQ2j-00032k-51
	for bug-diffutils@gnu.org; Sat, 23 Mar 2013 11:07:41 -0400
Received: from mx.meyering.net ([88.168.87.75]:49582)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1UJQ2i-00032K-Sm
	for bug-diffutils@gnu.org; Sat, 23 Mar 2013 11:07:37 -0400
Received: from rho.meyering.net (rho.meyering.net [127.0.0.1])
	by rho.meyering.net (Acme Bit-Twister) with ESMTP id BBA5E60195;
	Sat, 23 Mar 2013 16:07:34 +0100 (CET)
From: Jim Meyering <jim@meyering.net>
To: Paul Eggert <eggert@cs.ucla.edu>
In-Reply-To: <514D5A92.6050309@cs.ucla.edu> (Paul Eggert's message of "Sat, 23
	Mar 2013 00:32:34 -0700")
References: <87mwtwqc47.fsf@rho.meyering.net> <514BE9B6.2090009@cs.ucla.edu>
	<87a9pvqttv.fsf@rho.meyering.net> <514D5A92.6050309@cs.ucla.edu>
Date: Sat, 23 Mar 2013 16:07:34 +0100
Message-ID: <87ip4ip32h.fsf@rho.meyering.net>
Lines: 40
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] I'd like to release 3.3
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, 23 Mar 2013 15:07:46 -0000

Paul Eggert wrote:

> On 03/22/2013 09:31 AM, Jim Meyering wrote:
>
>> Network connectivity?
>
> Yes, that's what it was.  A corrupted DNS cache, apparently.
> (Which leads me to wonder: how trustworthy is that part of
> the build procedure, anyway?  But moving on....)

Interesting point.
But as you say, moving on...

>> I haven't investigated that for some time, but thought it was
>> due to my (personal) use of gettext that's a little older than the
>> latest, in which I presume that offending macro use has been removed.
>
> Unfortunately it was more complicated than that.  Even with a newer
> gettext it installed macros from gettext 0.17.  I fiddled with it
> and the following patch fixed things for me.  It may be a bit
> belt-and-suspenders, in that it insists on 0.18.2 when that
> might not strictly be necessary with the other changes I made,
> but to some extent I quit while I was ahead.
>
> Subject: [PATCH] maint: update build procedure to recent gettext etc.
>
> * bootstrap.conf (gnulib_modules): Add vararrays.
> (needed_gnulib_files, unnecessary_gettext_files): New vars.
> (bootstrap_post_import_hook): New function, to implement these vars.
> (excluded_files): Remove; 'bootstrap' no longer supports this.
> Its function is now performed by unnecessary_gettext_files.
> (buildreq): Update automake to 1.12.2, to avoid CVE-2012-3386.
> * configure.ac (AM_GNU_GETTEXT_VERSION): Bump from 0.17 to 0.18.2,
> to lessen the probability that we'll have outlandishly old files
> during a build.
> * m4/vararrays.m4: Remove from repository, as we now use the
> gnulib version.

Thank you for doing all that.
With that, I'll plan to release tomorrow.


From MAILER-DAEMON Sun Mar 24 17:37:41 2013
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1UJsbl-0001fi-9D
	for mharc-bug-diffutils@gnu.org; Sun, 24 Mar 2013 17:37:41 -0400
Received: from eggs.gnu.org ([208.118.235.92]:42218)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1UJsbh-0001cF-Vo
	for bug-diffutils@gnu.org; Sun, 24 Mar 2013 17:37:40 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1UJsbg-0007tu-Ta
	for bug-diffutils@gnu.org; Sun, 24 Mar 2013 17:37:37 -0400
Received: from mx.meyering.net ([88.168.87.75]:51855)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1UJsbg-0007tp-MS
	for bug-diffutils@gnu.org; Sun, 24 Mar 2013 17:37:36 -0400
Received: from rho.meyering.net (rho.meyering.net [127.0.0.1])
	by rho.meyering.net (Acme Bit-Twister) with ESMTP id C6BE661D97;
	Sun, 24 Mar 2013 22:37:35 +0100 (CET)
From: Jim Meyering <jim@meyering.net>
To: Denis Excoffier <gcc@Denis-Excoffier.org>
In-Reply-To: <0E9529F0-0DF7-4152-B1C6-8348998C54D6@Denis-Excoffier.org> (Denis
	Excoffier's message of "Sun, 24 Mar 2013 22:06:35 +0100")
References: <87mwtwqc47.fsf@rho.meyering.net>
	<0E9529F0-0DF7-4152-B1C6-8348998C54D6@Denis-Excoffier.org>
Date: Sun, 24 Mar 2013 22:37:35 +0100
Message-ID: <8738vko4ww.fsf@rho.meyering.net>
Lines: 36
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] I'd like to release 3.3
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, 24 Mar 2013 21:37:40 -0000

Denis Excoffier wrote:
> Hello,
>
> On the 2013-03-22 05:42, Jim Meyering wrote:
>
>> Hello,
>>
>> I want to release diffutils-3.3, primarily to make it so
>> the latest release is not susceptible to CVE-2012-3386.
>>
>> Here's the current state of 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.
> Please mention the new --no-dereference option, for which i also suggest to
> add a shortopt('K'). Thanks.
>
> See also http://lists.gnu.org/archive/html/bug-gnu-utils/2009-03/msg00070.html

Thank your for noting that.
That definitely should have been mentioned in 3.3's announcement.
Unfortunately, I released it a few hours before learning
of this omission.

However, we should still fix it in the NEWS file.
Care to write the patch?  If you do, note that you'll
want to run "make update-NEWS-hash" before committing,
otherwise, "make syntax-check" will complain that you've
modified normally-immutable NEWS from a prior release.


From MAILER-DAEMON Sun Mar 24 18:14:51 2013
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1UJtBj-0005Rc-3I
	for mharc-bug-diffutils@gnu.org; Sun, 24 Mar 2013 18:14:51 -0400
Received: from eggs.gnu.org ([208.118.235.92]:38131)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gcc@Denis-Excoffier.org>) id 1UJs7u-0007hu-0c
	for bug-diffutils@gnu.org; Sun, 24 Mar 2013 17:06:52 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gcc@Denis-Excoffier.org>) id 1UJs7r-000823-HW
	for bug-diffutils@gnu.org; Sun, 24 Mar 2013 17:06:49 -0400
Received: from smtp4-g21.free.fr ([2a01:e0c:1:1599::13]:41695)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gcc@Denis-Excoffier.org>) id 1UJs7q-000816-Un
	for bug-diffutils@gnu.org; Sun, 24 Mar 2013 17:06:47 -0400
Received: from [192.168.0.11] (unknown [78.224.52.79])
	by smtp4-g21.free.fr (Postfix) with ESMTP id 058994C8142;
	Sun, 24 Mar 2013 22:06:36 +0100 (CET)
Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\))
Content-Type: text/plain; charset=us-ascii
From: Denis Excoffier <gcc@Denis-Excoffier.org>
In-Reply-To: <87mwtwqc47.fsf@rho.meyering.net>
Date: Sun, 24 Mar 2013 22:06:35 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <0E9529F0-0DF7-4152-B1C6-8348998C54D6@Denis-Excoffier.org>
References: <87mwtwqc47.fsf@rho.meyering.net>
To: bug-diffutils@gnu.org
X-Mailer: Apple Mail (2.1503)
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
	(bad octet value).
X-Received-From: 2a01:e0c:1:1599::13
X-Mailman-Approved-At: Sun, 24 Mar 2013 18:14:49 -0400
Subject: Re: [bug-diffutils] I'd like to release 3.3
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, 24 Mar 2013 21:06:52 -0000

Hello,

On the 2013-03-22 05:42, Jim Meyering wrote:

> Hello,
>=20
> I want to release diffutils-3.3, primarily to make it so
> the latest release is not susceptible to CVE-2012-3386.
>=20
> Here's the current state of NEWS:
>=20
>  ** New features
>=20
>    --new-file (-N) and --unidirectional-new-file now allow comparisons =
to "-".
>    A standard input that's closed acts like a nonexistent file.
>=20
>    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.
Please mention the new --no-dereference option, for which i also suggest =
to
add a shortopt('K'). Thanks.

See also =
http://lists.gnu.org/archive/html/bug-gnu-utils/2009-03/msg00070.html

Regards,

Denis Excoffier.



From MAILER-DAEMON Mon Mar 25 10:29:44 2013
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1UK8PA-0001Y2-5W
	for mharc-bug-diffutils@gnu.org; Mon, 25 Mar 2013 10:29:44 -0400
Received: from eggs.gnu.org ([208.118.235.92]:48636)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Denis.Excoffier@c-s.fr>) id 1UK25S-0000jL-1P
	for bug-diffutils@gnu.org; Mon, 25 Mar 2013 03:45:00 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Denis.Excoffier@c-s.fr>) id 1UK25O-0004pu-KM
	for bug-diffutils@gnu.org; Mon, 25 Mar 2013 03:44:57 -0400
Received: from pegase2.c-s.fr ([93.17.235.10]:39881 helo=mailhub2.si.c-s.fr)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Denis.Excoffier@c-s.fr>) id 1UK25O-0004kn-De
	for bug-diffutils@gnu.org; Mon, 25 Mar 2013 03:44:54 -0400
Received: from localhost (mailhub2-out [172.26.127.67])
	by localhost (Postfix) with ESMTP id E42C9E27F5;
	Mon, 25 Mar 2013 08:33:11 +0100 (CET)
X-Virus-Scanned: amavisd-new at c-s.fr
Received: from mailhub2.si.c-s.fr ([172.26.127.67])
	by localhost (mailhub2.c-s.fr [127.0.0.1]) (amavisd-new, port 10023)
	with ESMTP id RMVAVqfMEHx1; Mon, 25 Mar 2013 08:33:07 +0100 (CET)
Received: from messagerie.si.c-s.fr (messagerie [192.168.25.192])
	by pegase2.c-s.fr (Postfix) with ESMTP id 7B266E27EF;
	Mon, 25 Mar 2013 08:33:07 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by messagerie.si.c-s.fr (Postfix) with ESMTP id 7A848C73C5;
	Mon, 25 Mar 2013 08:44:47 +0100 (CET)
X-Virus-Scanned: amavisd-new at c-s.fr
Received: from messagerie.si.c-s.fr ([127.0.0.1])
	by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new,
	port 10023)
	with ESMTP id NRMMcd01k0Ny; Mon, 25 Mar 2013 08:44:47 +0100 (CET)
Received: from po8371.IDSI0.si.c-s.fr (unknown [172.27.40.201])
	by messagerie.si.c-s.fr (Postfix) with SMTP id 718B5C73C4;
	Mon, 25 Mar 2013 08:44:45 +0100 (CET)
Received: by po8371.IDSI0.si.c-s.fr (sSMTP sendmail emulation);
	Mon, 25 Mar 2013 08:44:19 +0100
Date: Mon, 25 Mar 2013 08:44:19 +0100
From: Denis Excoffier <Denis.Excoffier@c-s.fr>
To: bug-diffutils@gnu.org
Message-ID: <20130325073816.GA2644@qp9482>
References: <87mwtwqc47.fsf@rho.meyering.net>
	<0E9529F0-0DF7-4152-B1C6-8348998C54D6@Denis-Excoffier.org>
	<8738vko4ww.fsf@rho.meyering.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <8738vko4ww.fsf@rho.meyering.net>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 93.17.235.10
X-Mailman-Approved-At: Mon, 25 Mar 2013 10:29:42 -0400
Subject: Re: [bug-diffutils] I'd like to release 3.3
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, 25 Mar 2013 07:45:01 -0000

On Sun, Mar 24, 2013 at 10:37:35PM +0100, Jim Meyering wrote:
>> Denis Excoffier wrote:
>> > Hello,
>> >
>> > On the 2013-03-22 05:42, Jim Meyering wrote:
>> >
>> >> Hello,
>> >>
>> >> I want to release diffutils-3.3, primarily to make it so
>> >> the latest release is not susceptible to CVE-2012-3386.
>> >>
>> >> Here's the current state of NEWS:
>> >>
>> >> (...)
>> > Please mention the new --no-dereference option, for which i also suggest to
>> > add a shortopt('K'). Thanks.
>> >
>> > See also http://lists.gnu.org/archive/html/bug-gnu-utils/2009-03/msg00070.html
>> 
>> Thank your for noting that.
>> That definitely should have been mentioned in 3.3's announcement.
>> Unfortunately, I released it a few hours before learning
>> of this omission.
>> 
>> However, we should still fix it in the NEWS file.
>> Care to write the patch?
>> 
I suppose you should prepare a new issue soon and please apply at
least the patch below for Solaris' /bin/sh that does not accept the
'export A=B' syntax (but after that i still have an error in
help-version, not investigated for now).

I still insist for people to have a shortopt for --no-dereference
(any shortopt is okay in the meantime). I typically use this
functionality from the command line, and --no-dereference (however
rather easily to type in) is too long for me. After -P/-H is
introduced, deprecate '-K'.

Regards,

Denis Excoffier.


diff -uNr diffutils-3.3o/tests/Makefile.in diffutils-3.3p/tests/Makefile.in
--- diffutils-3.3o/tests/Makefile.in	2013-03-24 18:55:17.000000000 +0059
+++ diffutils-3.3p/tests/Makefile.in	2013-03-25 08:04:05.877431000 +0059
@@ -1246,8 +1246,7 @@
 TESTS_ENVIRONMENT = \
   tmp__=$$TMPDIR; test -d "$$tmp__" || tmp__=.;	\
   TMPDIR=$$tmp__; export TMPDIR;		\
-  export					\
-  VERSION='$(VERSION)'				\
+  VERSION='$(VERSION); export VERSION;'				\
   abs_top_builddir='$(abs_top_builddir)'	\
   abs_top_srcdir='$(abs_top_srcdir)'		\
   abs_srcdir='$(abs_srcdir)'			\


From MAILER-DAEMON Mon Mar 25 10:39:41 2013
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1UK8Yn-00012H-Ay
	for mharc-bug-diffutils@gnu.org; Mon, 25 Mar 2013 10:39:41 -0400
Received: from eggs.gnu.org ([208.118.235.92]:53669)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1UK8Yk-0000xw-G7
	for bug-diffutils@gnu.org; Mon, 25 Mar 2013 10:39:39 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1UK8Yi-0000A7-Aq
	for bug-diffutils@gnu.org; Mon, 25 Mar 2013 10:39:38 -0400
Received: from smtp.cs.ucla.edu ([131.179.128.62]:56096)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1UK8Yi-00009z-4F
	for bug-diffutils@gnu.org; Mon, 25 Mar 2013 10:39:36 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.cs.ucla.edu (Postfix) with ESMTP id AD25839E8108;
	Mon, 25 Mar 2013 07:39:35 -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 bMZ0ZAk10bHm; Mon, 25 Mar 2013 07:39: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 6566239E8106;
	Mon, 25 Mar 2013 07:39:35 -0700 (PDT)
Message-ID: <515061A7.9010908@cs.ucla.edu>
Date: Mon, 25 Mar 2013 07:39:35 -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: Denis Excoffier <Denis.Excoffier@c-s.fr>
References: <87mwtwqc47.fsf@rho.meyering.net>
	<0E9529F0-0DF7-4152-B1C6-8348998C54D6@Denis-Excoffier.org>
	<8738vko4ww.fsf@rho.meyering.net> <20130325073816.GA2644@qp9482>
In-Reply-To: <20130325073816.GA2644@qp9482>
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] I'd like to release 3.3
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, 25 Mar 2013 14:39:39 -0000

On 03/25/2013 12:44 AM, Denis Excoffier wrote:
> -  export					\
> -  VERSION='$(VERSION)'				\
> +  VERSION='$(VERSION); export VERSION;'				\

The quotes don't look right there.


From MAILER-DAEMON Mon Mar 25 13:03:49 2013
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1UKAoH-0006ox-Cu
	for mharc-bug-diffutils@gnu.org; Mon, 25 Mar 2013 13:03:49 -0400
Received: from eggs.gnu.org ([208.118.235.92]:40075)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Denis.Excoffier@c-s.fr>) id 1UKAo5-0006jZ-3N
	for bug-diffutils@gnu.org; Mon, 25 Mar 2013 13:03:47 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Denis.Excoffier@c-s.fr>) id 1UKAnz-0002Iq-1R
	for bug-diffutils@gnu.org; Mon, 25 Mar 2013 13:03:37 -0400
Received: from pegase2.c-s.fr ([93.17.235.10]:54894 helo=mailhub2.si.c-s.fr)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Denis.Excoffier@c-s.fr>) id 1UKAny-0002Ib-RK
	for bug-diffutils@gnu.org; Mon, 25 Mar 2013 13:03:30 -0400
Received: from localhost (mailhub2-out [172.26.127.67])
	by localhost (Postfix) with ESMTP id C420DE2834;
	Mon, 25 Mar 2013 17:51:47 +0100 (CET)
X-Virus-Scanned: amavisd-new at c-s.fr
Received: from mailhub2.si.c-s.fr ([172.26.127.67])
	by localhost (mailhub2.c-s.fr [127.0.0.1]) (amavisd-new, port 10023)
	with ESMTP id blbc5KK9yJIx; Mon, 25 Mar 2013 17:51:43 +0100 (CET)
Received: from messagerie.si.c-s.fr (messagerie [192.168.25.192])
	by pegase2.c-s.fr (Postfix) with ESMTP id 89CF2E282D;
	Mon, 25 Mar 2013 17:51:43 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by messagerie.si.c-s.fr (Postfix) with ESMTP id CC6DDC73C5;
	Mon, 25 Mar 2013 18:03:24 +0100 (CET)
X-Virus-Scanned: amavisd-new at c-s.fr
Received: from messagerie.si.c-s.fr ([127.0.0.1])
	by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new,
	port 10023)
	with ESMTP id Nhisb3yLGDfY; Mon, 25 Mar 2013 18:03:24 +0100 (CET)
Received: from po8371.IDSI0.si.c-s.fr (unknown [172.27.40.201])
	by messagerie.si.c-s.fr (Postfix) with SMTP id 5257FC73C4;
	Mon, 25 Mar 2013 18:03:23 +0100 (CET)
Received: by po8371.IDSI0.si.c-s.fr (sSMTP sendmail emulation);
	Mon, 25 Mar 2013 18:02:57 +0100
Date: Mon, 25 Mar 2013 18:02:57 +0059
From: Denis Excoffier <Denis.Excoffier@c-s.fr>
To: Paul Eggert <eggert@cs.ucla.edu>
Message-ID: <20130325170322.GA5840@qp9482>
References: <87mwtwqc47.fsf@rho.meyering.net>
	<0E9529F0-0DF7-4152-B1C6-8348998C54D6@Denis-Excoffier.org>
	<8738vko4ww.fsf@rho.meyering.net> <20130325073816.GA2644@qp9482>
	<515061A7.9010908@cs.ucla.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <515061A7.9010908@cs.ucla.edu>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x
X-Received-From: 93.17.235.10
Cc: bug-diffutils@gnu.org
Subject: Re: [bug-diffutils] I'd like to release 3.3
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, 25 Mar 2013 17:03:47 -0000

On Mon, Mar 25, 2013 at 07:39:35AM -0700, Paul Eggert wrote:
>> On 03/25/2013 12:44 AM, Denis Excoffier wrote:
>> > -  export					\
>> > -  VERSION='$(VERSION)'				\
>> > +  VERSION='$(VERSION); export VERSION;'				\
>> 
>> The quotes don't look right there.
>> 
Because they aren't. Sorry.


From MAILER-DAEMON Tue Mar 26 10:52:32 2013
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1UKVEl-0006GO-Uu
	for mharc-bug-diffutils@gnu.org; Tue, 26 Mar 2013 10:52:31 -0400
Received: from eggs.gnu.org ([208.118.235.92]:52032)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <philippe_errembault@yahoo.fr>) id 1UKVEh-00064W-4R
	for bug-diffutils@gnu.org; Tue, 26 Mar 2013 10:52:30 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <philippe_errembault@yahoo.fr>) id 1UKVEd-0001ef-Td
	for bug-diffutils@gnu.org; Tue, 26 Mar 2013 10:52:27 -0400
Received: from nm1.bullet.mail.ird.yahoo.com ([77.238.189.58]:47168)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <philippe_errembault@yahoo.fr>) id 1UKVEd-0001eT-DJ
	for bug-diffutils@gnu.org; Tue, 26 Mar 2013 10:52:23 -0400
Received: from [77.238.189.233] by nm1.bullet.mail.ird.yahoo.com with NNFMP;
	26 Mar 2013 14:52:21 -0000
Received: from [212.82.98.77] by tm14.bullet.mail.ird.yahoo.com with NNFMP;
	26 Mar 2013 14:52:21 -0000
Received: from [127.0.0.1] by omp1014.mail.ir2.yahoo.com with NNFMP;
	26 Mar 2013 14:52:21 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 492632.42685.bm@omp1014.mail.ir2.yahoo.com
Received: (qmail 89504 invoked by uid 60001); 26 Mar 2013 14:52:21 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.fr; s=s1024;
	t=1364309541; bh=khqJ8bpF+HHFTu0E0p0X1f3w+u5EQlNrXW66+VYcs28=;
	h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type;
	b=rmVfbpIZQK5OyT4BE35tcPiKXQz33hNH582EiNoqcPW4uLxorw8+lguThOZRgHDr0hAIdM8T3ucOQbHj63haNCYh2BZxUPXjBG4NSVKrBAZYXzAwpDY5d4FjtqBIsOeMWZoy/Gp7XhXPozoLIzp4/VkFX4Ue0vYt9MI1K+0J1Jo=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.fr;
	h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type;
	b=qjh8gu4f5gP/td3Slg/s539zaKZE8fvlXL+P+/yTESXua/y3W7YX1Ipi6c4YryAOjL/2P96GzD7cBVkg8iLJ35rCnkanZJA5Fufm48rGM1l7T7fBwILDrSk1Uj+iQ3nuvU/LCA2L5e8yo0khom06A9+CSptzeSXHEr4OPhn8ApQ=;
X-YMail-OSG: R_LYcGQVM1n.4zeRwJpsiQ7wP7iNavF2Gg8wRI0KzALFkKi
	qoiSwI5dJMQDxwcHAK7dYu7qMr27AVmoYpdvg82ewRx2hkyb7MUS5G_BaTEC
	ouUfnSv57NKKPX.eGrbEi5233nxsT6SetwnwXdJZ.gPtnODViGe.1BoddGtQ
	aJPqy5DPa4vXgTJ1DdV3laaQafgvE2ughkmfZrFRkBKvCZHWD64RbJx2nlff
	HUejPopIbGLTSMbMSC0ZMDycIHHNOVRvpza_3SYQvCR9V8dycKmCCd5IgX3o
	uycGPVoGAhJoHZ5ZLqjOEUYQ9biv6C38g40YV111frDgvNwaSzwnBwZ7_u0m
	gAiB0jI_y4mnaGmzoYPPfAGsF0tc8472PrdfIyNFFfWl3V.Hi_4p64fKs1aE
	gu5DMvM6V4C4Rbl4zE7tsdL8vLvICJgoA6QrLiVOV9ByuA_8zWUnrF9RZdW6
	yh52uErkEDIZQY5AlzlcBnh1l3FWDwXgGyPcenMJL1tNpoFwgQvKhF9_e3MC
	WI3s60Fg-
Received: from [213.189.160.119] by web133004.mail.ir2.yahoo.com via HTTP;
	Tue, 26 Mar 2013 14:52:21 GMT
X-Rocket-MIMEInfo: 002.001,
	SGVsbG8sIEkgc2VlIG5vIHJlYWN0aW9uIHRvIG15IHByZXZpb3VzIG1lc3NhZ2UuIElzIHRoZXJlIGFueW9uZSBvbiB0aGlzIHByb2plY3QgPwoKQWJvdXQgdGhpcyBidWcsIEkganVzdCBmb3VuZCBvdXQgdGhhdCB0aGUgcHJvYmxlbSBpcyBhYm91dCBjb2xsYXRpbmcgc2VxdWVuY2VzIGluIHNvbWUgbG9jYWxlcy4gSXQgbWlnaHQgbm90IGJlIGEgc29sdXRpb24gZm9yIHRleHQgZmlsZXMgaWYgaXQgY291bGQgaW1wYWN0IHRoZSB3YXkgZGlmZiBwcm9jZXNzZXMgdW5pY29kZSBmaWxlcyBjb250ZW50LCBidXQBMAEBAQE-
X-Mailer: YahooMailWebService/0.8.139.530
References: <1359263901.9534.YahooMailNeo@web133002.mail.ir2.yahoo.com>
Message-ID: <1364309541.75703.YahooMailNeo@web133004.mail.ir2.yahoo.com>
Date: Tue, 26 Mar 2013 14:52:21 +0000 (GMT)
From: Errembault Philippe <philippe_errembault@yahoo.fr>
To: "bug-diffutils@gnu.org" <bug-diffutils@gnu.org>
In-Reply-To: <1359263901.9534.YahooMailNeo@web133002.mail.ir2.yahoo.com>
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="1259775097-25283038-1364309541=:75703"
X-detected-operating-system: by eggs.gnu.org: FreeBSD 8.x
X-Received-From: 77.238.189.58
Subject: [bug-diffutils] Tr : Confusion between unicode names in diff
	2.9.19-4065
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: Errembault Philippe <philippe_errembault@yahoo.fr>
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, 26 Mar 2013 14:52:30 -0000

--1259775097-25283038-1364309541=:75703
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hello, I see no reaction to my previous message. Is there anyone on this pr=
oject ?=0A=0AAbout this bug, I just found out that the problem is about col=
lating sequences in some locales. It might not be a solution for text files=
 if it could impact the way diff processes unicode files content, but I wor=
ked it around by adding LC_COLLATE=3DC before the diff command :=0A=0ABest =
regards,=0A=0APhilippe Errembault=0A=0A----- Mail transf=C3=A9r=C3=A9 -----=
=0ADe=C2=A0: Errembault Philippe <philippe_errembault@yahoo.fr>=0A=C3=80=C2=
=A0: "bug-diffutils@gnu.org" <bug-diffutils@gnu.org> =0AEnvoy=C3=A9 le : Di=
manche 27 janvier 2013 6h18=0AObjet=C2=A0: Confusion between unicode names =
in diff 2.9.19-4065=0A =0A=0AHello,=C2=A0=0A=0AI have been building a raid6=
 server with the last Debian version and ext3, I have copied some NTFS Hard=
 Disks on it, and double checked the copy with diff.=C2=A0On one copy, diff=
 -r has been finding differences on four files in the same folder, and it a=
ppears, that it has been confusing files whose filename differed on unicode=
 characters only, probably partly because, they were not in the same order =
between the NTFS and ext3 directories.=0A=0A> diff -r '/raid/...' '/mnt/...=
'=0ALes fichiers binaires /raid/.../=E3=82=A8=E3=83=B3=E3=83=89=E3=82=AB=E3=
=83=BC=E3=83=891.jpg et /mnt/.../=E3=83=96=E3=83=83=E3=82=AF=E3=83=AC=E3=83=
=83=E3=83=881.jpg sont diff=C3=A9rents.=0ALes fichiers binaires /raid/.../=
=E3=83=96=E3=83=83=E3=82=AF=E3=83=AC=E3=83=83=E3=83=881.jpg et /mnt/.../=E3=
=82=A8=E3=83=B3=E3=83=89=E3=82=AB=E3=83=BC=E3=83=891.jpg sont diff=C3=A9ren=
ts.=0ALes fichiers binaires /raid/.../=E3=83=96=E3=83=83=E3=82=AF=E3=83=AC=
=E3=83=83=E3=83=882.jpg et /mnt/.../=E3=82=A8=E3=83=B3=E3=83=89=E3=82=AB=E3=
=83=BC=E3=83=892.jpg sont diff=C3=A9rents.=0ALes fichiers binaires /raid/..=
./=E3=82=A8=E3=83=B3=E3=83=89=E3=82=AB=E3=83=BC=E3=83=892.jpg et /mnt/.../=
=E3=83=96=E3=83=83=E3=82=AF=E3=83=AC=E3=83=83=E3=83=882.jpg sont diff=C3=A9=
rents.=0A=0ABest regards,=0A=0APhilippe Errembault
--1259775097-25283038-1364309541=:75703
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><body><div style=3D"color:#000; background-color:#fff; font-family:ar=
ial, helvetica, sans-serif;font-size:10pt"><div><span><font size=3D"2"><div=
>Hello, I see no reaction to my previous message. Is there anyone on this p=
roject ?</div><div style=3D"color: rgb(0, 0, 0); font-size: 13px; font-fami=
ly: arial, helvetica, sans-serif; background-color: transparent; font-style=
: normal;"><br></div><div style=3D"color: rgb(0, 0, 0); font-size: 13px; fo=
nt-family: arial, helvetica, sans-serif; background-color: transparent; fon=
t-style: normal;">About this bug, I just found out that the problem is abou=
t collating sequences in some locales. It might not be a solution for text =
files if it could impact the way diff processes unicode files content, but =
I worked it around by adding LC_COLLATE=3DC before the diff command :</div>=
<div style=3D"color: rgb(0, 0, 0); font-size: 13px; font-family: arial, hel=
vetica, sans-serif; background-color: transparent; font-style:
 normal;"><br></div><div style=3D"color: rgb(0, 0, 0); font-size: 13px; fon=
t-family: arial, helvetica, sans-serif; background-color: transparent; font=
-style: normal;">Best regards,</div><div><br></div><div>Philippe Errembault=
</div></font></span></div><div style=3D"font-family: arial, helvetica, sans=
-serif; font-size: 10pt;"><br></div>  <div style=3D"font-family: arial, hel=
vetica, sans-serif; font-size: 10pt;"> <div style=3D"font-family: 'times ne=
w roman', 'new york', times, serif; font-size: 12pt;"> <div dir=3D"ltr"> <f=
ont size=3D"2" face=3D"Arial"> ----- Mail transf=C3=A9r=C3=A9 -----<br>  <b=
><span style=3D"font-weight:bold;">De&nbsp;:</span></b> Errembault Philippe=
 &lt;philippe_errembault@yahoo.fr&gt;<br> <b><span style=3D"font-weight: bo=
ld;">=C3=80&nbsp;:</span></b> "bug-diffutils@gnu.org" &lt;bug-diffutils@gnu=
.org&gt; <br> <b><span style=3D"font-weight: bold;">Envoy=C3=A9 le :</span>=
</b> Dimanche 27 janvier 2013 6h18<br> <b><span style=3D"font-weight: bold;=
">Objet&nbsp;:</span></b>
 Confusion between unicode names in diff 2.9.19-4065<br> </font> </div> <br=
><div id=3D"yiv2040873062"><div><div style=3D"font-family: arial, helvetica=
, sans-serif; font-size: 13px;"><div style=3D"font-family: arial, helvetica=
, sans-serif; font-size: 13px;">Hello,&nbsp;</div><div style=3D"font-family=
: arial, helvetica, sans-serif; font-size: 13px;"><br></div><div style=3D"f=
ont-family: arial, helvetica, sans-serif; font-size: 13px; color: rgb(0, 0,=
 0); background-color: transparent; font-style: normal;">I have been buildi=
ng a raid6 server with the last Debian version and ext3, I have copied some=
 NTFS Hard Disks on it, and double checked the copy with diff.&nbsp;<span s=
tyle=3D"background-color:transparent;">On one copy, diff -r has been findin=
g differences on four files in the same folder, and it appears, that it has=
 been confusing files whose filename differed on unicode characters only, p=
robably partly because, they were not in the same order between the NTFS an=
d
 ext3 directories.</span></div><div style=3D"font-family: arial, helvetica,=
 sans-serif; font-size: 13px; color: rgb(0, 0, 0); background-color: transp=
arent; font-style: normal;"><br></div><div style=3D"background-color: trans=
parent; color: rgb(0, 0, 0); font-size: 13px; font-family: arial, helvetica=
, sans-serif; font-style: normal;"><div style=3D"background-color:transpare=
nt;"><font face=3D"arial, helvetica, sans-serif" size=3D"2">&gt; diff -r '/=
raid/...' '/mnt/...'</font></div><div style=3D"background-color:transparent=
;"><font face=3D"arial, helvetica, sans-serif" size=3D"2">Les fichiers bina=
ires /raid/.../<span style=3D"color:rgb(255, 0, 0);font-weight:bold;">=E3=
=82=A8=E3=83=B3=E3=83=89=E3=82=AB=E3=83=BC=E3=83=89</span>1.jpg et /mnt/...=
/<span style=3D"font-weight:bold;color:rgb(0, 0, 191);">=E3=83=96=E3=83=83=
=E3=82=AF=E3=83=AC=E3=83=83=E3=83=88</span>1.jpg sont diff=C3=A9rents.</fon=
t></div><div style=3D"background-color:transparent;"><font face=3D"arial, h=
elvetica, sans-serif" size=3D"2">Les fichiers binaires /raid/.../<span
 style=3D"font-weight:bold;color:rgb(0, 0, 191);">=E3=83=96=E3=83=83=E3=82=
=AF=E3=83=AC=E3=83=83=E3=83=88</span>1.jpg et=0A /mnt/.../<span style=3D"fo=
nt-weight:bold;color:rgb(255, 0, 0);">=E3=82=A8=E3=83=B3=E3=83=89=E3=82=AB=
=E3=83=BC=E3=83=89</span>1.jpg sont diff=C3=A9rents.</font></div><div style=
=3D"background-color:transparent;"><font face=3D"arial, helvetica, sans-ser=
if" size=3D"2">Les fichiers binaires /raid/.../<span style=3D"font-weight:b=
old;color:rgb(0, 0, 191);">=E3=83=96=E3=83=83=E3=82=AF=E3=83=AC=E3=83=83=E3=
=83=88</span>2.jpg et /mnt/.../<span style=3D"font-weight:bold;color:rgb(25=
5, 0, 0);">=E3=82=A8=E3=83=B3=E3=83=89=E3=82=AB=E3=83=BC=E3=83=89</span>2.j=
pg sont diff=C3=A9rents.</font></div><div style=3D"background-color:transpa=
rent;"><font face=3D"arial, helvetica, sans-serif" size=3D"2">Les fichiers =
binaires /raid/.../<span style=3D"font-weight:bold;color:rgb(255, 0, 0);">=
=E3=82=A8=E3=83=B3=E3=83=89=E3=82=AB=E3=83=BC=E3=83=89</span>2.jpg et /mnt/=
.../<span style=3D"font-weight:bold;color:rgb(0, 0, 191);">=E3=83=96=E3=83=
=83=E3=82=AF=E3=83=AC=E3=83=83=E3=83=88</span>2.jpg sont diff=C3=A9rents.</=
font></div><div style=3D"color: rgb(0, 0, 0); font-family: arial, helvetica=
, sans-serif; font-size: 13px; font-style: normal;"><br></div><div style=3D=
"color: rgb(0, 0, 0); font-family:
 arial, helvetica, sans-serif; font-size: 13px; font-style: normal;">Best r=
egards,</div><div style=3D"color: rgb(0, 0, 0); font-family: arial, helveti=
ca, sans-serif; font-size: 13px; font-style: normal;"><br></div><div style=
=3D"color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-si=
ze: 13px; font-style: normal;">Philippe Errembault</div></div></div></div><=
/div><br><br> </div> </div>  </div></body></html>
--1259775097-25283038-1364309541=:75703--


From MAILER-DAEMON Tue Mar 26 12:01:06 2013
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1UKWJ8-0001ki-03
	for mharc-bug-diffutils@gnu.org; Tue, 26 Mar 2013 12:01:06 -0400
Received: from eggs.gnu.org ([208.118.235.92]:41999)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <dclarke@blastwave.org>) id 1UKWIr-0001RB-As
	for bug-diffutils@gnu.org; Tue, 26 Mar 2013 12:01:04 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <dclarke@blastwave.org>) id 1UKWIf-0000bt-So
	for bug-diffutils@gnu.org; Tue, 26 Mar 2013 12:00:49 -0400
Received: from comm.purplecow.org ([210.87.62.131]:52562)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <dclarke@blastwave.org>) id 1UKWIe-0000aj-O0
	for bug-diffutils@gnu.org; Tue, 26 Mar 2013 12:00:37 -0400
MIME-version: 1.0
Content-type: multipart/mixed; boundary="Boundary_(ID_aaz733el1e8iscmyn1taVg)"
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 <0MK9006HJZ4V3Y20@comm.purplecow.org> for
	bug-diffutils@gnu.org; Wed, 27 Mar 2013 03:00:31 +1100 (EST)
Received: from comm.purplecow.org ([127.0.0.1] helo=comm.purplecow.org)
	with IPv4:25 by ASSP.nospam; Wed, 27 Mar 2013 03:00:31 +1100
Received: from [66.103.52.207] by comm.purplecow.org (mshttpd); Tue,
	26 Mar 2013 12:00:31 -0400
From: Dennis Clarke <dclarke@blastwave.org>
To: bug-diffutils@gnu.org
Message-id: <fb7fd55f5ffb.51518ddf@blastwave.org>
Date: Tue, 26 Mar 2013 12:00:31 -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
X-Received-From: 210.87.62.131
Subject: [bug-diffutils] diffutils-3.2 : 9 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, 26 Mar 2013 16:01:05 -0000

This is a multi-part message in MIME format.

--Boundary_(ID_aaz733el1e8iscmyn1taVg)
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline


Looks like diffutils has a pile of dependencies on other GNU tools like
maybe coreutils first.  Not sure.  Tough to compile and upgrade however.

titan $ ./configure --enable-dependency-tracking --with-libsigsegv-prefix=/usr/local --with-libiconv-prefix=/usr/local --with-libintl-prefix=/usr/local 
checking for a BSD-compatible install... build-aux/install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gawk... (cached) gawk
checking for gcc... /opt/bw/bin/gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /opt/bw/bin/gcc accepts -g... yes
checking for /opt/bw/bin/gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of /opt/bw/bin/gcc... gcc3
checking for gcc... (cached) /opt/bw/bin/gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether /opt/bw/bin/gcc accepts -g... (cached) yes
checking for /opt/bw/bin/gcc option to accept ISO C89... (cached) none needed
checking dependency style of /opt/bw/bin/gcc... (cached) gcc3
checking for ranlib... ranlib
checking how to run the C preprocessor... /opt/bw/bin/gcc -E
checking for grep that handles long lines and -e... /usr/xpg4/bin/grep
checking for egrep... /usr/xpg4/bin/grep -E
checking for ranlib... (cached) ranlib
checking whether /opt/bw/bin/gcc and cc understand -c and -o together... yes
checking build system type... i386-pc-solaris2.8
checking host system type... i386-pc-solaris2.8
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for /opt/bw/bin/gcc option to accept ISO C99... -std=gnu99
checking for /opt/bw/bin/gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for inline... inline
checking whether <wchar.h> uses 'inline' correctly... yes
checking for btowc... yes
checking for setrlimit... yes
checking for sigaltstack... yes
checking for fcntl... yes
checking for mempcpy... no
checking for isblank... no
checking for iswctype... yes
checking for mbsrtowcs... yes
checking for wmemchr... yes
checking for wmemcpy... yes
checking for wmempcpy... no
checking for getdtablesize... yes
checking for gettimeofday... yes
checking for nanotime... no
checking for iswcntrl... yes
checking for iswblank... no
checking for lstat... yes
checking for mbsinit... yes
checking for mbrtowc... yes
checking for mbslen... no
checking for mprotect... yes
checking for mkstemp... yes
checking for alarm... yes
checking for nl_langinfo... yes
checking for wcscoll... yes
checking for sigaction... yes
checking for siginterrupt... yes
checking for strerror_r... no
checking for __xpg_strerror_r... no
checking for tzset... yes
checking for strndup... no
checking for strptime... yes
checking for strtoumax... no
checking for localtime_r... yes
checking for wcrtomb... yes
checking for wcwidth... yes
checking for newlocale... no
checking for setenv... no
checking for sleep... yes
checking for symlink... yes
checking for usleep... yes
checking for vasnprintf... no
checking for wctob... yes
checking for sigprocmask... yes
checking for strcasecoll... no
checking for stricoll... no
checking for nl_langinfo and CODESET... yes
checking for a traditional french locale... fr_FR
checking ucontext.h usability... yes
checking ucontext.h presence... yes
checking for ucontext.h... yes
checking for unistd.h... (cached) yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking getopt.h usability... no
checking getopt.h presence... no
checking for getopt.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for strings.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking features.h usability... no
checking features.h presence... no
checking for features.h... no
checking xlocale.h usability... no
checking xlocale.h presence... no
checking for xlocale.h... no
checking for working C stack overflow detection... yes
checking for correct stack_t interpretation... yes
checking for precise C stack overflow detection... yes
checking for ld used by GCC... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for shared library run path origin... done
checking for 64-bit host... no
checking for libsigsegv... yes
checking how to link with libsigsegv... /usr/local/lib/libsigsegv.so -lc -R/usr/local/lib
checking whether // is distinct from /... no
checking whether the preprocessor supports include_next... yes
checking whether system header files limit the line length... no
checking for complete errno.h... yes
checking whether strerror_r is declared... no
checking for strerror_r... (cached) no
checking whether strerror_r returns char *... no
checking for working fcntl.h... no (bad O_NOATIME, O_NOFOLLOW)
checking for mbstate_t... yes
checking for getopt.h... (cached) no
checking whether getenv is declared... yes
checking for C/C++ restrict keyword... __restrict
checking for struct timeval... yes
checking whether gettimeofday is declared without a macro... yes
checking for iconv... yes
checking for working iconv... yes
checking how to link with libiconv... /usr/local/lib/libiconv.so -R/usr/local/lib
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for off_t... yes
checking for long long int... yes
checking for unsigned long long int... yes
checking whether stdint.h conforms to C99... no
checking sys/inttypes.h usability... yes
checking sys/inttypes.h presence... yes
checking for sys/inttypes.h... yes
checking sys/bitypes.h usability... no
checking sys/bitypes.h presence... no
checking for sys/bitypes.h... no
checking for bit size of ptrdiff_t... 32
checking for bit size of size_t... 32
checking for bit size of sig_atomic_t... 32
checking for bit size of wchar_t... 32
checking for bit size of wint_t... 32
checking whether sig_atomic_t is signed... yes
checking whether wchar_t is signed... yes
checking whether wint_t is signed... yes
checking for ptrdiff_t integer literal suffix... 
checking for size_t integer literal suffix... u
checking for sig_atomic_t integer literal suffix... 
checking for wchar_t integer literal suffix... l
checking for wint_t integer literal suffix... l
checking whether imaxabs is declared without a macro... no
checking whether imaxdiv is declared without a macro... no
checking whether strtoimax is declared without a macro... no
checking whether strtoumax is declared without a macro... no
checking for inttypes.h... (cached) yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for wint_t... yes
checking whether iswcntrl works... yes
checking for towlower... yes
checking for wctype_t... yes
checking for wctrans_t... yes
checking whether wctype is declared without a macro... yes
checking whether iswctype is declared without a macro... yes
checking whether wctrans is declared without a macro... yes
checking whether towctrans is declared without a macro... yes
checking whether getc_unlocked is declared... yes
checking whether we are using the GNU C Library 2.1 or newer... no
checking whether lstat correctly handles trailing slash... no
checking whether malloc, realloc, calloc are POSIX compliant... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for a traditional japanese locale... ja_JP.eucJP
checking for a transitional chinese locale... none
checking for a french Unicode locale... fr_FR.UTF-8
checking for mmap... yes
checking for MAP_ANONYMOUS... yes
checking whether memchr works... yes
checking for mode_t... yes
checking for promoted mode_t type... mode_t
checking for uid_t in sys/types.h... yes
checking for sigset_t... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for wchar_t... yes
checking whether strerror(0) succeeds... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... no
checking whether tzname is declared... yes
checking for tzname... yes
checking for struct tm.tm_gmtoff... no
checking whether ffsl is declared without a macro... no
checking whether ffsll is declared without a macro... no
checking whether memmem is declared without a macro... no
checking whether mempcpy is declared without a macro... no
checking whether memrchr is declared without a macro... no
checking whether rawmemchr is declared without a macro... no
checking whether stpcpy is declared without a macro... no
checking whether stpncpy is declared without a macro... no
checking whether strchrnul is declared without a macro... no
checking whether strdup is declared without a macro... yes
checking whether strncat is declared without a macro... yes
checking whether strndup is declared without a macro... no
checking whether strnlen is declared without a macro... no
checking whether strpbrk is declared without a macro... yes
checking whether strsep is declared without a macro... no
checking whether strcasestr is declared without a macro... no
checking whether strtok_r is declared without a macro... yes
checking whether strerror_r is declared without a macro... no
checking whether strsignal is declared without a macro... yes
checking whether strverscmp is declared without a macro... no
checking whether ffs is declared without a macro... yes
checking whether strcasecmp is declared without a macro... yes
checking whether strncasecmp is declared without a macro... yes
checking whether strndup is declared... no
checking whether strnlen is declared... no
checking whether strtoumax is declared... no
checking whether stat file-mode macros are broken... no
checking for struct timespec in <time.h>... yes
checking whether localtime_r is declared... yes
checking whether clearerr_unlocked is declared... no
checking whether feof_unlocked is declared... no
checking whether ferror_unlocked is declared... no
checking whether fflush_unlocked is declared... no
checking whether fgets_unlocked is declared... no
checking whether fputc_unlocked is declared... no
checking whether fputs_unlocked is declared... no
checking whether fread_unlocked is declared... no
checking whether fwrite_unlocked is declared... no
checking whether getchar_unlocked is declared... yes
checking whether putc_unlocked is declared... yes
checking whether putchar_unlocked is declared... yes
checking if environ is properly declared... no
checking whether getcwd (NULL, 0) allocates memory for result... no
checking for getcwd with POSIX signature... yes
checking whether setenv is declared... no
checking search.h usability... yes
checking search.h presence... yes
checking for search.h... yes
checking for tsearch... yes
checking whether alarm is declared... yes
checking whether snprintf returns a byte count as in C99... no
checking whether snprintf is declared... yes
checking whether unsetenv is declared... no
checking for inttypes.h... yes
checking for stdint.h... yes
checking for intmax_t... yes
checking for snprintf... yes
checking for strnlen... no
checking for wcslen... yes
checking for wcsnlen... no
checking for mbrtowc... (cached) yes
checking for wcrtomb... (cached) yes
checking whether _snprintf is declared... no
checking for alloca as a compiler built-in... yes
checking whether btowc(0) is correct... yes
checking whether btowc(EOF) is correct... yes
checking whether sigaltstack is declared... yes
checking for stack_t... yes
checking for library containing clock_gettime... -lrt
checking for clock_gettime... yes
checking for clock_settime... yes
checking whether // is distinct from /... (cached) no
checking whether dup2 works... yes
checking for error_at_line... no
checking whether fcntl handles F_DUPFD correctly... yes
checking whether fcntl understands F_DUPFD_CLOEXEC... no
checking whether fcntl is declared without a macro... yes
checking whether openat is declared without a macro... no
checking for working GNU fnmatch... no
checking whether isblank is declared... no
checking whether isblank is declared... (cached) no
checking whether gettimeofday clobbers localtime buffer... no
checking for gettimeofday with POSIX signature... yes
checking whether the compiler generally respects inline... no
checking whether INT32_MAX < INTMAX_MAX... yes
checking whether INT64_MAX == LONG_MAX... no
checking whether UINT32_MAX < UINTMAX_MAX... yes
checking whether UINT64_MAX == ULONG_MAX... no
checking whether iswblank is declared... no
checking whether langinfo.h defines CODESET... yes
checking whether langinfo.h defines T_FMT_AMPM... yes
checking whether langinfo.h defines ERA... yes
checking whether langinfo.h defines YESEXPR... yes
checking whether nl_langinfo is declared without a macro... yes
checking for libsigsegv... (cached) yes
checking how to link with libsigsegv... /usr/local/lib/libsigsegv.so -lc -R/usr/local/lib
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... (cached) yes
checking whether mbrtowc handles incomplete characters... yes
checking whether mbrtowc works as well as mbtowc... guessing no
checking whether mbrtowc handles incomplete characters... (cached) yes
checking whether mbrtowc works as well as mbtowc... (cached) guessing no
checking whether mbrtowc handles incomplete characters... (cached) yes
checking whether mbrtowc works as well as mbtowc... (cached) guessing no
checking for working mkstemp... yes
checking for working mktime... yes
checking whether YESEXPR works... yes
checking whether open recognizes a trailing slash... no
checking whether program_invocation_name is declared... no
checking whether program_invocation_short_name is declared... no
checking for working re_compile_pattern... no
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking whether isblank is declared... (cached) no
checking for struct sigaction.sa_sigaction... yes
checking for volatile sig_atomic_t... yes
checking for sighandler_t... no
checking whether pthread_sigmask is declared without a macro... yes
checking whether sigaction is declared without a macro... yes
checking whether sigaddset is declared without a macro... yes
checking whether sigdelset is declared without a macro... yes
checking whether sigemptyset is declared without a macro... yes
checking whether sigfillset is declared without a macro... yes
checking whether sigismember is declared without a macro... yes
checking whether sigpending is declared without a macro... yes
checking whether sigprocmask is declared without a macro... yes
checking for sigprocmask... (cached) yes
checking for ssize_t... yes
checking whether stat handles trailing slashes on directories... yes
checking whether stat handles trailing slashes on files... no
checking for struct stat.st_atim.tv_nsec... yes
checking whether struct stat.st_atim is of type struct timespec... yes
checking for struct stat.st_birthtimespec.tv_nsec... no
checking for struct stat.st_birthtimensec... no
checking for struct stat.st_birthtim.tv_nsec... no
checking for va_copy... yes
checking whether NULL can be used in arbitrary expressions... yes
checking whether dprintf is declared without a macro... no
checking whether fpurge is declared without a macro... no
checking whether fseeko is declared without a macro... yes
checking whether ftello is declared without a macro... yes
checking whether getdelim is declared without a macro... no
checking whether getline is declared without a macro... no
checking whether popen is declared without a macro... yes
checking whether renameat is declared without a macro... no
checking whether snprintf is declared without a macro... yes
checking whether tmpfile is declared without a macro... yes
checking whether vdprintf is declared without a macro... no
checking whether vsnprintf is declared without a macro... yes
checking whether _Exit is declared without a macro... yes
checking whether atoll is declared without a macro... yes
checking whether canonicalize_file_name is declared without a macro... no
checking whether getloadavg is declared without a macro... no
checking whether getsubopt is declared without a macro... yes
checking whether grantpt is declared without a macro... yes
checking whether mkdtemp is declared without a macro... no
checking whether mkostemp is declared without a macro... no
checking whether mkostemps is declared without a macro... no
checking whether mkstemp is declared without a macro... yes
checking whether mkstemps is declared without a macro... no
checking whether ptsname is declared without a macro... yes
checking whether random_r is declared without a macro... no
checking whether initstat_r is declared without a macro... no
checking whether srandom_r is declared without a macro... no
checking whether setstate_r is declared without a macro... no
checking whether realpath is declared without a macro... yes
checking whether rpmatch is declared without a macro... no
checking whether setenv is declared without a macro... no
checking whether strtod is declared without a macro... yes
checking whether strtoll is declared without a macro... yes
checking whether strtoull is declared without a macro... yes
checking whether unlockpt is declared without a macro... yes
checking whether unsetenv is declared without a macro... no
checking for strcasecmp... yes
checking for strncasecmp... yes
checking whether strncasecmp is declared... (cached) yes
checking for working strerror function... no
checking for strtoull... yes
checking whether strtoull is declared... (cached) yes
checking for nlink_t... yes
checking whether fchmodat is declared without a macro... no
checking whether fstatat is declared without a macro... no
checking whether futimens is declared without a macro... no
checking whether lchmod is declared without a macro... no
checking whether lstat is declared without a macro... yes
checking whether mkdirat is declared without a macro... no
checking whether mkfifo is declared without a macro... yes
checking whether mkfifoat is declared without a macro... no
checking whether mknod is declared without a macro... yes
checking whether mknodat is declared without a macro... no
checking whether stat is declared without a macro... yes
checking whether utimensat is declared without a macro... no
checking whether waitpid is declared without a macro... yes
checking whether localtime_r is compatible with its POSIX signature... yes
checking whether chown is declared without a macro... yes
checking whether dup2 is declared without a macro... yes
checking whether dup3 is declared without a macro... no
checking whether environ is declared without a macro... no
checking whether euidaccess is declared without a macro... no
checking whether faccessat is declared without a macro... no
checking whether fchdir is declared without a macro... yes
checking whether fchownat is declared without a macro... no
checking whether fsync is declared without a macro... yes
checking whether ftruncate is declared without a macro... yes
checking whether getcwd is declared without a macro... yes
checking whether getdomainname is declared without a macro... no
checking whether getdtablesize is declared without a macro... yes
checking whether getgroups is declared without a macro... yes
checking whether gethostname is declared without a macro... yes
checking whether getlogin is declared without a macro... yes
checking whether getlogin_r is declared without a macro... yes
checking whether getpagesize is declared without a macro... yes
checking whether getusershell is declared without a macro... no
checking whether setusershell is declared without a macro... no
checking whether endusershell is declared without a macro... no
checking whether group_member is declared without a macro... no
checking whether lchown is declared without a macro... yes
checking whether link is declared without a macro... yes
checking whether linkat is declared without a macro... no
checking whether lseek is declared without a macro... yes
checking whether pipe is declared without a macro... yes
checking whether pipe2 is declared without a macro... no
checking whether pread is declared without a macro... yes
checking whether pwrite is declared without a macro... yes
checking whether readlink is declared without a macro... yes
checking whether readlinkat is declared without a macro... no
checking whether rmdir is declared without a macro... yes
checking whether sleep is declared without a macro... yes
checking whether symlink is declared without a macro... yes
checking whether symlinkat is declared without a macro... no
checking whether ttyname_r is declared without a macro... yes
checking whether unlink is declared without a macro... yes
checking whether unlinkat is declared without a macro... no
checking whether usleep is declared without a macro... yes
checking whether btowc is declared without a macro... yes
checking whether wctob is declared without a macro... yes
checking whether mbsinit is declared without a macro... yes
checking whether mbrtowc is declared without a macro... yes
checking whether mbrlen is declared without a macro... yes
checking whether mbsrtowcs is declared without a macro... yes
checking whether mbsnrtowcs is declared without a macro... no
checking whether wcrtomb is declared without a macro... yes
checking whether wcsrtombs is declared without a macro... yes
checking whether wcsnrtombs is declared without a macro... no
checking whether wcwidth is declared without a macro... yes
checking whether wmemchr is declared without a macro... yes
checking whether wmemcmp is declared without a macro... yes
checking whether wmemcpy is declared without a macro... yes
checking whether wmemmove is declared without a macro... yes
checking whether wmemset is declared without a macro... yes
checking whether wcslen is declared without a macro... yes
checking whether wcsnlen is declared without a macro... no
checking whether wcscpy is declared without a macro... yes
checking whether wcpcpy is declared without a macro... no
checking whether wcsncpy is declared without a macro... yes
checking whether wcpncpy is declared without a macro... no
checking whether wcscat is declared without a macro... yes
checking whether wcsncat is declared without a macro... yes
checking whether wcscmp is declared without a macro... yes
checking whether wcsncmp is declared without a macro... yes
checking whether wcscasecmp is declared without a macro... no
checking whether wcsncasecmp is declared without a macro... no
checking whether wcscoll is declared without a macro... yes
checking whether wcsxfrm is declared without a macro... yes
checking whether wcsdup is declared without a macro... no
checking whether wcschr is declared without a macro... yes
checking whether wcsrchr is declared without a macro... yes
checking whether wcscspn is declared without a macro... yes
checking whether wcsspn is declared without a macro... yes
checking whether wcspbrk is declared without a macro... yes
checking whether wcsstr is declared without a macro... yes
checking whether wcstok is declared without a macro... yes
checking whether wcswidth is declared without a macro... yes
checking whether mbrtowc handles incomplete characters... (cached) yes
checking whether mbrtowc works as well as mbtowc... (cached) guessing no
checking whether iswcntrl works... (cached) yes
checking for towlower... (cached) yes
checking for wctype_t... (cached) yes
checking for wctrans_t... (cached) yes
checking whether wctype is declared without a macro... (cached) yes
checking whether iswctype is declared without a macro... (cached) yes
checking whether wctrans is declared without a macro... (cached) yes
checking whether towctrans is declared without a macro... (cached) yes
checking whether wcwidth is declared... (cached) yes
checking whether wcwidth works reasonably in UTF-8 locales... yes
checking for a traditional french locale... (cached) fr_FR
checking for a french Unicode locale... (cached) fr_FR.UTF-8
checking for a traditional french locale... (cached) fr_FR
checking for a turkish Unicode locale... none
checking for getpagesize... yes
checking whether getpagesize is declared... (cached) yes
checking whether locale.h conforms to POSIX:2001... yes
checking whether setlocale is declared without a macro... yes
checking whether duplocale is declared without a macro... no
checking for a traditional french locale... (cached) fr_FR
checking for a french Unicode locale... (cached) fr_FR.UTF-8
checking for a traditional japanese locale... (cached) ja_JP.eucJP
checking for a transitional chinese locale... (cached) none
checking for a turkish Unicode locale... (cached) none
checking for a french Unicode locale... (cached) fr_FR.UTF-8
checking for a traditional french locale... (cached) fr_FR
checking for a french Unicode locale... (cached) fr_FR.UTF-8
checking for a traditional japanese locale... (cached) ja_JP.eucJP
checking for a transitional chinese locale... (cached) none
checking for a french Unicode locale... (cached) fr_FR.UTF-8
checking for a transitional chinese locale... (cached) none
checking for mmap... (cached) yes
checking for MAP_ANONYMOUS... yes
checking for a traditional french locale... (cached) fr_FR
checking for a french Unicode locale... (cached) fr_FR.UTF-8
checking for putenv compatible with GNU and SVID... no
checking for a traditional french locale... (cached) fr_FR
checking for a french Unicode locale... (cached) fr_FR.UTF-8
checking for a traditional japanese locale... (cached) ja_JP.eucJP
checking for a transitional chinese locale... (cached) none
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking whether sleep is declared... (cached) yes
checking for working sleep... yes
checking for snprintf... (cached) yes
checking whether snprintf respects a size of 1... yes
checking for wchar_t... (cached) yes
checking for wint_t... (cached) yes
checking for mmap... (cached) yes
checking for MAP_ANONYMOUS... yes
checking whether symlink handles trailing slash correctly... no
checking for unsetenv... no
checking for useconds_t... yes
checking whether usleep allows large arguments... yes
checking for ptrdiff_t... yes
checking for a traditional french locale... (cached) fr_FR
checking for a french Unicode locale... (cached) fr_FR.UTF-8
checking for a traditional japanese locale... (cached) ja_JP.eucJP
checking for a transitional chinese locale... (cached) none
checking whether wctob works... no
checking for stdint.h... (cached) yes
checking for inline... (cached) inline
checking for variable-length arrays... yes
checking for pr... /usr/xpg4/bin/pr
checking for struct stat.st_blksize... yes
checking for struct stat.st_rdev... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for pid_t... yes
checking whether closedir returns void... no
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/local/bin/msgfmt
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for xgettext... /usr/local/bin/xgettext
checking for msgmerge... /usr/local/bin/msgmerge
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... no
checking for iconv... (cached) yes
checking for working iconv... (cached) yes
checking how to link with libiconv... /usr/local/lib/libiconv.so -R/usr/local/lib
checking for GNU gettext in libintl... yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... /usr/local/lib/libintl.so -L/usr/local/lib /usr/local/lib/libiconv.so -lc -R/usr/local/lib
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating lib/Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating gnulib-tests/Makefile
config.status: creating man/Makefile
config.status: creating po/Makefile.in
config.status: creating ms/Makefile
config.status: creating lib/config.h
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
titan $ 
titan $ gmake 
Making all in lib
gmake[1]: Entering directory `/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/lib'
  GEN      alloca.h
  GEN      configmake.h
mv -f configmake.h-t configmake.h
  GEN      c++defs.h
  GEN      arg-nonnull.h
  GEN      warn-on-use.h
  GEN      fcntl.h
  GEN      fnmatch.h
  GEN      getopt.h
  GEN      iconv.h
  GEN      inttypes.h
  GEN      langinfo.h
  GEN      signal.h
  GEN      unused-parameter.h
  GEN      stdint.h
  GEN      stdio.h
  GEN      stdlib.h
  GEN      string.h
  GEN      strings.h
  GEN      sys/stat.h
  GEN      sys/time.h
  GEN      sys/wait.h
  GEN      time.h
  GEN      unistd.h
  GEN      unistr.h
  GEN      unitypes.h
  GEN      uniwidth.h
  GEN      wchar.h
  GEN      wctype.h
gmake  all-recursive
gmake[2]: Entering directory `/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/lib'
gmake[3]: Entering directory `/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/lib'
  CC       c-ctype.o
  CC       c-stack.o
  CC       c-strcasecmp.o
  CC       c-strncasecmp.o
  CC       dirname.o
  CC       basename.o
  CC       dirname-lgpl.o
  CC       basename-lgpl.o
  CC       stripslash.o
  CC       exclude.o
  CC       exitfail.o
  CC       file-type.o
  CC       filenamecat.o
  CC       filenamecat-lgpl.o
  CC       freopen-safer.o
  CC       gettime.o
  CC       hard-locale.o
  CC       hash.o
  CC       imaxtostr.o
  CC       inttostr.o
  CC       offtostr.o
  CC       uinttostr.o
  CC       umaxtostr.o
  CC       localcharset.o
  CC       malloca.o
  CC       mbchar.o
  CC       mbscasecmp.o
  CC       mbslen.o
  CC       mbsstr.o
  CC       progname.o
  CC       propername.o
  CC       quote.o
  CC       quotearg.o
  CC       sh-quote.o
  CC       strftime.o
  CC       striconv.o
  CC       strnlen1.o
  CC       tempname.o
  CC       trim.o
  CC       unistr/u8-mbtoucr.o
  CC       unistr/u8-uctomb.o
  CC       unistr/u8-uctomb-aux.o
  CC       uniwidth/width.o
  CC       version-etc.o
  CC       version-etc-fsf.o
  CC       xmalloc.o
  CC       xalloc-die.o
  CC       xfreopen.o
  CC       xstriconv.o
  CC       xstrndup.o
  CC       xstrtol.o
  CC       xstrtoul.o
  CC       xstrtol-error.o
  CC       xstrtoumax.o
  CC       cmpbuf.o
  CC       prepargs.o
  CC       error.o
  CC       fcntl.o
  CC       fnmatch.o
  CC       getopt.o
  CC       getopt1.o
  CC       iswblank.o
  CC       lstat.o
  CC       mbrtowc.o
  CC       mbsinit.o
  CC       mbsrtowcs.o
  CC       mbsrtowcs-state.o
  CC       open.o
  CC       regex.o
  CC       stat.o
  CC       strerror.o
  CC       strndup.o
  CC       strnlen.o
  CC       strtoumax.o
  CC       wcrtomb.o
  AR       libdiffutils.a
  GEN      charset.alias
  GEN      ref-add.sed
  GEN      ref-del.sed
gmake[3]: Leaving directory `/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/lib'
gmake[2]: Leaving directory `/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/lib'
gmake[1]: Leaving directory `/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/lib'
Making all in src
gmake[1]: Entering directory `/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/src'
  GEN      paths.h
  GEN      version.c
  GEN      version.h
gmake  all-am
gmake[2]: Entering directory `/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/src'
  CC       version.o
  AR       libver.a
  CC       cmp.o
  CCLD     cmp
ld: warning: file /usr/local/lib/libiconv.so: attempted multiple inclusion of file
ld: warning: file /usr/local/lib/libsigsegv.so: attempted multiple inclusion of file
  CC       analyze.o
  CC       context.o
  CC       diff.o
  CC       dir.o
  CC       ed.o
  CC       ifdef.o
  CC       io.o
  CC       normal.o
  CC       side.o
  CC       util.o
  CCLD     diff
ld: warning: file /usr/local/lib/libiconv.so: attempted multiple inclusion of file
ld: warning: file /usr/local/lib/libsigsegv.so: attempted multiple inclusion of file
  CC       diff3.o
  CCLD     diff3
ld: warning: file /usr/local/lib/libiconv.so: attempted multiple inclusion of file
ld: warning: file /usr/local/lib/libsigsegv.so: attempted multiple inclusion of file
  CC       sdiff.o
  CCLD     sdiff
ld: warning: file /usr/local/lib/libiconv.so: attempted multiple inclusion of file
ld: warning: file /usr/local/lib/libsigsegv.so: attempted multiple inclusion of file
gmake[2]: Leaving directory `/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/src'
gmake[1]: Leaving directory `/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/src'
Making all in tests
gmake[1]: Entering directory `/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests'
Making all in doc
gmake[1]: Entering directory `/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/doc'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/doc'
Making all in man
gmake[1]: Entering directory `/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/man'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/man'
Making all in po
gmake[1]: Entering directory `/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/po'
gmake[1]: Leaving directory `/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/po'
Making all in ms
gmake[1]: Entering directory `/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/ms'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/ms'
Making all in gnulib-tests
gmake[1]: Entering directory `/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/gnulib-tests'
  GEN      c++defs.h
  GEN      arg-nonnull.h
  GEN      warn-on-use.h
  GEN      locale.h
  GEN      unused-parameter.h
gmake  all-recursive
gmake[2]: Entering directory `/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/gnulib-tests'
Making all in .
gmake[3]: Entering directory `/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/gnulib-tests'
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory `/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/gnulib-tests'
gmake[2]: Leaving directory `/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/gnulib-tests'
gmake[1]: Leaving directory `/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/gnulib-tests'
gmake[1]: Entering directory `/usr/local/build/diffutils-3.2_SunOS5.8_i386_001'
gmake[1]: Nothing to be done for `all-am'.
gmake[1]: Leaving directory `/usr/local/build/diffutils-3.2_SunOS5.8_i386_001'
titan $ 



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

9 of 9 tests failed.  

.. contents:: :depth: 2


FAIL: basic (exit: 1)
=====================

++ initial_cwd_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests
++ fail=0
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests gt-basic.XXXX
+++ destdir_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests
+++ template_=gt-basic.XXXX
+++ MAX_TRIES_=4
++++ unset TMPDIR
++++ mktemp -d -t -p /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests gt-basic.XXXX
+++ d=
+++ fail=1
+++ fail=1
+++ test -d ''
+++ fail=1
++++ ls -dgo ''
++++ tr S -
+++ perms=drwxr-xr-x   2     512 Mar 26 14:47 .
+++ fail=1
+++ test 1 = 0
++++ echo gt-basic.XXXX
++++ sed 's/XX*$//'
+++ base_template_=gt-basic.
++++ echo gt-basic.XXXX
++++ wc -c
+++ template_length_=      14
++++ echo gt-basic.
++++ wc -c
+++ nx_=      10
++++ expr 14 - 10
+++ nx_=4
+++ err_=
+++ i_=1
+++ :
++++ rand_bytes_ 4
++++ n_=4
++++ chars_=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
++++ dev_rand_=/dev/urandom
++++ test -r /dev/urandom
++++ dd ibs=4 count=1 if=/dev/urandom
++++ LC_ALL=C
++++ tr -c abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 01234567abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
++++ return
+++ X_=0PQM
+++ candidate_dir_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-basic.0PQM
++++ mkdir -m 0700 /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-basic.0PQM
+++ err_=
+++ echo /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-basic.0PQM
+++ return
++ test_dir_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-basic.0PQM
++ cd /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-basic.0PQM
++ gl_init_sh_nl_=

++ IFS=         

+++ expr 1 + 128
++ eval 'trap '\''Exit 129'\'' 1'
+++ trap 'Exit 129' 1
+++ expr 2 + 128
++ eval 'trap '\''Exit 130'\'' 2'
+++ trap 'Exit 130' 2
+++ expr 3 + 128
++ eval 'trap '\''Exit 131'\'' 3'
+++ trap 'Exit 131' 3
+++ expr 13 + 128
++ eval 'trap '\''Exit 141'\'' 13'
+++ trap 'Exit 141' 13
+++ 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
++ cd /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/../src
++ echo /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/src
+ abs_path_dir_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/src
+ PATH=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/src:/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/src:/usr/local/bin:/opt/bw/bin:/opt/bw/sbin::/usr/xpg4/bin:/usr/ccs/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.8_i386_001/src
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ fail=0
+ cat
+ cat
+ cat
+ echo a
+ echo b
+ diff a b
+ test 2 = 1
+ fail=1
+ sed -e 's/^\([-+*][-+*][-+*] [^       ]*\)    .*/\1/' out
+ mv k out
++ echo
++ tr ' ' _
+ compare out exp-
+ diff -u out exp-
diff: memory exhausted
+ fail=1
+ diff -u a b
+ test 2 = 1
+ fail=1
+ sed -e 's/^\([-+*][-+*][-+*] [^       ]*\)    .*/\1/' out
+ mv k out
++ echo -u
++ tr ' ' _
+ compare out exp--u
+ diff -u out exp--u
diff: memory exhausted
+ fail=1
+ diff -c a b
+ test 2 = 1
+ fail=1
+ sed -e 's/^\([-+*][-+*][-+*] [^       ]*\)    .*/\1/' out
+ mv k out
++ echo -c
++ tr ' ' _
+ compare out exp--c
+ diff -u out exp--c
diff: memory exhausted
+ fail=1
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ cd /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests
+ chmod -R u+rwx /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-basic.0PQM
+ rm -rf /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-basic.0PQM
+ exit 1

FAIL: binary (exit: 1)
======================

++ initial_cwd_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests
++ fail=0
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests gt-binary.XXXX
+++ destdir_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests
+++ template_=gt-binary.XXXX
+++ MAX_TRIES_=4
++++ unset TMPDIR
++++ mktemp -d -t -p /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests gt-binary.XXXX
+++ d=
+++ fail=1
+++ fail=1
+++ test -d ''
+++ fail=1
++++ ls -dgo ''
++++ tr S -
+++ perms=drwxr-xr-x   2     512 Mar 26 14:47 .
+++ fail=1
+++ test 1 = 0
++++ echo gt-binary.XXXX
++++ sed 's/XX*$//'
+++ base_template_=gt-binary.
++++ echo gt-binary.XXXX
++++ wc -c
+++ template_length_=      15
++++ echo gt-binary.
++++ wc -c
+++ nx_=      11
++++ expr 15 - 11
+++ nx_=4
+++ err_=
+++ i_=1
+++ :
++++ rand_bytes_ 4
++++ n_=4
++++ chars_=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
++++ dev_rand_=/dev/urandom
++++ test -r /dev/urandom
++++ dd ibs=4 count=1 if=/dev/urandom
++++ LC_ALL=C
++++ tr -c abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 01234567abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
++++ return
+++ X_=2w16
+++ candidate_dir_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-binary.2w16
++++ mkdir -m 0700 /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-binary.2w16
+++ err_=
+++ echo /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-binary.2w16
+++ return
++ test_dir_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-binary.2w16
++ cd /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-binary.2w16
++ gl_init_sh_nl_=

++ IFS=         

+++ expr 1 + 128
++ eval 'trap '\''Exit 129'\'' 1'
+++ trap 'Exit 129' 1
+++ expr 2 + 128
++ eval 'trap '\''Exit 130'\'' 2'
+++ trap 'Exit 130' 2
+++ expr 3 + 128
++ eval 'trap '\''Exit 131'\'' 3'
+++ trap 'Exit 131' 3
+++ expr 13 + 128
++ eval 'trap '\''Exit 141'\'' 13'
+++ trap 'Exit 141' 13
+++ 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
++ cd /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/../src
++ echo /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/src
+ abs_path_dir_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/src
+ PATH=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/src:/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/src:/usr/local/bin:/opt/bw/bin:/opt/bw/sbin::/usr/xpg4/bin:/usr/ccs/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.8_i386_001/src
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ printf 'Binary files - and /dev/null differ\n'
+ fail=0
+ printf '\0'
+ diff - /dev/null
+ test 2 = 2
+ compare out out-exp
+ diff -u out out-exp
diff: memory exhausted
+ fail=1
+ compare err /dev/null
+ diff -u err /dev/null
diff: memory exhausted
+ fail=1
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ cd /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests
+ chmod -R u+rwx /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-binary.2w16
+ rm -rf /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-binary.2w16
+ exit 1

FAIL: colliding-file-names (exit: 1)
====================================

++ initial_cwd_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests
++ fail=0
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests gt-colliding-file-names.XXXX
+++ destdir_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests
+++ template_=gt-colliding-file-names.XXXX
+++ MAX_TRIES_=4
++++ unset TMPDIR
++++ mktemp -d -t -p /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests gt-colliding-file-names.XXXX
+++ d=
+++ fail=1
+++ fail=1
+++ test -d ''
+++ fail=1
++++ ls -dgo ''
++++ tr S -
+++ perms=drwxr-xr-x   2     512 Mar 26 14:47 .
+++ fail=1
+++ test 1 = 0
++++ echo gt-colliding-file-names.XXXX
++++ sed 's/XX*$//'
+++ base_template_=gt-colliding-file-names.
++++ echo gt-colliding-file-names.XXXX
++++ wc -c
+++ template_length_=      29
++++ echo gt-colliding-file-names.
++++ wc -c
+++ nx_=      25
++++ expr 29 - 25
+++ nx_=4
+++ err_=
+++ i_=1
+++ :
++++ rand_bytes_ 4
++++ n_=4
++++ chars_=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
++++ dev_rand_=/dev/urandom
++++ test -r /dev/urandom
++++ dd ibs=4 count=1 if=/dev/urandom
++++ LC_ALL=C
++++ tr -c abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 01234567abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
++++ return
+++ X_=bs5y
+++ candidate_dir_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-colliding-file-names.bs5y
++++ mkdir -m 0700 /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-colliding-file-names.bs5y
+++ err_=
+++ echo /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-colliding-file-names.bs5y
+++ return
++ test_dir_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-colliding-file-names.bs5y
++ cd /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-colliding-file-names.bs5y
++ gl_init_sh_nl_=

++ IFS=         

+++ expr 1 + 128
++ eval 'trap '\''Exit 129'\'' 1'
+++ trap 'Exit 129' 1
+++ expr 2 + 128
++ eval 'trap '\''Exit 130'\'' 2'
+++ trap 'Exit 130' 2
+++ expr 3 + 128
++ eval 'trap '\''Exit 131'\'' 3'
+++ trap 'Exit 131' 3
+++ expr 13 + 128
++ eval 'trap '\''Exit 141'\'' 13'
+++ trap 'Exit 141' 13
+++ 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
++ cd /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/../src
++ echo /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/src
+ abs_path_dir_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/src
+ PATH=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/src:/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/src:/usr/local/bin:/opt/bw/bin:/opt/bw/sbin::/usr/xpg4/bin:/usr/ccs/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.8_i386_001/src
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ mkdir d1 d2
+ echo xyz
+ echo xyz
+ echo xyz
+ echo xyz
+ echo xyz
+ echo xyz
+ echo xyz
+ echo xyz
+ diff -r --ignore-file-name-case d1 d2
diff: memory exhausted
+ fail=1
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ cd /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests
+ chmod -R u+rwx /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-colliding-file-names.bs5y
+ rm -rf /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-colliding-file-names.bs5y
+ exit 1

FAIL: excess-slash (exit: 1)
============================

++ initial_cwd_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests
++ fail=0
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests gt-excess-slash.XXXX
+++ destdir_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests
+++ template_=gt-excess-slash.XXXX
+++ MAX_TRIES_=4
++++ unset TMPDIR
++++ mktemp -d -t -p /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests gt-excess-slash.XXXX
+++ d=
+++ fail=1
+++ fail=1
+++ test -d ''
+++ fail=1
++++ ls -dgo ''
++++ tr S -
+++ perms=drwxr-xr-x   2     512 Mar 26 14:47 .
+++ fail=1
+++ test 1 = 0
++++ echo gt-excess-slash.XXXX
++++ sed 's/XX*$//'
+++ base_template_=gt-excess-slash.
++++ echo gt-excess-slash.XXXX
++++ wc -c
+++ template_length_=      21
++++ echo gt-excess-slash.
++++ wc -c
+++ nx_=      17
++++ expr 21 - 17
+++ nx_=4
+++ err_=
+++ i_=1
+++ :
++++ rand_bytes_ 4
++++ n_=4
++++ chars_=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
++++ dev_rand_=/dev/urandom
++++ test -r /dev/urandom
++++ dd ibs=4 count=1 if=/dev/urandom
++++ LC_ALL=C
++++ tr -c abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 01234567abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
++++ return
+++ X_=eRC4
+++ candidate_dir_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-excess-slash.eRC4
++++ mkdir -m 0700 /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-excess-slash.eRC4
+++ err_=
+++ echo /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-excess-slash.eRC4
+++ return
++ test_dir_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-excess-slash.eRC4
++ cd /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-excess-slash.eRC4
++ gl_init_sh_nl_=

++ IFS=         

+++ expr 1 + 128
++ eval 'trap '\''Exit 129'\'' 1'
+++ trap 'Exit 129' 1
+++ expr 2 + 128
++ eval 'trap '\''Exit 130'\'' 2'
+++ trap 'Exit 130' 2
+++ expr 3 + 128
++ eval 'trap '\''Exit 131'\'' 3'
+++ trap 'Exit 131' 3
+++ expr 13 + 128
++ eval 'trap '\''Exit 141'\'' 13'
+++ trap 'Exit 141' 13
+++ 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
++ cd /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/../src
++ echo /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/src
+ abs_path_dir_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/src
+ PATH=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/src:/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/src:/usr/local/bin:/opt/bw/bin:/opt/bw/sbin::/usr/xpg4/bin:/usr/ccs/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.8_i386_001/src
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ mkdir -p a/f b/f/g
+ echo Only in b/f: g
+ fail=0
+ diff -r a b/
+ compare err /dev/null
+ diff -u err /dev/null
diff: memory exhausted
+ fail=1
+ compare out expected-out
+ diff -u out expected-out
diff: memory exhausted
+ fail=1
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ cd /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests
+ chmod -R u+rwx /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-excess-slash.eRC4
+ rm -rf /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-excess-slash.eRC4
+ exit 1

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

++ initial_cwd_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests
++ fail=0
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests gt-help-version.XXXX
+++ destdir_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests
+++ template_=gt-help-version.XXXX
+++ MAX_TRIES_=4
++++ unset TMPDIR
++++ mktemp -d -t -p /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests gt-help-version.XXXX
+++ d=
+++ fail=1
+++ fail=1
+++ test -d ''
+++ fail=1
++++ ls -dgo ''
++++ tr S -
+++ perms=drwxr-xr-x   2     512 Mar 26 14:47 .
+++ fail=1
+++ test 1 = 0
++++ echo gt-help-version.XXXX
++++ sed 's/XX*$//'
+++ base_template_=gt-help-version.
++++ echo gt-help-version.XXXX
++++ wc -c
+++ template_length_=      21
++++ echo gt-help-version.
++++ wc -c
+++ nx_=      17
++++ expr 21 - 17
+++ nx_=4
+++ err_=
+++ i_=1
+++ :
++++ rand_bytes_ 4
++++ n_=4
++++ chars_=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
++++ dev_rand_=/dev/urandom
++++ test -r /dev/urandom
++++ dd ibs=4 count=1 if=/dev/urandom
++++ LC_ALL=C
++++ tr -c abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 01234567abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
++++ return
+++ X_=trRl
+++ candidate_dir_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-help-version.trRl
++++ mkdir -m 0700 /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-help-version.trRl
+++ err_=
+++ echo /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-help-version.trRl
+++ return
++ test_dir_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-help-version.trRl
++ cd /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-help-version.trRl
++ gl_init_sh_nl_=

++ IFS=         

+++ expr 1 + 128
++ eval 'trap '\''Exit 129'\'' 1'
+++ trap 'Exit 129' 1
+++ expr 2 + 128
++ eval 'trap '\''Exit 130'\'' 2'
+++ trap 'Exit 130' 2
+++ expr 3 + 128
++ eval 'trap '\''Exit 131'\'' 3'
+++ trap 'Exit 131' 3
+++ expr 13 + 128
++ eval 'trap '\''Exit 141'\'' 13'
+++ trap 'Exit 141' 13
+++ 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
++ cd /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/../src
++ echo /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/src
+ abs_path_dir_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/src
+ PATH=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/src:/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/src:/usr/local/bin:/opt/bw/bin:/opt/bw/sbin::/usr/xpg4/bin:/usr/ccs/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.8_i386_001/src
+ 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
++ env cmp --version
++ sed -n '1s/.* //p;q'
+ v=3.2
+ break
+ test x3.2 = x3.2
+ 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
+ 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
+ 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
+ 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
+ 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
+ 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
+ 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
+ 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
+ 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
+ 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
+ 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
+ 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-14761
+ tmp_in=in-14761
+ tmp_in2=in2-14761
+ tmp_dir=dir-14761
+ tmp_out=out-14761
+ mkdir tmp-14761
+ cd tmp-14761
+ rm -rf in-14761 in2-14761 dir-14761 out-14761 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-14761 in2-14761
+ mkdir dir-14761
+ test cmp = '['
+ prog=cmp
+ type cmp_setup
+ cmp_setup
+ args=in-14761 in2-14761
+ env cmp in-14761 in2-14761
+ :
+ rm -rf in-14761 in2-14761 out-14761 dir-14761
+ rm -rf in-14761 in2-14761 dir-14761 out-14761 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-14761 in2-14761
+ mkdir dir-14761
+ test diff = '['
+ prog=diff
+ type diff_setup
+ diff_setup
+ args=in-14761 in2-14761
+ env diff in-14761 in2-14761
diff: memory exhausted
+ echo FAIL: diff
FAIL: diff
+ fail=1
+ rm -rf in-14761 in2-14761 out-14761 dir-14761
+ rm -rf in-14761 in2-14761 dir-14761 out-14761 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-14761 in2-14761
+ mkdir dir-14761
+ test diff3 = '['
+ prog=diff3
+ type diff3_setup
+ diff3_setup
+ args=in-14761 in2-14761 in2-14761
+ env diff3 in-14761 in2-14761 in2-14761
diff: memory exhausted
diff3: subsidiary program `diff' failed (exit status 2)
+ echo FAIL: diff3
FAIL: diff3
+ fail=1
+ rm -rf in-14761 in2-14761 out-14761 dir-14761
+ rm -rf in-14761 in2-14761 dir-14761 out-14761 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-14761 in2-14761
+ mkdir dir-14761
+ test sdiff = '['
+ prog=sdiff
+ type sdiff_setup
+ sdiff_setup
+ args=in-14761 in2-14761
+ env sdiff in-14761 in2-14761
diff: memory exhausted
+ echo FAIL: sdiff
FAIL: sdiff
+ fail=1
+ rm -rf in-14761 in2-14761 out-14761 dir-14761
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ cd /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests
+ chmod -R u+rwx /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-help-version.trRl
+ rm -rf /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-help-version.trRl
+ exit 1

FAIL: function-line-vs-leading-space (exit: 1)
==============================================

++ initial_cwd_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests
++ fail=0
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests gt-function-line-vs-leading-space.XXXX
+++ destdir_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests
+++ template_=gt-function-line-vs-leading-space.XXXX
+++ MAX_TRIES_=4
++++ unset TMPDIR
++++ mktemp -d -t -p /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests gt-function-line-vs-leading-space.XXXX
+++ d=
+++ fail=1
+++ fail=1
+++ test -d ''
+++ fail=1
++++ ls -dgo ''
++++ tr S -
+++ perms=drwxr-xr-x   2    1024 Mar 26 14:47 .
+++ fail=1
+++ test 1 = 0
++++ echo gt-function-line-vs-leading-space.XXXX
++++ sed 's/XX*$//'
+++ base_template_=gt-function-line-vs-leading-space.
++++ echo gt-function-line-vs-leading-space.XXXX
++++ wc -c
+++ template_length_=      39
++++ echo gt-function-line-vs-leading-space.
++++ wc -c
+++ nx_=      35
++++ expr 39 - 35
+++ nx_=4
+++ err_=
+++ i_=1
+++ :
++++ rand_bytes_ 4
++++ n_=4
++++ chars_=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
++++ dev_rand_=/dev/urandom
++++ test -r /dev/urandom
++++ dd ibs=4 count=1 if=/dev/urandom
++++ LC_ALL=C
++++ tr -c abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 01234567abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
++++ return
+++ X_=LRPr
+++ candidate_dir_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-function-line-vs-leading-space.LRPr
++++ mkdir -m 0700 /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-function-line-vs-leading-space.LRPr
+++ err_=
+++ echo /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-function-line-vs-leading-space.LRPr
+++ return
++ test_dir_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-function-line-vs-leading-space.LRPr
++ cd /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-function-line-vs-leading-space.LRPr
++ gl_init_sh_nl_=

++ IFS=         

+++ expr 1 + 128
++ eval 'trap '\''Exit 129'\'' 1'
+++ trap 'Exit 129' 1
+++ expr 2 + 128
++ eval 'trap '\''Exit 130'\'' 2'
+++ trap 'Exit 130' 2
+++ expr 3 + 128
++ eval 'trap '\''Exit 131'\'' 3'
+++ trap 'Exit 131' 3
+++ expr 13 + 128
++ eval 'trap '\''Exit 141'\'' 13'
+++ trap 'Exit 141' 13
+++ 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
++ cd /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/../src
++ echo /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/src
+ abs_path_dir_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/src
+ PATH=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/src:/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/src:/usr/local/bin:/opt/bw/bin:/opt/bw/sbin::/usr/xpg4/bin:/usr/ccs/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.8_i386_001/src
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ cat
+ sed s/foo/null/
+ cat
+ fail=0
+ diff -u -F '^[[:space:]]*\(function\|procedure\)' in in2
+ test 2 = 1
+ fail=1
+ sed -n '3,$p' out
+ mv k out
+ compare out exp
+ diff -u out exp
diff: memory exhausted
+ fail=1
+ compare err /dev/null
+ diff -u err /dev/null
diff: memory exhausted
+ fail=1
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ cd /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests
+ chmod -R u+rwx /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-function-line-vs-leading-space.LRPr
+ rm -rf /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-function-line-vs-leading-space.LRPr
+ exit 1

FAIL: label-vs-func (exit: 1)
=============================

++ initial_cwd_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests
++ fail=0
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests gt-label-vs-func.XXXX
+++ destdir_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests
+++ template_=gt-label-vs-func.XXXX
+++ MAX_TRIES_=4
++++ unset TMPDIR
++++ mktemp -d -t -p /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests gt-label-vs-func.XXXX
+++ d=
+++ fail=1
+++ fail=1
+++ test -d ''
+++ fail=1
++++ ls -dgo ''
++++ tr S -
+++ perms=drwxr-xr-x   2    1024 Mar 26 14:47 .
+++ fail=1
+++ test 1 = 0
++++ echo gt-label-vs-func.XXXX
++++ sed 's/XX*$//'
+++ base_template_=gt-label-vs-func.
++++ echo gt-label-vs-func.XXXX
++++ wc -c
+++ template_length_=      22
++++ echo gt-label-vs-func.
++++ wc -c
+++ nx_=      18
++++ expr 22 - 18
+++ nx_=4
+++ err_=
+++ i_=1
+++ :
++++ rand_bytes_ 4
++++ n_=4
++++ chars_=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
++++ dev_rand_=/dev/urandom
++++ test -r /dev/urandom
++++ dd ibs=4 count=1 if=/dev/urandom
++++ LC_ALL=C
++++ tr -c abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 01234567abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
++++ return
+++ X_=k65Q
+++ candidate_dir_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-label-vs-func.k65Q
++++ mkdir -m 0700 /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-label-vs-func.k65Q
+++ err_=
+++ echo /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-label-vs-func.k65Q
+++ return
++ test_dir_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-label-vs-func.k65Q
++ cd /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-label-vs-func.k65Q
++ gl_init_sh_nl_=

++ IFS=         

+++ expr 1 + 128
++ eval 'trap '\''Exit 129'\'' 1'
+++ trap 'Exit 129' 1
+++ expr 2 + 128
++ eval 'trap '\''Exit 130'\'' 2'
+++ trap 'Exit 130' 2
+++ expr 3 + 128
++ eval 'trap '\''Exit 131'\'' 3'
+++ trap 'Exit 131' 3
+++ expr 13 + 128
++ eval 'trap '\''Exit 141'\'' 13'
+++ trap 'Exit 141' 13
+++ 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
++ cd /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/../src
++ echo /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/src
+ abs_path_dir_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/src
+ PATH=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/src:/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/src:/usr/local/bin:/opt/bw/bin:/opt/bw/sbin::/usr/xpg4/bin:/usr/ccs/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.8_i386_001/src
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ fail=0
+ cat
+ cat
+ sed s/1/2/ a
+ diff -p -u0 a b
+ test 2 = 1
+ fail=1
+ tail -3 out
+ mv k out
+ compare out exp
+ diff -u out exp
diff: memory exhausted
+ fail=1
+ compare err /dev/null
+ diff -u err /dev/null
diff: memory exhausted
+ fail=1
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ cd /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests
+ chmod -R u+rwx /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-label-vs-func.k65Q
+ rm -rf /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-label-vs-func.k65Q
+ exit 1

FAIL: no-newline-at-eof (exit: 1)
=================================

++ initial_cwd_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests
++ fail=0
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests gt-no-newline-at-eof.XXXX
+++ destdir_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests
+++ template_=gt-no-newline-at-eof.XXXX
+++ MAX_TRIES_=4
++++ unset TMPDIR
++++ mktemp -d -t -p /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests gt-no-newline-at-eof.XXXX
+++ d=
+++ fail=1
+++ fail=1
+++ test -d ''
+++ fail=1
++++ ls -dgo ''
++++ tr S -
+++ perms=drwxr-xr-x   2    1024 Mar 26 14:47 .
+++ fail=1
+++ test 1 = 0
++++ echo gt-no-newline-at-eof.XXXX
++++ sed 's/XX*$//'
+++ base_template_=gt-no-newline-at-eof.
++++ echo gt-no-newline-at-eof.XXXX
++++ wc -c
+++ template_length_=      26
++++ echo gt-no-newline-at-eof.
++++ wc -c
+++ nx_=      22
++++ expr 26 - 22
+++ nx_=4
+++ err_=
+++ i_=1
+++ :
++++ rand_bytes_ 4
++++ n_=4
++++ chars_=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
++++ dev_rand_=/dev/urandom
++++ test -r /dev/urandom
++++ dd ibs=4 count=1 if=/dev/urandom
++++ LC_ALL=C
++++ tr -c abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 01234567abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
++++ return
+++ X_=rHGO
+++ candidate_dir_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-no-newline-at-eof.rHGO
++++ mkdir -m 0700 /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-no-newline-at-eof.rHGO
+++ err_=
+++ echo /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-no-newline-at-eof.rHGO
+++ return
++ test_dir_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-no-newline-at-eof.rHGO
++ cd /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-no-newline-at-eof.rHGO
++ gl_init_sh_nl_=

++ IFS=         

+++ expr 1 + 128
++ eval 'trap '\''Exit 129'\'' 1'
+++ trap 'Exit 129' 1
+++ expr 2 + 128
++ eval 'trap '\''Exit 130'\'' 2'
+++ trap 'Exit 130' 2
+++ expr 3 + 128
++ eval 'trap '\''Exit 131'\'' 3'
+++ trap 'Exit 131' 3
+++ expr 13 + 128
++ eval 'trap '\''Exit 141'\'' 13'
+++ trap 'Exit 141' 13
+++ 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
++ cd /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/../src
++ echo /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/src
+ abs_path_dir_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/src
+ PATH=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/src:/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/src:/usr/local/bin:/opt/bw/bin:/opt/bw/sbin::/usr/xpg4/bin:/usr/ccs/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.8_i386_001/src
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ printf '\n1'
+ printf '\n0\n\n1'
+ cat
+ cat
+ fail=0
+ opt=--suppress-blank-empty
+ diff --suppress-blank-empty -U1 a b
+ test 2 = 1
+ fail=1
+ sed -n '/^@@/,$p' out
+ mv k out
+ compare out exp
+ diff -u out exp
diff: memory exhausted
+ fail=1
+ compare err /dev/null
+ diff -u err /dev/null
diff: memory exhausted
+ fail=1
+ echo
+ diff --suppress-blank-empty -U1 a b
+ test 2 = 1
+ fail=1
+ sed -n '/^@@/,$p' out
+ mv k out
+ compare out exp2
+ diff -u out exp2
diff: memory exhausted
+ fail=1
+ compare err /dev/null
+ diff -u err /dev/null
diff: memory exhausted
+ fail=1
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ cd /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests
+ chmod -R u+rwx /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-no-newline-at-eof.rHGO
+ rm -rf /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-no-newline-at-eof.rHGO
+ exit 1

FAIL: stdin (exit: 1)
=====================

++ initial_cwd_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests
++ fail=0
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests gt-stdin.XXXX
+++ destdir_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests
+++ template_=gt-stdin.XXXX
+++ MAX_TRIES_=4
++++ unset TMPDIR
++++ mktemp -d -t -p /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests gt-stdin.XXXX
+++ d=
+++ fail=1
+++ fail=1
+++ test -d ''
+++ fail=1
++++ ls -dgo ''
++++ tr S -
+++ perms=drwxr-xr-x   2    1024 Mar 26 14:47 .
+++ fail=1
+++ test 1 = 0
++++ echo gt-stdin.XXXX
++++ sed 's/XX*$//'
+++ base_template_=gt-stdin.
++++ echo gt-stdin.XXXX
++++ wc -c
+++ template_length_=      14
++++ echo gt-stdin.
++++ wc -c
+++ nx_=      10
++++ expr 14 - 10
+++ nx_=4
+++ err_=
+++ i_=1
+++ :
++++ rand_bytes_ 4
++++ n_=4
++++ chars_=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
++++ dev_rand_=/dev/urandom
++++ test -r /dev/urandom
++++ dd ibs=4 count=1 if=/dev/urandom
++++ LC_ALL=C
++++ tr -c abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 01234567abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
++++ return
+++ X_=Nj2O
+++ candidate_dir_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-stdin.Nj2O
++++ mkdir -m 0700 /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-stdin.Nj2O
+++ err_=
+++ echo /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-stdin.Nj2O
+++ return
++ test_dir_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-stdin.Nj2O
++ cd /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-stdin.Nj2O
++ gl_init_sh_nl_=

++ IFS=         

+++ expr 1 + 128
++ eval 'trap '\''Exit 129'\'' 1'
+++ trap 'Exit 129' 1
+++ expr 2 + 128
++ eval 'trap '\''Exit 130'\'' 2'
+++ trap 'Exit 130' 2
+++ expr 3 + 128
++ eval 'trap '\''Exit 131'\'' 3'
+++ trap 'Exit 131' 3
+++ expr 13 + 128
++ eval 'trap '\''Exit 141'\'' 13'
+++ trap 'Exit 141' 13
+++ 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
++ cd /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/../src
++ echo /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/src
+ abs_path_dir_=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/src
+ PATH=/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/src:/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/src:/usr/local/bin:/opt/bw/bin:/opt/bw/sbin::/usr/xpg4/bin:/usr/ccs/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.8_i386_001/src
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ fail=0
+ cat
+ echo a
+ echo b
+ diff -u - b
+ test 2 = 1
+ fail=1
+ sed -e 's/^\([-+*][-+*][-+*] [^       ]*\)    .*/\1/' out
+ mv k out
+ compare out exp
+ diff -u out exp
diff: memory exhausted
+ fail=1
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ cd /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests
+ chmod -R u+rwx /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-stdin.Nj2O
+ rm -rf /usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests/gt-stdin.Nj2O
+ exit 1
======================================
9 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.8_i386_001/tests'
gmake[2]: *** [check-TESTS] Error 2
gmake[2]: Leaving directory `/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests'
gmake[1]: *** [check-am] Error 2
gmake[1]: Leaving directory `/usr/local/build/diffutils-3.2_SunOS5.8_i386_001/tests'
gmake: *** [check-recursive] Error 1
titan $





--Boundary_(ID_aaz733el1e8iscmyn1taVg)
Content-type: application/x-bzip;
 NAME=diffutils-3.2_SunOS5.8_i386_test-suite.log.bz2
Content-transfer-encoding: base64
Content-disposition: attachment;
 filename=diffutils-3.2_SunOS5.8_i386_test-suite.log.bz2

QlpoOTFBWSZTWZHUHlAAHd3/gHAwMGJk///6f/////////RgFb72fO+w9eg3Y9A6UAAMHWVy
AACzLY0NAAUMqjM0pE0yFFAG2qgGTVSbaT1TTyh6mgaaAaBiAMIaDIA0BoDRoOBoNMhpo0MI
GQ0MEaGmTRoBkGIAA0IVT9vUVQekyAfqgaAAAAAAAAAAAEmlU0ypsjRG0p6jaGhDAg0MCMEY
mTINNqHqaaGE1UkxATUxGSenqamp5NQaaA0AAaAAADQNApSSExAAgEaCnplT8gTNU/1TTU/V
NqPSeRPU9DTU9TTyR+qPvIu1BcqV2V8Vej2q5dWvPux19mvWrXj2dKL+ECkPxgWAwOIPXucP
HwUvPT6+rA08cBgPYCBoAJpZPmAXwHAe5Am3/mHwdD4tgYgLwNaS9FHLmMIe8DzyGuuEYjJe
wEReXoopFFIoq1uyS9y919V2OUa9/XPhl8M1ZrVqvZG68fF7vOH8nLpHxl6Dk2nEc6Ns5aw3
R7o9Nzudl6fT6fR6PT6fRcl7MXLB2WFdisd/Now8jVXWr0zXHLt36vBRIBRRWZWVlZlZWX4u
HRKVFJLB6uIqJTVEnOc59vp9LxuUeX6ZT6I48erly59PVt1x1x7U+ft+b5I9UfmjhHojt6uv
s7+/v73NH5I5cuXLly5cm6PCPWjsj0R1RqP7Y7Y2jzjyj38PLWfp9fPX0x9Uej0ejw9Ho9Ho
e2O+O9HfHlKf0jnGQd+BcN/etwtytzW5rddu5blamfWb2WwYQN3Y3dHj4+Pi/fG+PwR3x7o8
Y/XHnHCPON8fEKYA2ZFKNHPRCbUVKAUMbL0EXASmWnop2DpExEgsCyV3YV+HnG5H3x3b0915
3zx0x4R9MfSefjKdRkpq/b59EfhPKU16eXzfz1ty/4ceyPOPUj6Y64/0jj727odH0/O6ff5X
K6rL142strLXlv8o8np8UdHKPCOUdMcT5y3xo4cI21qM3Q3Rx2o6N5fXH2R+j7y5r+rE0MDR
AxgZoGxVVVVVWwNHRvDjhhhhgAAAAAAAAAAAFCJgIqJWqiVVR8kdsemO+NQ2GI4RidkZGo+q
O6+6U3I3RvjI0RphHsjaNkyN9w6No+eN8dEbR6NnacdZlN0sKwrTTPPmry8iuPm2dMeKvFWb
YzYZMMmWrLVltwjruzUfVGRuPkzLf2xujrjUaj+Z32o8vh0Or4/k73t6vDfHOPPDk18K5+3f
Ho/OdRttnMsqnnGI++vJM19PDQfh9Mak79/NtHKMjI6GuNjLKnJM1sxbJm3DM/B/LicjDehy
pZE4LzWqq5/STVLpRilwZGZGTIzAnxcPPCY5GeENcDfxGIxGIxGIxGI2MbH4rdZZZZZZb9o+
iOyOPPznQvlw9XBTjHWXmOntjCZG6sjIZGtIHyPbhsmlhZrDWCqqqukDWZQhNzTBqO6MjUYo
73W7F0Jm7nwjRW7e1R2libowpdu7z5bhvRiV/XGo1iOjj5l1D4HuHQ8UfZH7bx+b1a/mez7/
ojlG+Pqj4kfkjdH13kj2RtHRGRwjI64yNoyOF0/b0+VluI/3SmK4RkZGRkZGRkZGHOOMc45x
qNxS4GJk6XXujbb6f+0YfinoiLjKfBNRkYjIyMUyMZGUYjIrEYqyTFWYplVZVWSmVkYVkpgY
jKyMGIyjEYZGSyMlMxTEZkYqyMosRkyKyvwlpQtRhGIxGFkZiMlMlMjCMjIyMIyMRmEZGRlk
pkZKpkAbR9Edfc790ZhegtNS6saZLt+XbQ+PW1bevbba3DDdZlZibGq0+dKlintGtGx5MysY
ln9iaRsJlT36ZV77MMqaZjaM420xGPYrKNg4jam2q94aR8yzFcZtHAaDg0VjGMUsJzHwDgM6
eSVhX0vg4cdeensyyxrplsz1159O/8NejkrzqzVoTgeApcz2oqIipQq01VyxqO71JMzNKIgA
Id4lKIiHeJSxrplsz11zVkaHgrYmpp0ptMzy/g281euv/DqT/vHjrdkfWfS0d8dMfojrj2Rv
j80fHH5Y6EJpG+OpL2RkZHxIlsV9bzXD4ad+QNCS2R72SuRO/Cso7o648qXx0sRyySuVLoI7
I7SBYFgWAkBhIsUWKLFFiixRYosUWKLGyE2IFmYEYCozI3tRqNMj7I9n2fIj+yPghN6E+qU6
I4mR2HPL17D+zdMyzEYahkyMNJqM0MjUZG/EfI1qNt1iNzI+DY9jBvjFXQ3x7o7IyMjUdp6e
xCbP8XwNa+mblLprcqrcxR2H2SGkbZR7RjTM+bXjn2eHJHfvb452/hsjbI3eU0nAHbzbVjNy
l1mVrZialNa0jhwfeNKJ05Y+QcI4RpqNRqHbtG0eSO3h+nfmcEJwI7FLbq/6n3oTW3SfqXOM
yOLW6No2cTUf1xsR61L5Y9ptEe8yOisjfrWa1R/chP3TxUugfQN9dGYnGQ4n2j41LxQnA5S9
kZEc1LlKbmxxQnKU9SE4xw3ajWtR+fw3I2Rqj6o/P4f7R6cYTDlx+MR9qMRwjsjy2j7er4fP
9aPojI+KvdGaRwpX70bXjujwjEftjCPzhmAwgIQsBCBSHY2rs5fT2L8GfOpg5cq4oujT6+uw
mquqLoXgrMu7Htb9qtlGeVejZ1Y15Za6fav3W6nxIvzDar45X6lfyRfV7Vfoj/WU8Y/JKcY/
jKf+o+WOSU+31m2ZizP5Sm+O6U3fMP6I9w/2lO6N8b0XaOpW9F/lFgditVaK+NF9St5n7gZ4
GMJDVAsDfhIasQyZeaqiK5mZ/SU96E6KOiPgP4yniP0D2yXhHsj7B3R3jwlPUOuOlCeuOqU9
ke9CepHCNR+OU8ux1yn98p/ui/gVPyKwi6Iv+IuKuSs0WY+yP/spn0H8B/8P0fi5m9KaP857
tuw9mvmz5dcDp/gaH3dRyccPzI67/CPuj88ZG6NR/ehPujuRwv+llljGZqOiMjIyl6v8IzfH
hHyxs5xjdHmjV/xj8aAhYG3A0wMjagM29RA72hVVVVVwZGcKWP1oTh+/OMbuEY4xm7I742jX
3Rm7+5+rWadUcY3/XGqWmRmIyuwvhH8Y1GR+yOyraOkOzjVz6ZS11yn7KSeuN5by4esOWkcI
ylzuUaoX6I6Q4HhHF04rl/pHOrKtJ+SrZHpjqjUc6XYVzJ0qdCv4FWjxye+POMUsjEZGt8OW
vsOGXdHGP2dnAuZKeqPJHThGE4+P+SNk22zMGMZmZg3I/hSTjG/E4xhXnKdQceHy1b474yPO
I6+jaOa7/6tkfs4at6sqnqjjK7g3xom+MTqjBqN2+l4Ruay80Jxlvj1RkeUZG+l3x6uEcZT6
dR5yWR1RjyIG7hhKRnKuZ8tCxgxAixjGMYi+/W9b9b8hnhponDbx3bZmOaE6C66umrzq/eHA
dOHv6SdEYjI7KW+Ocd//mOsus8PLbHtDOVX/vb0htVwV1Y+M68uG6U90apc47kcqtsjI74jq
htpaq0xLKywTh6EW1Xb3+I9ROylpK3Iu1yVxVs6kcMs1aDbtJx9eiuKrtK4c8VyjjdlWqByj
AHal58VaEzg3ovMMdUc1ZBfDLFbMzKi27aOZ79KOUa1J690dBbN4xaRpkGMUuivXkb5S3kxT
LOgroi8+nCq1zVu1VimYzxHLcEu5WmnHlTlTnDVWdcJbkW1WX7KdatM4mrVlt27IZ4HAQdUl
oLZLQVQslqhZLbJaCqFktULJaoWS2yWhtR7VNHjgsV4lZGR5x7SeZb8Vvj7ZTfGoyid3chOE
cY79RwHHYrLwGatlBXRXplyyRe6qXhQnkGmdNUmqW6NZHCOji8MyxMyaVyj0S+aNyb8ltHbn
RQtNa/dg5w3w0Vql54646hiMb61iXdEPCPDI8I+4e2U8uob71Hhl7w9X+sppHjR+phYsXKU5
6+KrNqSbFLgrJXpVy9Ee47x6ieG+UWg8isrYrHEdBoO45UxS8R60XqJLu7SdauJUuWKb6YJ2
4VvJ4o5K0dBN+qtIdkp745qO6rIynx2MqY5htUc45RxGRulsjmbbbQpxMIZgBFkURUUkGRgW
MCB3oTW3COAbw31XVxjFLZVuqxVtHZpG61H6+jgrb1ynq5RxLI56jhnTyjirZUuErrtFYFXa
N3aSXXyVu3YjPNa9g9RMVXVRY93TmrVJlLlrzL1R6+snZzjonllMwnxYnd59CPOdx75p4lut
ZNp6EpoOaYmcS10m6MH8rgt1xq08OXG3ss1GC7QwOuOuMjUf5nGV0R3RvRtG+phW5miyE2yu
xjVPkwtKN258m1D9w+O8cjyT1FtG+k84ym+Nt9HYjvgrTfnpPTl0Dr5o3qXy/F4x4R5UuNC6
hHaHjuK4+uO2OKOaNFkTsVbabqzjNHNW8myeOyGisSv5ynQn2R7437EwO2lwe6OebUYhO6+x
VlW9X8t8dn5ZeEa2A8RnLUe6PI2LUco9MdauEZL3kcvQvZpH4/Xp0l4por5o3DarI2jI1Vz6
SuVW7Kvy9UFdQjrKG+MjmXPYrOhW5HAmVK4ym/fvOZwWGDH9UeZbXejNcoyOEYq+IjEYlMTn
G6NKt5MTdmo4JONWK0xQ29cfFS4Rm0dcezo5c9b46I66QgXTCQoQ34SdMgbmKqqqqqQ43tVk
oduJWCYxIsbE59auBOKdVUnLpDi9ObIyL5DbLUp7ZTJeQRy17CrjRmi6nTbXdFhW6mWl7lUm
endWUwfpQmqrhHpjiPl4RtdxPDoTUTYqjnS3FOASzScVPiGV3SWOrSl39CO5K9Ephd6P7R0I
9Mco5Ve5HySnGPrjoe2OhHdHFQ/xjMSmRXjGAcY4xxGSnh/kOrTJPPKsjU7o/BJe8+QYcjFa
lPRPk3EzG4/D//F3JFOFCQkdQeUA

--Boundary_(ID_aaz733el1e8iscmyn1taVg)--


From MAILER-DAEMON Tue Mar 26 14:41:07 2013
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1UKYnz-0007u7-EK
	for mharc-bug-diffutils@gnu.org; Tue, 26 Mar 2013 14:41:07 -0400
Received: from eggs.gnu.org ([208.118.235.92]:59553)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1UKYnv-0007qd-2M
	for bug-diffutils@gnu.org; Tue, 26 Mar 2013 14:41:06 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1UKYnr-0007Qd-M3
	for bug-diffutils@gnu.org; Tue, 26 Mar 2013 14:41:02 -0400
Received: from smtp.cs.ucla.edu ([131.179.128.62]:42112)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1UKYnr-0007Mg-BV
	for bug-diffutils@gnu.org; Tue, 26 Mar 2013 14:40:59 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.cs.ucla.edu (Postfix) with ESMTP id AD75039E8109
	for <bug-diffutils@gnu.org>; Tue, 26 Mar 2013 11:40:51 -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 4-VAVo71UadK for <bug-diffutils@gnu.org>;
	Tue, 26 Mar 2013 11:40:51 -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 1FC4539E8106
	for <bug-diffutils@gnu.org>; Tue, 26 Mar 2013 11:40:51 -0700 (PDT)
Message-ID: <5151EBAE.2020300@cs.ucla.edu>
Date: Tue, 26 Mar 2013 11:40:46 -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: "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] [PATCH] tests: port to Solaris 10 /bin/sh
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, 26 Mar 2013 18:41:06 -0000

I pushed this as obvious.

* tests/Makefile.am (TESTS_ENVIRONMENT):
Use "FOO=val; export FOO" rather than "export FOO=val",
as the latter form doesn't work with Solaris /bin/sh.
Problem found when trying to run "make check" on Solaris 10.
---
 tests/Makefile.am | 42 +++++++++++++++++++++---------------------
 1 file changed, 21 insertions(+), 21 deletions(-)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index f9beeeb..5cbcfb4 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -21,27 +21,27 @@ EXTRA_DIST = \
 # variables that can perturb tests are unset or set to expected values.
 # The rest are envvar settings that propagate build-related Makefile
 # variables to test scripts.
-TESTS_ENVIRONMENT =				\
-  tmp__=$$TMPDIR; test -d "$$tmp__" || tmp__=.;	\
-  TMPDIR=$$tmp__; export TMPDIR;		\
-  export					\
-  VERSION='$(VERSION)'				\
-  abs_top_builddir='$(abs_top_builddir)'	\
-  abs_top_srcdir='$(abs_top_srcdir)'		\
-  abs_srcdir='$(abs_srcdir)'			\
-  built_programs="`$(built_programs)`"		\
-  srcdir='$(srcdir)'				\
-  top_srcdir='$(top_srcdir)'			\
-  CC='$(CC)'					\
-  MAKE=$(MAKE)					\
-  PACKAGE_BUGREPORT='$(PACKAGE_BUGREPORT)'	\
-  PACKAGE_VERSION=$(PACKAGE_VERSION)		\
-  CONFIG_HEADER='$(abs_top_builddir)/lib/config.h' \
-  ENABLE_DEVICE_MAPPER=$(ENABLE_DEVICE_MAPPER)	\
-  PERL='$(PERL)'				\
-  PREFERABLY_POSIX_SHELL='$(PREFERABLY_POSIX_SHELL)' \
-  REPLACE_GETCWD=$(REPLACE_GETCWD)		\
-  PATH='$(abs_top_builddir)/src$(PATH_SEPARATOR)'"$$PATH" \
+TESTS_ENVIRONMENT =							\
+  tmp__=$$TMPDIR; test -d "$$tmp__" || tmp__=.;				\
+  TMPDIR=$$tmp__; export TMPDIR;					\
+  VERSION='$(VERSION)'; export VERSION;					\
+  abs_top_builddir='$(abs_top_builddir)'; export abs_top_builddir;	\
+  abs_top_srcdir='$(abs_top_srcdir)'; export abs_top_srcdir;		\
+  abs_srcdir='$(abs_srcdir)'; export abs_srcdir;			\
+  built_programs="`$(built_programs)`"					\
+  srcdir='$(srcdir)'; export built_programs;				\
+  top_srcdir='$(top_srcdir)'; export top_srcdir;			\
+  CC='$(CC)'; export CC;						\
+  MAKE=$(MAKE); export MAKE;						\
+  PACKAGE_BUGREPORT='$(PACKAGE_BUGREPORT)'; export PACKAGE_BUGREPORT;	\
+  PACKAGE_VERSION=$(PACKAGE_VERSION); export PACKAGE_VERSION;		\
+  CONFIG_HEADER='$(abs_top_builddir)/lib/config.h'; export CONFIG_HEADER; \
+  ENABLE_DEVICE_MAPPER=$(ENABLE_DEVICE_MAPPER); export ENABLE_DEVICE_MAPPER; \
+  PERL='$(PERL)'; export PERL;						\
+  PREFERABLY_POSIX_SHELL='$(PREFERABLY_POSIX_SHELL)';			\
+    export PREFERABLY_POSIX_SHELL;					\
+  REPLACE_GETCWD=$(REPLACE_GETCWD); export REPLACE_GETCWD;		\
+  PATH='$(abs_top_builddir)/src$(PATH_SEPARATOR)'"$$PATH"; export PATH	\
   ; 9>&2
 
 LOG_COMPILER= $(SHELL)
-- 
1.7.11.7



From MAILER-DAEMON Tue Mar 26 14:43:19 2013
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1UKYq7-0000Kh-5Y
	for mharc-bug-diffutils@gnu.org; Tue, 26 Mar 2013 14:43:19 -0400
Received: from eggs.gnu.org ([208.118.235.92]:60933)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1UKYq4-0000KD-KO
	for bug-diffutils@gnu.org; Tue, 26 Mar 2013 14:43:18 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1UKYq3-0008Be-5j
	for bug-diffutils@gnu.org; Tue, 26 Mar 2013 14:43:16 -0400
Received: from smtp.cs.ucla.edu ([131.179.128.62]:42238)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1UKYq2-0008BZ-Vh
	for bug-diffutils@gnu.org; Tue, 26 Mar 2013 14:43:15 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.cs.ucla.edu (Postfix) with ESMTP id 6924939E8109;
	Tue, 26 Mar 2013 11:43:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu
Received: from smtp.cs.ucla.edu ([127.0.0.1])
	by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id zvFbG8orDDhc; Tue, 26 Mar 2013 11:43:14 -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 1212539E8108;
	Tue, 26 Mar 2013 11:43:14 -0700 (PDT)
Message-ID: <5151EC41.9030300@cs.ucla.edu>
Date: Tue, 26 Mar 2013 11:43:13 -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: Errembault Philippe <philippe_errembault@yahoo.fr>
References: <1359263901.9534.YahooMailNeo@web133002.mail.ir2.yahoo.com>
	<1364309541.75703.YahooMailNeo@web133004.mail.ir2.yahoo.com>
In-Reply-To: <1364309541.75703.YahooMailNeo@web133004.mail.ir2.yahoo.com>
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-diffutils@gnu.org>
Subject: Re: [bug-diffutils] Tr : Confusion between unicode names in diff
 2.9.19-4065
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, 26 Mar 2013 18:43:18 -0000

On 03/26/2013 07:52 AM, Errembault Philippe wrote:
> Hello, I see no reaction to my previous message.

I don't recall the message, sorry.

> About this bug, I just found out that the problem is about collating sequences in some locales

My guess is that there's a bug in strcoll on your system.

Diff relies on strcoll of file names; if strcoll is
busted in your locale, diff won't work.  One workaround,
as you've discovered, is to switch to a locale where
strcoll works reliably.

To test my theory you could inspect all the calls to
strcoll and make sure the results that they return
are correct for your locale.  This will require a debugger
though.


From MAILER-DAEMON Tue Mar 26 15:00:51 2013
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1UKZ75-0004ny-Jc
	for mharc-bug-diffutils@gnu.org; Tue, 26 Mar 2013 15:00:51 -0400
Received: from eggs.gnu.org ([208.118.235.92]:38395)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1UKZ6y-0004mv-4v
	for bug-diffutils@gnu.org; Tue, 26 Mar 2013 15:00:49 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1UKZ6w-0005Yi-H9
	for bug-diffutils@gnu.org; Tue, 26 Mar 2013 15:00:44 -0400
Received: from smtp.cs.ucla.edu ([131.179.128.62]:43104)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1UKZ6w-0005Ya-BB
	for bug-diffutils@gnu.org; Tue, 26 Mar 2013 15:00:42 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.cs.ucla.edu (Postfix) with ESMTP id 341A739E8109;
	Tue, 26 Mar 2013 12:00:41 -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 sqMMIRvUH9Mt; Tue, 26 Mar 2013 12:00:40 -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 C688739E8106;
	Tue, 26 Mar 2013 12:00:40 -0700 (PDT)
Message-ID: <5151F058.6090801@cs.ucla.edu>
Date: Tue, 26 Mar 2013 12:00:40 -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: Dennis Clarke <dclarke@blastwave.org>
References: <fb7fd55f5ffb.51518ddf@blastwave.org>
In-Reply-To: <fb7fd55f5ffb.51518ddf@blastwave.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
Subject: Re: [bug-diffutils] diffutils-3.2 : 9 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, 26 Mar 2013 19:00:49 -0000

On 03/26/2013 09:00 AM, Dennis Clarke wrote:
> Looks like diffutils has a pile of dependencies on other GNU tools like
> maybe coreutils first.

I don't see any dependencies there.

The build procedure should work on Solaris 8,
but we haven't tested that (I have no access to Solaris 8
hosts; Oracle dropped support for them a while ago and my
last Solaris 8 host died a few months ago).

Anyway, here's the first test failure you reported:

+ fail=0
+ cat
+ cat
+ cat
+ echo a
+ echo b
+ diff a b
+ test 2 = 1
+ fail=1
+ sed -e 's/^\([-+*][-+*][-+*] [^       ]*\)    .*/\1/' out
+ mv k out
++ echo
++ tr ' ' _
+ compare out exp-
+ diff -u out exp-
diff: memory exhausted
+ fail=1

This resulted from this test script:

echo a > a
echo b > b
for opt in '' -u -c; do
  diff $opt a b > out 2> err; test $? = 1 || fail=1
  # Remove date and time.                                                       
  sed -e 's/^\([-+*][-+*][-+*] [^       ]*\)    .*/\1/' out > k; mv k out
  compare exp-$(echo $opt|tr ' ' _) out || fail=1
done

Can you investigate why that script failed?  In particular, this:

echo a > a
echo b > b
diff a b
echo $?

Should output "1" at the end, but it's outputting "2" for you,
which is a bug.  Can you reproduce that bug yourself, and/or
use a debugger to figure out what went wrong for you?


From MAILER-DAEMON Thu Mar 28 18:00:46 2013
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1ULKsH-00088N-Hu
	for mharc-bug-diffutils@gnu.org; Thu, 28 Mar 2013 18:00:45 -0400
Received: from eggs.gnu.org ([208.118.235.92]:59282)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1ULKsE-00086F-5q
	for bug-diffutils@gnu.org; Thu, 28 Mar 2013 18:00:43 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1ULKsD-0005jY-8j
	for bug-diffutils@gnu.org; Thu, 28 Mar 2013 18:00:42 -0400
Received: from smtp.cs.ucla.edu ([131.179.128.62]:55853)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1ULKfz-00020U-Vv
	for bug-diffutils@gnu.org; Thu, 28 Mar 2013 17:48:04 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.cs.ucla.edu (Postfix) with ESMTP id 6751139E8108;
	Thu, 28 Mar 2013 14:47:56 -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 Yzdc4-YZOGCV; Thu, 28 Mar 2013 14:47:56 -0700 (PDT)
Received: from [10.10.0.59] (rrcs-74-62-23-134.west.biz.rr.com [74.62.23.134])
	by smtp.cs.ucla.edu (Postfix) with ESMTPSA id B51A439E8100;
	Thu, 28 Mar 2013 14:47:55 -0700 (PDT)
Message-ID: <5154BA87.3040808@cs.ucla.edu>
Date: Thu, 28 Mar 2013 14:47:51 -0700
From: Paul Eggert <eggert@cs.ucla.edu>
User-Agent: Mozilla/5.0 (X11; Linux i686;
	rv:17.0) Gecko/20130308 Thunderbird/17.0.4
MIME-Version: 1.0
To: Errembault Philippe <philippe_errembault@yahoo.fr>
References: <1359263901.9534.YahooMailNeo@web133002.mail.ir2.yahoo.com>
	<1364309541.75703.YahooMailNeo@web133004.mail.ir2.yahoo.com>
	<5151EC41.9030300@cs.ucla.edu>
	<1364403942.85625.YahooMailNeo@web133005.mail.ir2.yahoo.com>
	<515331B6.2030906@cs.ucla.edu>
	<1364416174.24782.YahooMailNeo@web133003.mail.ir2.yahoo.com>
	<5153E6B4.5070803@cs.ucla.edu>
	<1364489128.17216.YahooMailNeo@web133001.mail.ir2.yahoo.com>
In-Reply-To: <1364489128.17216.YahooMailNeo@web133001.mail.ir2.yahoo.com>
Content-Type: multipart/alternative;
	boundary="------------030208090300020501040804"
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] Tr : Confusion between unicode names in diff
 2.9.19-4065
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, 28 Mar 2013 22:00:44 -0000

This is a multi-part message in MIME format.
--------------030208090300020501040804
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

On 03/28/2013 09:45 AM, Errembault Philippe wrote:
> You might have to add a second test with strcmp when strcoll returns 0

GNU diff already does that.  Apparently that isn't working
for your case.  Perhaps if you can try running diffutils
with a debugger on that case, you can see why.

I suggest compiling with '-g' and without '-O' as that
makes it easier to debug.  Or if you have GCC 4.8
you can use '-g -Og'.

--------------030208090300020501040804
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<html>
  <head>
    <meta content=3D"text/html; charset=3DUTF-8" http-equiv=3D"Content-Ty=
pe">
  </head>
  <body bgcolor=3D"#FFFFFF" text=3D"#000000">
    <div class=3D"moz-cite-prefix">On 03/28/2013 09:45 AM, Errembault
      Philippe wrote:<br>
    </div>
    <blockquote
      cite=3D"mid:1364489128.17216.YahooMailNeo@web133001.mail.ir2.yahoo.=
com"
      type=3D"cite">
      <div style=3D"font-family: 'Courier New', courier, monaco,
        monospace, sans-serif; font-size: 13px; color: rgb(0, 0, 0);
        background-color: transparent; font-style: normal;">You might
        have to add a second test with strcmp when strcoll returns 0</div=
>
    </blockquote>
    <br>
    GNU diff already does that.=C2=A0 Apparently that isn't working<br>
    for your case.=C2=A0 Perhaps if you can try running diffutils<br>
    with a debugger on that case, you can see why.<br>
    <br>
    I suggest compiling with '-g' and without '-O' as that<br>
    makes it easier to debug.=C2=A0 Or if you have GCC 4.8<br>
    you can use '-g -Og'.<br>
  </body>
</html>

--------------030208090300020501040804--


From MAILER-DAEMON Fri Mar 29 01:54:02 2013
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1ULSGI-0004YX-Fi
	for mharc-bug-diffutils@gnu.org; Fri, 29 Mar 2013 01:54:02 -0400
Received: from eggs.gnu.org ([208.118.235.92]:46963)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <yoi_no_myoujou@yahoo.co.jp>) id 1ULOg0-0004l5-CU
	for bug-diffutils@gnu.org; Thu, 28 Mar 2013 22:04:23 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <yoi_no_myoujou@yahoo.co.jp>) id 1ULOfx-0001M2-LF
	for bug-diffutils@gnu.org; Thu, 28 Mar 2013 22:04:20 -0400
Received: from web100718.mail.kks.yahoo.co.jp ([183.79.100.22]:48580)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <yoi_no_myoujou@yahoo.co.jp>) id 1ULOfw-0001Lf-Sm
	for bug-diffutils@gnu.org; Thu, 28 Mar 2013 22:04:17 -0400
Received: (qmail 47955 invoked by uid 60001); 29 Mar 2013 02:04:12 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp;
	s=yj20110701; t=1364522652;
	bh=yQ1VIjoA1QQsU2ZuUNrWWjdzuL9dE85n4fnWCqkzh8k=;
	h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding;
	b=QcB6Kt625CWqvGVvNBCq/zflqYO69xY/urT5XM9dFR2encZkV+YsEa12DyHqXD/x52PSNgD6oFdLC0Z/M8IoTsdl1KJBvX9s0+ugSoXhMPVXijbgRGdIUW8FwrT4d2dCBJXDXmHD/kzKAU/aeUDtLzNGLmqdkFC53sikBfuuLzQ=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp;
	h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding;
	b=DvqCk6PGJufAo0S3QV/xJVZxEQcYDxHc2SYCRvu2TzgqwqakPle5Gy4oTboqnn9TAc8MCYSIIR6UPh0Y4IlOVg0Q1xI5DmL2+KbcDdurJJ4ky/+en4bw3vz8ZpL6okn9ANrpp23kEztNfcGykty1LzQ+mrLEIHD+ZRsC1ItzXoA=;
Message-ID: <288261.43585.qm@web100718.mail.kks.yahoo.co.jp>
X-YMail-OSG: 9ECUIP0VM1ksdj3fpjBFrYtBodd0K3xnsR1FA.TNqwZKS86WVoeo7is4G2wV3N0hv.w1ohuR3nKVOvr9F0EOrzm_G_lIkr0w5wxRLlisfzhEWt2z0.uvxv0vyYE432XRMyJmXDxDPAFM8AYgi.gl66VuBj16TewlHlHP61TRzn3kEhtBY1YvX4PO76ngLGXsoGjdAWRZCTkYpBr.7hZJ65PNIGmnHsSkzavSrcGjQKIS2Sne2LPz4fNZJYSLNZ_bokP8AANWbDvSzuVOjrm5tlJ.MzUufqDEmGzoTX6mh_tCQzbZS5W0qcJW9ry.GvxECETzePFw.hdGoW9HxA6sd0VMO9A-
Received: from [58.188.23.29] by web100718.mail.kks.yahoo.co.jp via HTTP;
	Fri, 29 Mar 2013 11:04:11 JST
X-Mailer: YahooMailClassic/6.0.18 YahooMailWebService/0.8.111_39
Date: Fri, 29 Mar 2013 11:04:11 +0900 (JST)
From: Kiyoshi KANAZAWA <yoi_no_myoujou@yahoo.co.jp>
To: bug-diffutils@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: iOS iPhone or iPad
X-Received-From: 183.79.100.22
X-Mailman-Approved-At: Fri, 29 Mar 2013 01:54:01 -0400
Subject: [bug-diffutils] diffutils-3.3: make check aborts
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, 29 Mar 2013 02:04:23 -0000

Hello,=0A=0AI tried to install diffutils-3.3 on Solaris10 x86/64 and found:=
=0AMake check aborts with=0A "/bin/sh: VERSION=3D3.3: is not an identifier"=
=0Ain diffutils-3.3/tests.=0A=0AGuess there may be an simple error,=0A=0ARe=
gards,=0A=0A--- Kiyoshi <yoi_no_myoujou@yahoo.co.jp>=0A=0A


From MAILER-DAEMON Fri Mar 29 02:24:46 2013
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1ULSk2-0003WB-1W
	for mharc-bug-diffutils@gnu.org; Fri, 29 Mar 2013 02:24:46 -0400
Received: from eggs.gnu.org ([208.118.235.92]:59987)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1ULSk0-0003W5-3S
	for bug-diffutils@gnu.org; Fri, 29 Mar 2013 02:24:45 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1ULSjx-0007Ro-AG
	for bug-diffutils@gnu.org; Fri, 29 Mar 2013 02:24:44 -0400
Received: from smtp.cs.ucla.edu ([131.179.128.62]:45718)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1ULSjx-0007Pa-3s
	for bug-diffutils@gnu.org; Fri, 29 Mar 2013 02:24:41 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.cs.ucla.edu (Postfix) with ESMTP id 1A28F39E810A;
	Thu, 28 Mar 2013 23:24:40 -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 m9y0bdjRDkj1; Thu, 28 Mar 2013 23:24:38 -0700 (PDT)
Received: from [10.10.0.59] (rrcs-74-62-23-134.west.biz.rr.com [74.62.23.134])
	by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 7FA7F39E8100;
	Thu, 28 Mar 2013 23:24:38 -0700 (PDT)
Message-ID: <515533A5.7070404@cs.ucla.edu>
Date: Thu, 28 Mar 2013 23:24:37 -0700
From: Paul Eggert <eggert@cs.ucla.edu>
User-Agent: Mozilla/5.0 (X11; Linux i686;
	rv:17.0) Gecko/20130308 Thunderbird/17.0.4
MIME-Version: 1.0
To: Kiyoshi KANAZAWA <yoi_no_myoujou@yahoo.co.jp>
References: <288261.43585.qm@web100718.mail.kks.yahoo.co.jp>
In-Reply-To: <288261.43585.qm@web100718.mail.kks.yahoo.co.jp>
Content-Type: text/plain; charset=UTF-8; format=flowed
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] diffutils-3.3: make check aborts
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, 29 Mar 2013 06:24:45 -0000

On 03/28/2013 07:04 PM, Kiyoshi KANAZAWA wrote:
> Guess there may be an simple error,

Yes, it's a typo in the test case harness,
and doesn't indicate a bug in diffutils proper.
For a fix, please see:

http://lists.gnu.org/archive/html/bug-diffutils/2013-03/msg00014.html


From MAILER-DAEMON Fri Mar 29 11:34:51 2013
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1ULbKN-0004VN-LV
	for mharc-bug-diffutils@gnu.org; Fri, 29 Mar 2013 11:34:51 -0400
Received: from eggs.gnu.org ([208.118.235.92]:52025)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <harri@afaics.de>) id 1ULUVz-0001IL-RA
	for bug-diffutils@gnu.org; Fri, 29 Mar 2013 04:18:25 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <harri@afaics.de>) id 1ULUVy-0007a0-Ud
	for bug-diffutils@gnu.org; Fri, 29 Mar 2013 04:18:23 -0400
Received: from out.selfhost.de ([82.98.82.95]:38977 helo=outgoing.selfhost.de)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <harri@afaics.de>) id 1ULUVy-0007ZA-Kd
	for bug-diffutils@gnu.org; Fri, 29 Mar 2013 04:18:22 -0400
Received: (qmail 17019 invoked from network); 29 Mar 2013 08:18:13 -0000
Received: from unknown (HELO afaics.de.)
	(postmaster@xqrsonfo.mail.selfhost.de@87.189.45.138)
	by mailout.selfhost.de with ESMTPA; 29 Mar 2013 08:18:13 -0000
Received: from cecil.afaics.de (speedy.afaics.de [10.42.100.1])
	by afaics.de. (8.14.4/8.14.4/Debian-4) with ESMTP id r2T8ICBs029443;
	Fri, 29 Mar 2013 09:18:13 +0100
Message-ID: <51554E44.7010103@afaics.de>
Date: Fri, 29 Mar 2013 09:18:12 +0100
From: Harald Dunkel <harri@afaics.de>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/20130308 Thunderbird/17.0.4
MIME-Version: 1.0
To: bug-diffutils@gnu.org
X-Enigmail-Version: 1.4.6
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 82.98.82.95
X-Mailman-Approved-At: Fri, 29 Mar 2013 11:34:50 -0400
Subject: [bug-diffutils] color output?
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, 29 Mar 2013 08:18:26 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi folks,

would it be possible to support color output in diff, if
stdout is a terminal? Something similar to
"grep --color=auto" would be nice.

Sometimes the difference between 2 lines is very hard to see,
for example if a ':' is replaced by ';', or if a white space
char has been added at the end of a line. Colors could help
alot to improve readability.


Regards
Harri

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

iEYEARECAAYFAlFVTkQACgkQUTlbRTxpHjdQOACcCz1PZMIWE8lqjke5Z2aEncaT
nHUAoIjxx1tcnS6AR7eqUVMFMb5gaBHE
=XyWi
-----END PGP SIGNATURE-----


From MAILER-DAEMON Sat Mar 30 15:53:54 2013
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1UM1qc-0003G1-NV
	for mharc-bug-diffutils@gnu.org; Sat, 30 Mar 2013 15:53:54 -0400
Received: from eggs.gnu.org ([208.118.235.92]:55873)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1UM1qX-0003DO-8X
	for bug-diffutils@gnu.org; Sat, 30 Mar 2013 15:53:53 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1UM1qS-0004ME-PG
	for bug-diffutils@gnu.org; Sat, 30 Mar 2013 15:53:49 -0400
Received: from mx.meyering.net ([88.168.87.75]:33534)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1UM1qS-0004M2-HD
	for bug-diffutils@gnu.org; Sat, 30 Mar 2013 15:53:44 -0400
Received: from rho.meyering.net (rho.meyering.net [127.0.0.1])
	by rho.meyering.net (Acme Bit-Twister) with ESMTP id ED5D560561;
	Sat, 30 Mar 2013 20:53:42 +0100 (CET)
From: Jim Meyering <jim@meyering.net>
To: Denis Excoffier <gcc@Denis-Excoffier.org>
In-Reply-To: <8738vko4ww.fsf@rho.meyering.net> (Jim Meyering's message of
	"Sun, 24 Mar 2013 22:37:35 +0100")
References: <87mwtwqc47.fsf@rho.meyering.net>
	<0E9529F0-0DF7-4152-B1C6-8348998C54D6@Denis-Excoffier.org>
	<8738vko4ww.fsf@rho.meyering.net>
Date: Sat, 30 Mar 2013 20:53:42 +0100
Message-ID: <87boa0hdfd.fsf@rho.meyering.net>
Lines: 85
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] I'd like to release 3.3
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, 30 Mar 2013 19:53:53 -0000

Jim Meyering wrote:

> Denis Excoffier wrote:
>> Hello,
>>
>> On the 2013-03-22 05:42, Jim Meyering wrote:
>>
>>> Hello,
>>>
>>> I want to release diffutils-3.3, primarily to make it so
>>> the latest release is not susceptible to CVE-2012-3386.
>>>
>>> Here's the current state of 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.
>> Please mention the new --no-dereference option, for which i also suggest to
>> add a shortopt('K'). Thanks.
>>
>> See also http://lists.gnu.org/archive/html/bug-gnu-utils/2009-03/msg00070.html
>
> Thank your for noting that.
> That definitely should have been mentioned in 3.3's announcement.
> Unfortunately, I released it a few hours before learning
> of this omission.
>
> However, we should still fix it in the NEWS file.
> Care to write the patch?  If you do, note that you'll
> want to run "make update-NEWS-hash" before committing,
> otherwise, "make syntax-check" will complain that you've
> modified normally-immutable NEWS from a prior release.

FYI,

>From a1a17d10ccaf4602442833e05f46eb30bdf8df7e Mon Sep 17 00:00:00 2001
From: Jim Meyering <jim@meyering.net>
Date: Sat, 30 Mar 2013 12:50:27 -0700
Subject: [PATCH] doc: mention new option, --no-dereference in 3.3's NEWS

* NEWS (New feeatures): Update 3.3's news to mention --no-dereference.
Reported by Denis Excoffier.
* Makefile.am (old_NEWS_hash): Update, since this modifies old, and
normally-immutable NEWS.
---
 NEWS   | 4 ++++
 cfg.mk | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/NEWS b/NEWS
index ef73e2f..f759dcd 100644
--- a/NEWS
+++ b/NEWS
@@ -7,6 +7,10 @@ GNU diffutils NEWS                                    -*- outline -*-

 ** New features

+  diff's new option, --no-dereference, allows comparison of symbolic link
+  strings.  With this option, two symbolic links compare equal when they have
+  the same value, even when that value does not reference a readable file.
+
   --new-file (-N) and --unidirectional-new-file now allow comparisons to "-".
   A standard input that's closed acts like a nonexistent file.

diff --git a/cfg.mk b/cfg.mk
index 1db88cf..c7b91d7 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -29,7 +29,7 @@ bootstrap-tools = autoconf,automake,gnulib
 # Now that we have better tests, make this the default.
 export VERBOSE = yes

-old_NEWS_hash = 1d1b7468264850b366b1138bd78e5520
+old_NEWS_hash = b42f8c496010f42c09240f19b56269fa

 # Tell maint.mk's syntax-check rules that diff gets config.h directly or
 # via diff.h or system.h.
--
1.8.2.135.g7b592fa


From MAILER-DAEMON Sat Mar 30 17:06:25 2013
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1UM2yn-0003Wk-JN
	for mharc-bug-diffutils@gnu.org; Sat, 30 Mar 2013 17:06:25 -0400
Received: from eggs.gnu.org ([208.118.235.92]:37017)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1UM2yk-0003VE-Pi
	for bug-diffutils@gnu.org; Sat, 30 Mar 2013 17:06:23 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1UM2yj-0003R4-2s
	for bug-diffutils@gnu.org; Sat, 30 Mar 2013 17:06:22 -0400
Received: from mx.meyering.net ([88.168.87.75]:33619)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1UM2yi-0003Qz-Rl
	for bug-diffutils@gnu.org; Sat, 30 Mar 2013 17:06:21 -0400
Received: from rho.meyering.net (rho.meyering.net [127.0.0.1])
	by rho.meyering.net (Acme Bit-Twister) with ESMTP id 3B6DF600BC;
	Sat, 30 Mar 2013 22:06:20 +0100 (CET)
From: Jim Meyering <jim@meyering.net>
To: Denis Excoffier <gcc@Denis-Excoffier.org>
In-Reply-To: <87boa0hdfd.fsf@rho.meyering.net> (Jim Meyering's message of
	"Sat, 30 Mar 2013 20:53:42 +0100")
References: <87mwtwqc47.fsf@rho.meyering.net>
	<0E9529F0-0DF7-4152-B1C6-8348998C54D6@Denis-Excoffier.org>
	<8738vko4ww.fsf@rho.meyering.net> <87boa0hdfd.fsf@rho.meyering.net>
Date: Sat, 30 Mar 2013 22:06:20 +0100
Message-ID: <876208ha2b.fsf@rho.meyering.net>
Lines: 72
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] I'd like to release 3.3
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, 30 Mar 2013 21:06:23 -0000

Jim Meyering wrote:
> Subject: [PATCH] doc: mention new option, --no-dereference in 3.3's NEWS
>
> * NEWS (New feeatures): Update 3.3's news to mention --no-dereference.
> Reported by Denis Excoffier.
> * Makefile.am (old_NEWS_hash): Update, since this modifies old, and
> normally-immutable NEWS.
> ---
>  NEWS   | 4 ++++
>  cfg.mk | 2 +-
>  2 files changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/NEWS b/NEWS
> index ef73e2f..f759dcd 100644
> --- a/NEWS
> +++ b/NEWS
> @@ -7,6 +7,10 @@ GNU diffutils NEWS                                    -*- outline -*-
>
>  ** New features
>
> +  diff's new option, --no-dereference, allows comparison of symbolic link
> +  strings.  With this option, two symbolic links compare equal when they have
> +  the same value, even when that value does not reference a readable file.

I didn't like that, so changed the wording:

>From 417363e4ce3e0195b539a4170ff0cda91400dbc8 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@fb.com>
Date: Sat, 30 Mar 2013 12:50:27 -0700
Subject: [PATCH] doc: mention new option, --no-dereference in 3.3's NEWS

* NEWS (New feeatures): Update 3.3's news to mention --no-dereference.
Reported by Denis Excoffier.
* Makefile.am (old_NEWS_hash): Update, since this modifies old, and
normally-immutable NEWS.
---
 NEWS   | 6 ++++++
 cfg.mk | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/NEWS b/NEWS
index ef73e2f..ac7a75e 100644
--- a/NEWS
+++ b/NEWS
@@ -7,6 +7,12 @@ GNU diffutils NEWS                                    -*- outline -*-

 ** New features

+  diff accepts a new option, --no-dereference.  With this option, symbolic
+  links are treated specially: as a separate type of file that can compare
+  equal only to another symbolic link with the same value.  For example,
+  with --no-dereference, two symbolic links compare equal when they have
+  the same value, even when that value does not reference a readable file.
+
   --new-file (-N) and --unidirectional-new-file now allow comparisons to "-".
   A standard input that's closed acts like a nonexistent file.

diff --git a/cfg.mk b/cfg.mk
index 1db88cf..d37bea9 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -29,7 +29,7 @@ bootstrap-tools = autoconf,automake,gnulib
 # Now that we have better tests, make this the default.
 export VERBOSE = yes

-old_NEWS_hash = 1d1b7468264850b366b1138bd78e5520
+old_NEWS_hash = 8632093db0c946f65f639f06ac7de39a

 # Tell maint.mk's syntax-check rules that diff gets config.h directly or
 # via diff.h or system.h.
--
1.8.2.135.g7b592fa


From MAILER-DAEMON Sat Mar 30 20:42:06 2013
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1UM6LW-0003J2-SI
	for mharc-bug-diffutils@gnu.org; Sat, 30 Mar 2013 20:42:06 -0400
Received: from eggs.gnu.org ([208.118.235.92]:60070)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sergio@serjux.com>) id 1UM6LT-0003Io-AB
	for bug-diffutils@gnu.org; Sat, 30 Mar 2013 20:42:05 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sergio@serjux.com>) id 1UM6LR-0004Jf-7N
	for bug-diffutils@gnu.org; Sat, 30 Mar 2013 20:42:03 -0400
Received: from relay2.ptmail.sapo.pt ([212.55.154.22]:41629 helo=sapo.pt)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <sergio@serjux.com>) id 1UM6LQ-0004Ij-RA
	for bug-diffutils@gnu.org; Sat, 30 Mar 2013 20:42:01 -0400
Received: (qmail 31610 invoked from network); 31 Mar 2013 00:41:54 -0000
Received: from unknown (HELO sapo.pt) (10.134.37.162)
	by relay2 with SMTP; 31 Mar 2013 00:41:54 -0000
Received: (qmail 9854 invoked from network); 31 Mar 2013 00:41:54 -0000
Received: from unknown (HELO serjux.com) (sergiomb@sapo.pt@[2.83.197.173])
	(envelope-sender <sergio@serjux.com>)
	by mta12 (qmail-ptmail-1.0.0) with AES256-SHA encrypted SMTP
	for <bug-diffutils@gnu.org>; 31 Mar 2013 00:41:52 -0000
Received: (qmail 20149 invoked by uid 509); 31 Mar 2013 00:41:50 +0000
Received: from 188.140.21.53 by serjux.com (envelope-from <sergio@serjux.com>,
	uid 508) with qmail-scanner-1.25-st-qms 
	(clamdscan: 0.97.6/16730. spamassassin: 3.3.2. perlscan: 1.25-st-qms. 
	Clear:RC:0(188.140.21.53):SA:0(-96.3/5.0):. 
	Processed in 10.981385 secs); 31 Mar 2013 00:41:50 -0000
AV-Serjux-Mail-From: sergio@serjux.com via serjux.com
AV-Serjux: 1.25-st-qms (Clear:RC:0(188.140.21.53):SA:0(-96.3/5.0):. Processed
	in 10.981385 secs Process 20141)
Received: from unknown (HELO ?188.140.21.53?) (sergio@serjux.com@188.140.21.53)
	by serjux.com with SMTP; 31 Mar 2013 00:41:39 +0000
Message-ID: <1364690497.15740.12.camel@segulix>
From: =?ISO-8859-1?Q?S=E9rgio?= Basto <sergio@serjux.com>
To: Harald Dunkel <harri@afaics.de>
Date: Sun, 31 Mar 2013 00:41:37 +0000
In-Reply-To: <51554E44.7010103@afaics.de>
References: <51554E44.7010103@afaics.de>
Content-Type: text/plain; charset="ISO-8859-15"
X-Mailer: Evolution 3.6.4 (3.6.4-2.fc18) 
Mime-Version: 1.0
Content-Transfer-Encoding: 8bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x
X-Received-From: 212.55.154.22
Cc: bug-diffutils@gnu.org
Subject: Re: [bug-diffutils] color output?
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, 31 Mar 2013 00:42:05 -0000

On Sex, 2013-03-29 at 09:18 +0100, Harald Dunkel wrote: 
> Hi folks,
> 
> would it be possible to support color output in diff, if
> stdout is a terminal? Something similar to
> "grep --color=auto" would be nice.
> 
> Sometimes the difference between 2 lines is very hard to see,
> for example if a ':' is replaced by ';', or if a white space
> char has been added at the end of a line. Colors could help
> alot to improve readability.

if you edit diff (at least --unified) with vim will see colored 

-- 
Sérgio M. B.



