]> git.eshelyaron.com Git - emacs.git/commit
Avoid some GC when locking/unlocking files
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 15 Aug 2024 19:58:19 +0000 (12:58 -0700)
committerEshel Yaron <me@eshelyaron.com>
Fri, 16 Aug 2024 14:04:41 +0000 (16:04 +0200)
commitfbe4cc5dee76fedcf0a16d8055baeab8a39e055d
treedd0293b1bee6d9f7faaf1c1a80501d1986f78bf7
parentfbc7562de440d8d8474caa9dd4420cd563ca7750
Avoid some GC when locking/unlocking files

* src/filelock.c (lock_file_1, current_lock_owner):
Don’t possibly invoke the garbage collector when
comparing lock file contents to host names.

(cherry picked from commit 4b6b9a7acdc4f7d0594caaaa382e2e633f8f1225)
src/filelock.c