From MAILER-DAEMON Wed May 01 08:49:35 2013
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1UXWTX-000059-OW
	for mharc-bug-diffutils@gnu.org; Wed, 01 May 2013 08:49:35 -0400
Received: from eggs.gnu.org ([208.118.235.92]:54693)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <stefano.lattarini@gmail.com>) id 1UXWTV-00004v-RY
	for bug-diffutils@gnu.org; Wed, 01 May 2013 08:49:34 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <stefano.lattarini@gmail.com>) id 1UXWTU-0007ej-M1
	for bug-diffutils@gnu.org; Wed, 01 May 2013 08:49:33 -0400
Received: from mail-ee0-f48.google.com ([74.125.83.48]:55162)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <stefano.lattarini@gmail.com>) id 1UXWTU-0007ef-Fl
	for bug-diffutils@gnu.org; Wed, 01 May 2013 08:49:32 -0400
Received: by mail-ee0-f48.google.com with SMTP id d49so664542eek.35
	for <bug-diffutils@gnu.org>; Wed, 01 May 2013 05:49:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=x-received:from:to:cc:subject:date:message-id:x-mailer;
	bh=h+fAgZ/ZqrAg6actufEX1u1V+WzBntQkzrzVnw5uAjM=;
	b=mE4H3OQPzCHJ1wpTRtDTTe9RaJZzRWjoEG8PaiBtgpJCUAuXce0Zw69t+LGbKqfzDP
	/Ay82mzXTGe7zQdRosw7ehzda1r4xznOv95RQgPdlZUeQ0uhvFvEqI5cR80VatsWx1Sh
	LK5Yv31dOeDDMoGQbUAmWD2XwsGosbCKZDWY0yqvxadvOZzsBrc+6fRqoG3G4tyD6Mt0
	KFLAqhc/bbwzS90s/oAQ2Ghdt1ptdOG06HdJVgV9+AzHMC8IoS8dF8q9ZtWSs5WxF1UO
	vfxMWq4E+j3cjzkn81cvD5zw2C+Uh6Wpk0DybSNLFWMOU2D7kkbPHV2ay5C54IX6HHyx
	Jhrw==
X-Received: by 10.15.36.135 with SMTP id i7mr7698722eev.34.1367412571689;
	Wed, 01 May 2013 05:49:31 -0700 (PDT)
Received: from localhost.localdomain
	(host93-95-dynamic.6-79-r.retail.telecomitalia.it. [79.6.95.93])
	by mx.google.com with ESMTPSA id ch6sm3454551eeb.17.2013.05.01.05.49.30
	for <multiple recipients>
	(version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Wed, 01 May 2013 05:49:30 -0700 (PDT)
From: Stefano Lattarini <stefano.lattarini@gmail.com>
To: bug-diffutils@gnu.org
Date: Wed,  1 May 2013 14:49:23 +0200
Message-Id: <8b393f179fd1162b6b1f16215a1ecd2482e1bdf6.1367412351.git.stefano.lattarini@gmail.com>
X-Mailer: git-send-email 1.8.3.rc0.19.g7e6a0cc
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 74.125.83.48
Subject: [bug-diffutils] [PATCH] build: enable 'subdir-objects' automake
	option
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 01 May 2013 12:49:34 -0000

The future major Automake version (2.0, ETA at least one year from now)
might enable that option unconditionally, so better get prepared in due
time.

* configure.ac (AM_INIT_AUTOMAKE): Adjust.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
---
 configure.ac | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index aea40fc..0e165cb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,7 +26,8 @@ AC_CONFIG_SRCDIR([src/diff.c])
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIR([m4])
 
-AM_INIT_AUTOMAKE([1.11 dist-xz no-dist-gzip color-tests parallel-tests])
+AM_INIT_AUTOMAKE([1.11 dist-xz no-dist-gzip subdir-objects
+                       color-tests parallel-tests])
 AM_SILENT_RULES([yes]) # make --enable-silent-rules the default.
 
 AC_CONFIG_HEADER([lib/config.h:lib/config.hin])
-- 
1.8.3.rc0.19.g7e6a0cc



From MAILER-DAEMON Wed May 01 15:55:23 2013
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1UXd7b-0001FD-7s
	for mharc-bug-diffutils@gnu.org; Wed, 01 May 2013 15:55:23 -0400
Received: from eggs.gnu.org ([208.118.235.92]:42199)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1UXd7Y-0001F5-A9
	for bug-diffutils@gnu.org; Wed, 01 May 2013 15:55:22 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1UXd7R-0005Zw-P0
	for bug-diffutils@gnu.org; Wed, 01 May 2013 15:55:20 -0400
Received: from mx.meyering.net ([88.168.87.75]:59403)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jim@meyering.net>) id 1UXd7R-0005Zq-Hz
	for bug-diffutils@gnu.org; Wed, 01 May 2013 15:55:13 -0400
