From 9fd4058fbfad7f6848af4cf70f5e744daf3145e9 Mon Sep 17 00:00:00 2001 From: espie Date: Mon, 30 Jan 2023 18:18:41 +0000 Subject: [PATCH] also tweak the lock names to end in .lock so that they can't get confused with core dumps ;) --- infrastructure/lib/DPB/Locks.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infrastructure/lib/DPB/Locks.pm b/infrastructure/lib/DPB/Locks.pm index 46382b23ad1..916e0cdd8e0 100644 --- a/infrastructure/lib/DPB/Locks.pm +++ b/infrastructure/lib/DPB/Locks.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: Locks.pm,v 1.53 2023/01/25 13:53:48 espie Exp $ +# $OpenBSD: Locks.pm,v 1.54 2023/01/30 18:18:41 espie Exp $ # # Copyright (c) 2010-2013 Marc Espie # @@ -290,7 +290,7 @@ sub build_lockname { my ($self, $f) = @_; $f =~ tr|/|.|; - return "$self->{lockdir}/$f"; + return "$self->{lockdir}/$f.lock"; } sub lockname