From: Michael Albinus Date: Sun, 5 May 2024 17:54:07 +0000 (+0200) Subject: Fix lock-file format in Tramp X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=125fc70153546854c83a896634a56f4c47aca6e6;p=emacs.git Fix lock-file format in Tramp * lisp/net/tramp.el (tramp-lock-file-info-regexp): BOOT_TIME can be negative. (Bug#70415) (cherry picked from commit 6f16ef1c04c1ab3524eab6bb98376afc50a6078b) --- diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index 988c9396f60..534839a0064 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el @@ -4537,7 +4537,7 @@ Do not set it manually, it is used buffer-local in `tramp-get-lock-pid'.") (rx bos (group (+ nonl)) "@" (group (+ nonl)) "." (group (+ digit)) - (? ":" (+ digit)) eos) + (? ":" (? "-") (+ digit)) eos) "The format of a lock file.") (defun tramp-handle-file-locked-p (file)