From b9110d6a11deb9b1035da53812473f792891ad34 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 29 Dec 2011 12:57:11 -0800 Subject: [PATCH] Add Bug#. --- src/ChangeLog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 6c0185b7386..4c62a9d0e82 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,13 +1,13 @@ 2011-12-29 Paul Eggert - emacs: fix an auto-save permissions race condition + emacs: fix an auto-save permissions race condition (Bug#10400) * fileio.c (auto_saving_dir_umask): New static var. (Fmake_directory_internal): Use it. (do_auto_save_make_dir): Set it, instead of invoking chmod after creating the directory. The old code temporarily assigns too-generous permissions to the directory. (do_auto_save_eh): Clear it. - (Fdo_auto_save): Catch all errrors, not just file errors, so + (Fdo_auto_save): Catch all errors, not just file errors, so that the var is always cleared. 2011-12-28 Kenichi Handa -- 2.39.2