Mercurial > emacs
comparison src/filelock.c @ 24949:1dfff6fa0f05 EMACS_20_4
(lock_file): Do nothing if purifying.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 14 Jul 1999 16:00:57 +0000 |
parents | 28e022c50e4f |
children | a3b19ebb46f9 |
comparison
equal
deleted
inserted
replaced
24948:970c0b904d35 | 24949:1dfff6fa0f05 |
---|---|
543 { | 543 { |
544 register Lisp_Object attack, orig_fn, encoded_fn; | 544 register Lisp_Object attack, orig_fn, encoded_fn; |
545 register char *lfname, *locker; | 545 register char *lfname, *locker; |
546 lock_info_type lock_info; | 546 lock_info_type lock_info; |
547 | 547 |
548 /* Don't do locking while dumping Emacs. | |
549 Uncompressing wtmp files uses call-process, which does not work | |
550 in an uninitialized Emacs. */ | |
551 if (! NILP (Vpurify_flag)) | |
552 return; | |
553 | |
548 orig_fn = fn; | 554 orig_fn = fn; |
549 fn = Fexpand_file_name (fn, Qnil); | 555 fn = Fexpand_file_name (fn, Qnil); |
550 encoded_fn = ENCODE_FILE (fn); | 556 encoded_fn = ENCODE_FILE (fn); |
551 | 557 |
552 /* Create the name of the lock-file for file fn */ | 558 /* Create the name of the lock-file for file fn */ |