emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fixing parallel byte-compilation


From: Davis Herring
Subject: Re: Fixing parallel byte-compilation
Date: Mon, 13 Sep 2010 09:33:21 -0700 (PDT)
User-agent: SquirrelMail/1.4.8-5.el5_4.10.lanl3

> !               ;; 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]