Received: from rho.meyering.net (rho.meyering.net [127.0.0.1])
	by rho.meyering.net (Acme Bit-Twister) with ESMTP id A792560136;
	Wed,  1 May 2013 21:55:12 +0200 (CEST)
From: Jim Meyering <jim@meyering.net>
To: Paul Eggert <eggert@cs.ucla.edu>
In-Reply-To: <517DF10D.5020306@cs.ucla.edu> (Paul Eggert's message of "Sun, 28
	Apr 2013 21:03:25 -0700")
References: <517DF10D.5020306@cs.ucla.edu>
Date: Wed, 01 May 2013 21:55:12 +0200
Message-ID: <87vc72scf3.fsf@rho.meyering.net>
Lines: 10
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" <bug-diffutils@gnu.org>
Subject: Re: [bug-diffutils] updated gnulib to latest in diffutils
X-BeenThere: bug-diffutils@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: "All diffutils discussion." <bug-diffutils.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-diffutils>
List-Post: <mailto:bug-diffutils@gnu.org>
List-Help: <mailto:bug-diffutils-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-diffutils>,
	<mailto:bug-diffutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 01 May 2013 19:55:22 -0000

Paul Eggert wrote:

> I updated gnulib to the latest version, in diffutils,
> to take advantage of this recent gnulib patch:
>
> http://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=72c63c089365640c7f1acd97fb72ee26932ac2b3
>
> to work around a bug in Sun c99.

Thanks!


From MAILER-DAEMON Thu May 02 15:38:54 2013
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1UXzLC-0004Fx-9n
	for mharc-bug-diffutils@gnu.org; Thu, 02 May 2013 15:38:54 -0400
Received: from eggs.gnu.org ([208.118.235.92]:59005)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1UXzL8-0004Fm-Bs
	for bug-diffutils@gnu.org; Thu, 02 May 2013 15:38:52 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1UXzL7-0000dI-DP
	for bug-diffutils@gnu.org; Thu, 02 May 2013 15:38:50 -0400
Received: from smtp.cs.ucla.edu ([131.179.128.62]:46181)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1UXzL7-0000d7-7T
	for bug-diffutils@gnu.org; Thu, 02 May 2013 15:38:49 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.cs.ucla.edu (Postfix) with ESMTP id 9296DA60001;
	Thu,  2 May 2013 12:38:47 -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 XCV5R9xl6MBb; Thu,  2 May 2013 12:38:45 -0700 (PDT)
Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200])
	by smtp.cs.ucla.edu (Postfix) with ESMTPSA id D4385A60003;
	Thu,  2 May 2013 12:38:45 -0700 (PDT)
Message-ID: <5182C0C1.8010805@cs.ucla.edu>
Date: Thu, 02 May 2013 12:38:41 -0700
From: Paul Eggert <eggert@cs.ucla.edu>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/20130311 Thunderbird/17.0.4
MIME-Version: 1.0
To: Stefano Lattarini <stefano.lattarini@gmail.com>
References: <8b393f179fd1162b6b1f16215a1ecd2482e1bdf6.1367412351.git.stefano.lattarini@gmail.com>
In-Reply-To: <8b393f179fd1162b6b1f16215a1ecd2482e1bdf6.1367412351.git.stefano.lattarini@gmail.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
Subject: Re: [bug-diffutils] [PATCH] build: enable 'subdir-objects' automake
 option
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, 02 May 2013 19:38:52 -0000

