From 1f49717b049fb6bcab868b75a866224a46db039f Mon Sep 17 00:00:00 2001 From: ajt <> Date: Sun, 27 Oct 2002 13:40:17 -0800 Subject: [PATCH] [project @ 2002-10-27 13:40:17 by ajt] lockreadbug: don't look for bugs in spool/db, look for them in spool/db-h --- scripts/errorlib.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/errorlib.in b/scripts/errorlib.in index 19a590b9..d4256029 100755 --- a/scripts/errorlib.in +++ b/scripts/errorlib.in @@ -1,5 +1,5 @@ # -*- perl -*- -# $Id: errorlib.in,v 1.9 2002/10/20 13:21:15 cjwatson Exp $ +# $Id: errorlib.in,v 1.10 2002/10/27 13:40:17 ajt Exp $ sub F_SETLK { 6; } sub F_WRLCK{ 1; } $flockstruct= 'sslll'; # And there ought to be something for this too. @@ -28,7 +28,8 @@ sub lockreadbugmerge { sub lockreadbug { local ($lref) = @_; &filelock("lock/$lref"); - if (!open(S,"db/$lref.status")) { &unfilelock; return 0; } + my $hash = get_hashname($lref); + if (!open(S,"db-h/$hash/$lref.status")) { &unfilelock; return 0; } chop($s_originator= ); chop($s_date= ); chop($s_subject= ); -- 2.39.5