From 125fc70153546854c83a896634a56f4c47aca6e6 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Sun, 5 May 2024 19:54:07 +0200 Subject: [PATCH] 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) --- lisp/net/tramp.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5