On 05/01/13 05:49, Stefano Lattarini wrote:
> -AM_INIT_AUTOMAKE([1.11 dist-xz no-dist-gzip color-tests parallel-tests])
> +AM_INIT_AUTOMAKE([1.11 dist-xz no-dist-gzip subdir-objects
> +                       color-tests parallel-tests])

Thanks.  The Automake 1.13.1 manual says that if you use
subdir-objects, you must also invoke AM_PROG_CC_C_O.
But the diffutils configure.ac doesn't do that.
Should it?  Or is this part of the Automake manual
not quite right?

http://www.gnu.org/software/automake/manual/automake.html#List-of-Automake-options


From MAILER-DAEMON Fri May 03 06:10:43 2013
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1UYCwt-00089Q-1q
	for mharc-bug-diffutils@gnu.org; Fri, 03 May 2013 06:10:43 -0400
Received: from eggs.gnu.org ([208.118.235.92]:46166)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <stefano.lattarini@gmail.com>) id 1UYCwo-00089H-S5
	for bug-diffutils@gnu.org; Fri, 03 May 2013 06:10:41 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <stefano.lattarini@gmail.com>) id 1UYCwn-0002ip-6g
	for bug-diffutils@gnu.org; Fri, 03 May 2013 06:10:38 -0400
Received: from mail-ee0-f46.google.com ([74.125.83.46]:57387)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <stefano.lattarini@gmail.com>) id 1UYCwn-0002ij-05
	for bug-diffutils@gnu.org; Fri, 03 May 2013 06:10:37 -0400
Received: by mail-ee0-f46.google.com with SMTP id b57so676001eek.5
	for <bug-diffutils@gnu.org>; Fri, 03 May 2013 03:10:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=x-received:message-id:date:from:mime-version:to:cc:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	bh=oX6P4lx2p454xkhbNolWUhdi1dkquj8gUFxjUFOYq9Q=;
	b=Uw3GPm2oauHfjbO5Os/SjWk1hkOVjgGpQPs8Nd6cgX2bfgVybNkJ41BlLF/jZ0wTcj
	vipekcrq9xdmFS5wc7NysH8zvkjjgIwg+I18dJIC1UCh1oNvC4sQX3lRFSIJS0/y3Nds
	RzmvoEbCcE8yVfKTheQuItED1Y/SusYJhzUWZIXFI2W4T9gZ6McYb0KhyAzVUJJpPo2P
	6TGyIt4WLmFRWWZIzOZGxuYH8LH2Y0E8xr2LWjDk6WL8sK9X8mcPl40Zq7r+/fhacITZ
	mggLewpaQh+AJO/KW9sELlLxB1yG2B8nlWKhwqh4txANK6bXVLbvuHyU3BuhekxtTZ+t
	1t+g==
X-Received: by 10.14.106.200 with SMTP id m48mr29871313eeg.17.1367575836332;
	Fri, 03 May 2013 03:10:36 -0700 (PDT)
Received: from [192.168.178.20]
	(host93-95-dynamic.6-79-r.retail.telecomitalia.it. [79.6.95.93])
	by mx.google.com with ESMTPSA id i3sm14945539eev.1.2013.05.03.03.10.33
	for <multiple recipients>
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Fri, 03 May 2013 03:10:34 -0700 (PDT)
Message-ID: <51838D18.7030800@gmail.com>
Date: Fri, 03 May 2013 12:10:32 +0200
From: Stefano Lattarini <stefano.lattarini@gmail.com>
MIME-Version: 1.0
To: Paul Eggert <eggert@cs.ucla.edu>
References: <8b393f179fd1162b6b1f16215a1ecd2482e1bdf6.1367412351.git.stefano.lattarini@gmail.com>
	<5182C0C1.8010805@cs.ucla.edu>
