Commit b9110d6a authored by Paul Eggert's avatar Paul Eggert

Add Bug#.

parent 09450bae
2011-12-29 Paul Eggert <eggert@cs.ucla.edu>
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 <handa@m17n.org>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment