From 51ad28535bcc0bddf55b8d763bd2a07f146c961f Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Tue, 13 Mar 2012 15:16:56 -0700 Subject: [PATCH] unlock nextnumber after overwriting --- Debbugs/Status.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Debbugs/Status.pm b/Debbugs/Status.pm index e70643f..0d97a32 100644 --- a/Debbugs/Status.pm +++ b/Debbugs/Status.pm @@ -547,6 +547,7 @@ sub new_bug { close $nn_fh; overwritefile("nextnumber", ($nn+1)."\n"); + unfilelock(); my $nn_hash = get_hashname($nn); use IO::File; my $t_fh = IO::File->new("/home/don/temp.txt",'a') or die "Unable to open ~don/temp.txt for writing: $!"; -- 2.39.2