In-Reply-To: <5182C0C1.8010805@cs.ucla.edu>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
	[fuzzy]
X-Received-From: 74.125.83.46
Cc: bug-diffutils@gnu.org
Subject: Re: [bug-diffutils] [PATCH] build: enable 'subdir-objects' automake
 option
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, 03 May 2013 10:10:41 -0000

Hi Paul.

On 05/02/2013 09:38 PM, Paul Eggert wrote:
> On 05/01/13 05:49, Stefano Lattarini wrote:
>> -AM_INIT_AUTOMAKE([1.11 dist-xz no-dist-gzip color-tests parallel-tests])
>> +AM_INIT_AUTOMAKE([1.11 dist-xz no-dist-gzip subdir-objects
>> +                       color-tests parallel-tests])
> 
> Thanks.  The Automake 1.13.1 manual says that if you use
> subdir-objects, you must also invoke AM_PROG_CC_C_O.
> But the diffutils configure.ac doesn't do that.
> Should it?  Or is this part of the Automake manual
> not quite right?
> 
> http://www.gnu.org/software/automake/manual/automake.html#List-of-Automake-options
>
No, you and the manual are perfectly right.  I stupidly tried my
patch only with the development version of Automake, that has
been improved not to require an explicit call to AM_PROG_CC_C_O
even when the 'subdir-objects' option is in use.

Here is an improved patch, tested with both Automake 1.13.1 and
bleeding-edge Automake.

Thanks,
  Stefano

---- 8< ---- 8< ---- 8< ---- 8< ---- 8< ---- 8< ---- 8< ---- 8< ----

>From ab9218d98b7b8141f72b5afbc61e21ba61bd4e8e Mon Sep 17 00:00:00 2001
Message-Id: <ab9218d98b7b8141f72b5afbc61e21ba61bd4e8e.1367575797.git.stefano.lattarini@gmail.com>
From: Stefano Lattarini <stefano.lattarini@gmail.com>
Date: Wed, 1 May 2013 14:28:29 +0200
Subject: [PATCH] build: enable 'subdir-objects' automake option

The future major Automake version (2.0, ETA at least one year from now)
might enable that option unconditionally, so better get prepared in due
time.

* configure.ac (AM_INIT_AUTOMAKE): Adjust.
(AM_PROG_CC_C_O): New, required by Automake up to 1.13.x when the
'subdir-objects' is in use.

Copyright-paperwork-exempt: yes
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
---
 configure.ac | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index aea40fc..90bebc9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,13 +26,15 @@ AC_CONFIG_SRCDIR([src/diff.c])
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_MACRO_DIR([m4])

-AM_INIT_AUTOMAKE([1.11 dist-xz no-dist-gzip color-tests parallel-tests])
+AM_INIT_AUTOMAKE([1.11 dist-xz no-dist-gzip subdir-objects
+                       color-tests parallel-tests])
 AM_SILENT_RULES([yes]) # make --enable-silent-rules the default.

 AC_CONFIG_HEADER([lib/config.h:lib/config.hin])

 AC_PROG_AWK
 AC_PROG_CC
+AM_PROG_CC_C_O
 AM_MISSING_PROG([HELP2MAN], [help2man])
 AC_PROG_RANLIB
 gl_EARLY
-- 
1.8.3.rc0.19.g7e6a0cc


From MAILER-DAEMON Mon May 06 09:23:36 2013
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1UZLOC-0005Si-0t
	for mharc-bug-diffutils@gnu.org; Mon, 06 May 2013 09:23:36 -0400
Received: from eggs.gnu.org ([208.118.235.92]:52418)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1UZLO9-0005SI-IE
	for bug-diffutils@gnu.org; Mon, 06 May 2013 09:23:34 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1UZLDt-0006xu-2T
	for bug-diffutils@gnu.org; Mon, 06 May 2013 09:14:08 -0400
Received: from smtp.cs.ucla.edu ([131.179.128.62]:50257)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1UZLDs-0006xT-Sa
	for bug-diffutils@gnu.org; Mon, 06 May 2013 09:12:56 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.cs.ucla.edu (Postfix) with ESMTP id B7B13A60013;
	Mon,  6 May 2013 06:12:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu
Received: from smtp.cs.ucla.edu ([127.0.0.1])
	by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id sSkwcfOlZSfM; Mon,  6 May 2013 06:12:55 -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 7042AA60011;
	Mon,  6 May 2013 06:12:55 -0700 (PDT)
Message-ID: <5187AC54.1070207@cs.ucla.edu>
Date: Mon, 06 May 2013 06:12:52 -0700
From: Paul Eggert <eggert@cs.ucla.edu>
Organization: UCLA Computer Science Department
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/20130404 Thunderbird/17.0.5
MIME-Version: 1.0
To: Stefano Lattarini <stefano.lattarini@gmail.com>
References: <8b393f179fd1162b6b1f16215a1ecd2482e1bdf6.1367412351.git.stefano.lattarini@gmail.com>
	<5182C0C1.8010805@cs.ucla.edu> <51838D18.7030800@gmail.com>
In-Reply-To: <51838D18.7030800@gmail.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
Subject: Re: [bug-diffutils] [PATCH] build: enable 'subdir-objects' automake
 option
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, 06 May 2013 13:23:34 -0000

On 05/03/2013 03:10 AM, Stefano Lattarini wrote:
> Here is an improved patch

Thanks, I pushed that.


From MAILER-DAEMON Thu May 23 12:27:57 2013
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1UfYMv-00085a-2G
	for mharc-bug-diffutils@gnu.org; Thu, 23 May 2013 12:27:57 -0400
Received: from eggs.gnu.org ([208.118.235.92]:41150)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1UfYMp-00085N-3h
	for bug-diffutils@gnu.org; Thu, 23 May 2013 12:27:55 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1UfYMk-0000LN-GC
	for bug-diffutils@gnu.org; Thu, 23 May 2013 12:27:51 -0400
Received: from smtp.cs.ucla.edu ([131.179.128.62]:38095)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1UfYMk-0000LG-AB
	for bug-diffutils@gnu.org; Thu, 23 May 2013 12:27:46 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.cs.ucla.edu (Postfix) with ESMTP id 6DB94A6000C;
	Thu, 23 May 2013 09:27:45 -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 VDLWycoKoLhS; Thu, 23 May 2013 09:27:45 -0700 (PDT)
Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200])
	by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 08E3239E8008;
	Thu, 23 May 2013 09:27:45 -0700 (PDT)
Message-ID: <519E437C.5030006@cs.ucla.edu>
Date: Thu, 23 May 2013 09:27:40 -0700
From: Paul Eggert <eggert@cs.ucla.edu>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:17.0) Gecko/20130311 Thunderbird/17.0.4
MIME-Version: 1.0
To: Andreas Gruenbacher <andreas.gruenbacher@gmail.com>
References: <CAHpGcM+DkL_CCisCjF9m0j3NRJUNAdfL05T0cfLjLfVORQHrpw@mail.gmail.com>
	<7v8vdyfqa9.fsf@alter.siamese.dyndns.org>
	<CAHpGcML5PVAgd9x75=5k1-ev+Px4V+26KJhhyZk-O54p0WxfxQ@mail.gmail.com>
	<501AEC59.7010907@cs.ucla.edu> <877gtht2sy.fsf@rho.meyering.net>
	<1344301378.26363.6.camel@schurl.lan>
In-Reply-To: <1344301378.26363.6.camel@schurl.lan>
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] [PATCH] Escape file names that contain special
	characters
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, 23 May 2013 16:27:56 -0000

On 08/06/12 18:02, Andreas Gruenbacher wrote:
> Here's an attempt.  Needs to be mentioned in NEWS still at least.  Can
> one of you give this a close look?

The idea looks good.  I might prefer a solution that
didn't require making an escaped copy of the string,
and instead merely escaped the string as it's being printed,
to avoid the memory allocation.  But if that's too much work
it's no big deal.


