From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Davis Herring" Newsgroups: gmane.emacs.devel Subject: Re: Fixing parallel byte-compilation Date: Mon, 13 Sep 2010 09:33:21 -0700 (PDT) Message-ID: <47537.130.55.118.19.1284395601.squirrel@webmail.lanl.gov> References: <80occ5xilc.fsf@fencepost.gnu.org> Reply-To: herring@lanl.gov NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1284395615 18549 80.91.229.12 (13 Sep 2010 16:33:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 13 Sep 2010 16:33:35 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Glenn Morris" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 13 18:33:34 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OvByI-00007O-9L for ged-emacs-devel@m.gmane.org; Mon, 13 Sep 2010 18:33:34 +0200 Original-Received: from localhost ([127.0.0.1]:46377 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OvByH-0002jx-Kh for ged-emacs-devel@m.gmane.org; Mon, 13 Sep 2010 12:33:33 -0400 Original-Received: from [140.186.70.92] (port=37740 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OvByB-0002hM-7Z for emacs-devel@gnu.org; Mon, 13 Sep 2010 12:33:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OvByA-0007h0-5K for emacs-devel@gnu.org; Mon, 13 Sep 2010 12:33:27 -0400 Original-Received: from proofpoint2.lanl.gov ([204.121.3.26]:44723) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OvBy8-0007ge-Of; Mon, 13 Sep 2010 12:33:24 -0400 Original-Received: from mailrelay2.lanl.gov (mailrelay2.lanl.gov [128.165.4.103]) by proofpoint2.lanl.gov (8.14.3/8.14.3) with ESMTP id o8DHCiLh019904; Mon, 13 Sep 2010 11:12:44 -0600 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by mailrelay2.lanl.gov (Postfix) with ESMTP id 012051A89B90; Mon, 13 Sep 2010 10:33:22 -0600 (MDT) X-NIE-2-Virus-Scanner: amavisd-new at mailrelay2.lanl.gov Original-Received: from webmail1.lanl.gov (webmail1.lanl.gov [128.165.4.106]) by mailrelay2.lanl.gov (Postfix) with ESMTP id E2BEB1A89B8D; Mon, 13 Sep 2010 10:33:21 -0600 (MDT) Original-Received: by webmail1.lanl.gov (Postfix, from userid 48) id E028E1CA81C7; Mon, 13 Sep 2010 10:33:21 -0600 (MDT) Original-Received: from 130.55.118.19 (SquirrelMail authenticated user 196434) by webmail.lanl.gov with HTTP; Mon, 13 Sep 2010 09:33:21 -0700 (PDT) In-Reply-To: <80occ5xilc.fsf@fencepost.gnu.org> User-Agent: SquirrelMail/1.4.8-5.el5_4.10.lanl3 X-Priority: 3 (Normal) Importance: Normal X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.0.10011, 1.0.148, 0.0.0000 definitions=2010-09-13_05:2010-09-13, 2010-09-13, 1970-01-01 signatures=0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:130067 Archived-At: > ! ;; The old code used to: delete target-file before > ! ;; writing it, so that any hard-links continue to > ! ;; point to the old file (this makes it possible > ! ;; for installed files to share disk space with > ! ;; the build tree, without causing problems when > ! ;; emacs-lisp files in the build tree are > ! ;; recompiled). Renaming works the same way. > ! (write-region (point-min) (point-max) tempfile) > ! (rename-file tempfile target-file t)) Does `rename-file' work outside of POSIX (that is, on Windows) if the target file exists? Davis -- This product is sold by volume, not by mass. If it appears too dense or too sparse, it is because mass-energy conversion has occurred during shipping.