From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Giuseppe Scrivano Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Silence error if globals.h doesn't exist Date: Sat, 31 Jan 2015 13:41:04 +0100 Message-ID: <87pp9vm8bj.fsf@redhat.com> References: <87wq44nt3f.fsf@redhat.com> <87r3ucgrb0.fsf@igel.home> <54CC4CC5.4040902@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1422708105 6065 80.91.229.3 (31 Jan 2015 12:41:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 31 Jan 2015 12:41:45 +0000 (UTC) Cc: Paul Eggert , emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 31 13:41:44 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YHXMs-0001kw-Dw for ged-emacs-devel@m.gmane.org; Sat, 31 Jan 2015 13:41:42 +0100 Original-Received: from localhost ([::1]:41290 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHXMr-00038b-Ry for ged-emacs-devel@m.gmane.org; Sat, 31 Jan 2015 07:41:41 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36433) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHXMW-00036N-0u for emacs-devel@gnu.org; Sat, 31 Jan 2015 07:41:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YHXMS-000618-Kb for emacs-devel@gnu.org; Sat, 31 Jan 2015 07:41:19 -0500 Original-Received: from mx1.redhat.com ([209.132.183.28]:41290) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHXMS-00060h-60 for emacs-devel@gnu.org; Sat, 31 Jan 2015 07:41:16 -0500 Original-Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t0VCf7vN014737 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Sat, 31 Jan 2015 07:41:07 -0500 Original-Received: from foobarbaz (vpn1-7-164.ams2.redhat.com [10.36.7.164]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t0VCf4bX022581 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO); Sat, 31 Jan 2015 07:41:06 -0500 In-Reply-To: (Andreas Schwab's message of "Sat, 31 Jan 2015 09:16:09 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:182128 Archived-At: Andreas Schwab writes: > Paul Eggert writes: > >> Andreas Schwab wrote: >>> That should use move-if-change. >> >> No, because move-if-change would remove gl-stamp, > > You need to rearrange the rules first, of course. But reimplementing it > badly is never the right thing to do. the cost of that would be to use an additional temporary file, right? The solution with cmp and cp looks cleaner to me. Regards, Giuseppe