Commit 33bae690 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(lock_file): Do nothing if purifying.

parent 0846761d
......@@ -545,6 +545,12 @@ lock_file (fn)
register char *lfname, *locker;
lock_info_type lock_info;
/* Don't do locking while dumping Emacs.
Uncompressing wtmp files uses call-process, which does not work
in an uninitialized Emacs. */
if (! NILP (Vpurify_flag))
orig_fn = fn;
fn = Fexpand_file_name (fn, Qnil);
encoded_fn = ENCODE_FILE (fn);
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