From 6a1aa0cd36b1b3254c9a1ac95e8ccb44e48b9815 Mon Sep 17 00:00:00 2001 From: shuhei Date: Thu, 3 Jul 2003 12:53:24 +0000 Subject: [PATCH] (make-temp-file): Don't use octal number for file modes. --- ChangeLog | 9 +++++++-- poe.el | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3a7f2b8..57cf325 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,9 +1,14 @@ -2003-07-03 Yuuichi Teranishi +2003-07-03 Shuhei KOBAYASHI + + * poe.el (make-temp-file) [2-args make-temp-file]: + Don't use octal number for file modes. * poe.el (toplevel): Fixed the compile-time check for the definition of `make-temp-file' [apel-ja: 00874]. (make-temp-file) [no make-temp-file, single-user system]: - Don't use set-default-file-modes nor default-file-modes. + Don't use `set-default-file-modes' nor `default-file-modes'. + +2003-07-03 Yuuichi Teranishi * poe-18.el (make-directory-internal): Signal an error according to the exit status of mkdir. diff --git a/poe.el b/poe.el index c66a5bb..3ad2699 100644 --- a/poe.el +++ b/poe.el @@ -1660,7 +1660,7 @@ If SUFFIX is non-nil, add that at the end of the file name." ;; Create temp files with strict access rights. ;; It's easy toloosen them later, whereas it's impossible ;; to close the time-window of loose permissions otherwise. - (set-default-file-modes ?\700) + (set-default-file-modes 448) (while (condition-case () (progn (setq file -- 1.7.10.4