bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#10403: epg--make-temp-file permissions race condition fixes


From: Daiki Ueno
Subject: bug#10403: epg--make-temp-file permissions race condition fixes
Date: Tue, 10 Jan 2012 11:57:58 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> Could you review the patch posted by Paul?  Thanks.
>> Paul Eggert <eggert@cs.ucla.edu> writes:
>
> BTW, why copy the code from poe.el rather than from Emacs itself?

Maybe because poe.el's code seems to provide better compatibility with
ancient Emacs and XEmacs.  For example, in the Emacs definition of
make-temp-file, I see MUSTBENEW arg of write-region is used, which is
missing in XEmacs 21.4.

> Also, why use `eval-and-compile' since the function is not used
> during compilation?

Right.  I think we could get rid of such a eval-and-compile from several
places.

Regards,
-- 
Daiki Ueno





reply via email to

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