]> git.eshelyaron.com Git - emacs.git/commit
Make make_lock_file_name more robust
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 7 Jul 2021 20:15:42 +0000 (22:15 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 7 Jul 2021 20:15:47 +0000 (22:15 +0200)
commite762864b9d501cfbc15fd20f403fc435bbdc580e
treea4dfe53f2b951256dd59e816eedec2ba934b79d4
parentfadfc55db1179712049077b2c195669687bf54dd
Make make_lock_file_name more robust

* src/filelock.c (make_lock_file_name): Protect against the
make-lock-file-name not being defined.
(lock_file, unlock_file_body, Ffile_locked_p): Return early if not
defined.
src/filelock.c